Hi,
I installed ZM on a Debian-Wheezy-Server - it seems it works well . Now I want to manage ZM remote from another PC (Windows): I can start the ZM-Console remote with 'http://myserver-IP/zm', the console does work, I can set options, I see the live-video when I chose a cam ('name' in the main window) - but when I try to view an event, no event(jpeg)-stream is shown.
Iceweasel (= Firefox) on the Debian-Wheezy-Server can handle this streams - why not Firefox on the Windows-PC over the network?
Thx for a hint how I can get working the event-stream on the remote-PC.
Centaurus17
Remote ZM-Console - no event-stream / path ZMS ?
-
- Posts: 47
- Joined: Fri Sep 06, 2013 7:44 am
- Location: Europe/Austria
Remote ZM-Console - no event-stream / path ZMS ?
Last edited by Centaurus17 on Mon Jan 20, 2014 7:58 am, edited 2 times in total.
Re: Remote administration - no event-stream
I just found below info on the forum - but only because I suspected AUTH. This should be posted sticky in large letters.
Apparently when you turn on OPT_USE_AUTH when using cambozola it breaks due to the Options ----> System ----> AUTH_RELAY not being set to "none" for whatever reason.
I turned on OPT_USE_AUTH and it broke video. Then I found this post and tried AUTH_RELAY = none with OPT_USE_AUTH and it seems to work.
Apparently when you turn on OPT_USE_AUTH when using cambozola it breaks due to the Options ----> System ----> AUTH_RELAY not being set to "none" for whatever reason.
I turned on OPT_USE_AUTH and it broke video. Then I found this post and tried AUTH_RELAY = none with OPT_USE_AUTH and it seems to work.
-
- Posts: 47
- Joined: Fri Sep 06, 2013 7:44 am
- Location: Europe/Austria
Re: Remote administration - no event-stream
Thanks for answering. But I cannot follow you - where should be cambozola and his options? On the Wheezy-(ZM)-Server I did not see any service 'cambozola' (sorry, I'm a newbie).nixnooi wrote:Apparently when you turn on OPT_USE_AUTH when using cambozola ...
2nd try to explain: I have
- One server on Wheezy with ZM - let us call him Wheezy-1.
- Then I have (for testing) a second pc with Wheezy with ZM installed - Wheezy-2.
- And then I have a Windows-PC.
At least on Wheezy-1 should be all necessary things installed to show the events-JPEG-Stream - because the event-datas from the local ZM are shown. Why not the events from the remote system?
Thx
Centaurus17
ADDITIONAL: sorry - ich have to correct: on Wheezy-2 (local) is the event-stream also not shown! There must be another problem ... maybe in connection with setting a path on this machine(?).
Last edited by Centaurus17 on Sun Jan 19, 2014 10:58 am, edited 1 time in total.
-
- Posts: 47
- Joined: Fri Sep 06, 2013 7:44 am
- Location: Europe/Austria
Re: Remote administration - no event-stream
Summary at Wheezy-2: live view ist OK, events are logged - OK, but no events can be shown. I found in the syslog:
Any idea how to fix it? I hope when this is fixed the remote viewing of the events will work too.
In the path I have '/mnt/WDAV25/zoneminder_events' ... and the files are there! Why zms will open '/usr/share/zoneminder//mnt/WDAV25/zoneminder_events....' ... ???
Thx
Centaurus17
Code: Select all
Jan 19 11:51:25 debianserver zms[5972]: ERR [Can't open /usr/share/zoneminder//mnt/WDAV25/zoneminder_events/1/14/01/17/20/17/17/001-capture.jpg: No such file or directory]
Jan 19 11:51:28 debianserver web_php[2586]: ERR [socket_sendto( /tmp/zm/zms-520794s.sock ) failed: No such file or directory]
In the path I have '/mnt/WDAV25/zoneminder_events' ... and the files are there! Why zms will open '/usr/share/zoneminder//mnt/WDAV25/zoneminder_events....' ... ???
Thx
Centaurus17
-
- Posts: 47
- Joined: Fri Sep 06, 2013 7:44 am
- Location: Europe/Austria
Re: Remote ZM-Console - no event-stream / path ZMS ?
I changed the thread-title - the missing event-stream causes in the ZMS-path-setting.
In the options I setted 'DIR_EVENTS' to a mounted HDD - the recording does work. The reading with ZMS not - see posting/ERR-log before. I did not find why ZMS cannot read the ZM-Option 'DIR_EVENTS' or where to set the path for ZMS - in the meantime I did following: I swithed back the setting for 'DIR_EVENTS' to the original 'events' - and instead of /usr/share/zoneminder/events I placed a symbolic link to my mounted HDD. Now it works.
I know this is a 'workaround' - if anybody gives a hint, how the path for ZMS should be set correctly...?
Thx
In the options I setted 'DIR_EVENTS' to a mounted HDD - the recording does work. The reading with ZMS not - see posting/ERR-log before. I did not find why ZMS cannot read the ZM-Option 'DIR_EVENTS' or where to set the path for ZMS - in the meantime I did following: I swithed back the setting for 'DIR_EVENTS' to the original 'events' - and instead of /usr/share/zoneminder/events I placed a symbolic link to my mounted HDD. Now it works.
I know this is a 'workaround' - if anybody gives a hint, how the path for ZMS should be set correctly...?
Thx
Re: Remote ZM-Console - no event-stream / path ZMS ?
According to this - you did the right thing
ZM_DIR_EVENTS
This is the path to the events directory where all the event images and other miscellaneous files are stored. It is normally given as a subdirectory of the web directory you have specified earlier however if disk space is tight it can reside on another partition in which case you should create a link from that area to the path you give here.
It seems the code only allows you to specify a sub directory of the expected /usr/share/zoneminder/ - so you can not send the stuff to an entirely different mount point. You did good! You created a link from that area to the path you give here. Well done.
ZM_DIR_EVENTS
This is the path to the events directory where all the event images and other miscellaneous files are stored. It is normally given as a subdirectory of the web directory you have specified earlier however if disk space is tight it can reside on another partition in which case you should create a link from that area to the path you give here.
It seems the code only allows you to specify a sub directory of the expected /usr/share/zoneminder/ - so you can not send the stuff to an entirely different mount point. You did good! You created a link from that area to the path you give here. Well done.
-
- Posts: 47
- Joined: Fri Sep 06, 2013 7:44 am
- Location: Europe/Austria
Re: Remote ZM-Console - no event-stream / path ZMS ?
Thanks, nixnooi,