Trouble in cockpit


#1

Hi all

I couldn't open the cockpit 192.168.254.1:8080;but I can open 192.168.254.1.I may did wrong setting in cockpit.here is the log .could you help me?

rov@OpenROV:~$ cat /var/log/openrov.log

/opt/openrov/src/plugins/googletalk_ipregistration/index.js:61
var conn = new xmpp.Client({
^
ReferenceError: xmpp is not defined
at googletalk_ipregistraion (/opt/openrov/src/plugins/googletalk_ipregistrat ion/index.js:61:24)
at /opt/openrov/src/cockpit.js:259:38
at Array.forEach (native)
at /opt/openrov/src/cockpit.js:255:8
at Object.oncomplete (fs.js:107:15)

/opt/openrov/src/plugins/googletalk_ipregistration/index.js:61
var conn = new xmpp.Client({
^
ReferenceError: xmpp is not defined
at googletalk_ipregistraion (/opt/openrov/src/plugins/googletalk_ipregistrat ion/index.js:61:24)
at /opt/openrov/src/cockpit.js:259:38
at Array.forEach (native)
at /opt/openrov/src/cockpit.js:255:8
at Object.oncomplete (fs.js:107:15)

/opt/openrov/src/plugins/googletalk_ipregistration/index.js:61
var conn = new xmpp.Client({
^
ReferenceError: xmpp is not defined
at googletalk_ipregistraion (/opt/openrov/src/plugins/googletalk_ipregistrat ion/index.js:61:24)
at /opt/openrov/src/cockpit.js:259:38
at Array.forEach (native)
at /opt/openrov/src/cockpit.js:255:8
at Object.oncomplete (fs.js:107:15)
is where blackbox plugin code would execute in the node process.
Loading capestatus plugin.
This is where capestatus code would execute in the node process.
Loading compass plugin.
This is where compass plugin code would execute in the node process.
Loading diveprofile plugin.
This is where DiveProfile plugin code would execute in the node process.
Loading example plugin.
This is where plugin code would execute in the node process.
Loading flybywire plugin.
This is where FlyByWire plugin code would execute in the node process.
Loading fpscounter plugin.
This is where fpscounter plugin code would execute in the node process.
Loading googletalk_ipregistration plugin.
This is where googletalk_ipregistraion code would execute in the node process.
config { debug: true,
debug_commands: false,
production: true,
sample_freq: 20,
dead_zone: 10,
video_frame_rate: 10,
video_resolution: 'SXGA',
video_device: '/dev/video0',
video_port: 8090,
port: 8080,
serial: '/dev/ttyO1',
serial_baud: 115200,
preferences:
{ stores: { file: [Object], defaults: [Object] },
sources: [],
version: '0.6.9',
Argv: [Getter],
Env: [Getter],
File: [Getter],
Literal: [Getter],
Memory: [Getter],
key: [Function],
path: [Function],
loadFiles: [Function],
loadFilesSync: [Function],
formats: { json: [Object], ini: [Object] },
Provider: [Function] },
OpenROVCamera: './lib/OpenROVCamera',
OpenROVController: './lib/OpenROVController',
FirmwareInstaller: './lib/FirmwareInstaller',
Hardware: './lib/Hardware' }
info: socket.io started
Starting the script from /opt/openrov/src/linux to setup UART1...
initiating camera on
ensure beagle is at 100% cpu for this camera
Started listening on port: 8080
/dev/video0
spawning capture process...
emitted 'videoStarted'
camera started
Loading arduinofirmwareupload plugin.
This is where arduinofirmwareupload code would execute in the node process.
Loading blackbox plugin.
This is where blackbox plugin code would execute in the node process.
Loading capestatus plugin.
This is where capestatus code would execute in the node process.
Loading compass plugin.
This is where compass plugin code would execute in the node process.
Loading diveprofile plugin.
This is where DiveProfile plugin code would execute in the node process.
Loading example plugin.
This is where plugin code would execute in the node process.
Loading flybywire plugin.
This is where FlyByWire plugin code would execute in the node process.
Loading fpscounter plugin.
This is where fpscounter plugin code would execute in the node process.
Loading googletalk_ipregistration plugin.
This is where googletalk_ipregistraion code would execute in the node process.
config { debug: true,
debug_commands: false,
production: true,
sample_freq: 20,
dead_zone: 10,
video_frame_rate: 10,
video_resolution: 'SXGA',
video_device: '/dev/video0',
video_port: 8090,
port: 8080,
serial: '/dev/ttyO1',
serial_baud: 115200,
preferences:
{ stores: { file: [Object], defaults: [Object] },
sources: [],
version: '0.6.9',
Argv: [Getter],
Env: [Getter],
File: [Getter],
Literal: [Getter],
Memory: [Getter],
key: [Function],
path: [Function],
loadFiles: [Function],
loadFilesSync: [Function],
formats: { json: [Object], ini: [Object] },
Provider: [Function] },
OpenROVCamera: './lib/OpenROVCamera',
OpenROVController: './lib/OpenROVController',
FirmwareInstaller: './lib/FirmwareInstaller',
Hardware: './lib/Hardware' }
info: socket.io started
Starting the script from /opt/openrov/src/linux to setup UART1...
initiating camera on
ensure beagle is at 100% cpu for this camera
Started listening on port: 8080
/dev/video0
spawning capture process...
emitted 'videoStarted'
camera started
Loading arduinofirmwareupload plugin.
This is where arduinofirmwareupload code would execute in the node process.
Loading blackbox plugin.
This is where blackbox plugin code would execute in the node process.
Loading capestatus plugin.
This is where capestatus code would execute in the node process.
Loading compass plugin.
This is where compass plugin code would execute in the node process.
Loading diveprofile plugin.
This is where DiveProfile plugin code would execute in the node process.
Loading example plugin.
This is where plugin code would execute in the node process.
Loading flybywire plugin.
This is where FlyByWire plugin code would execute in the node process.
Loading fpscounter plugin.
This is where fpscounter plugin code would execute in the node process.
Loading googletalk_ipregistration plugin.
This is where googletalk_ipregistraion code would execute in the node process.
cockpit.js has exited after 3 restarts
rov@OpenROV:~$


#2

http://community.openrov.com/xn/detail/6365107:Comment:107639