Using Remote ZM streams as a source for a central zm server
Posted: Thu Jun 09, 2005 8:19 pm
Hi All,
I am on Slackware 9.1, NO video card drivers cause I am trying to use remote cameras (zm streams) only. V4L and sound are both in as modules. Hardware is PIII 2 gig with 256 meg ram. I have installed ZM successfully (like i have a few times with wired cams) and set up a remote monitor with the following info:
cctv.fp.co.uk
port 80
/cgi-bin/zms?mode=jpeg&monitor=3&scale=100&maxfps=10&user=admin&pass=adminpass
When I look at a monitor i get a broken image, if i go to still view I get a black screen.
I want to stream 4 ZM streams out down and ADSL line to a remote server so that if someone walks in and steals the box they will be captured and recorded.
I have this setup working on my home slackware 9.1 box from the same remote ZM streams but when I have tried to roll it out to the main server it hasn't worked.
Here is some useful stuff from the box that does NOT work.
lsmod
soundcore 3812 0 (unused)
i2c-algo-bit 7752 0 (unused)
i2c-core 13316 0 [i2c-algo-bit]
videodev 6592 0
8139too 14536 1
crc32 2880 0 [8139too]
agpgart 36992 0 (unused)
also this is the result of tail -f /var/log/messages and tail -f /tmp/zm* when I restart Zm on the server.
root@brian:~#
==> /tmp/zmpkg.log <==
Command: restart
Executing: /usr/local/bin/zmdc.pl check
Executing: /usr/local/bin/zmdc.pl shutdown
==> /tmp/zmdc.log <==
'zmc -m 3' stopping at 05/06/09 21:10:29
'zmc -m 3' died at 05/06/09 21:10:29
'zmfilter.pl ' stopping at 05/06/09 21:10:29
'zmfilter.pl ' died at 05/06/09 21:10:29, signal 14
'zmc -m 2' stopping at 05/06/09 21:10:29
'zmc -m 2' died at 05/06/09 21:10:29
'zmwatch.pl ' stopping at 05/06/09 21:10:29
'zmwatch.pl ' died at 05/06/09 21:10:29, signal 14
'zmaudit.pl -d 900 -y' stopping at 05/06/09 21:10:29
'zmaudit.pl -d 900 -y' died at 05/06/09 21:10:29, signal 14
Jun 9 21:10:29 brian zmc_m3[18009]: INF [Got TERM signal, exiting]
Jun 9 21:10:29 brian zmc_m3[18009]: ERR [Select error: Interrupted system call]
Jun 9 21:10:29 brian zmc_m2[17998]: INF [Got TERM signal, exiting]
Jun 9 21:10:29 brian zmc_m2[17998]: ERR [Select error: Interrupted system call]
Can't find child with pid of '18057'
Server shutdown at 05/06/09 21:10:39
Server starting at 05/06/09 21:10:40
tail: /tmp/zmdc.sock: No such file or directory
==> /tmp/zmpkg.log <==
Removing shared memory
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
tail: /tmp/zmdc.sock: No such device or address
Executing: /usr/local/bin/zmdc.pl start zmc -m 3
Jun 9 21:10:43 brian zmc_m3[18096]: INF [Debug Level = 0, Debug Log = <none>]
==> /tmp/zmdc.log <==
'zmc -m 3' starting at 05/06/09 21:10:43, pid = 18096
'zmc -m 3' started at 05/06/09 21:10:43
'zmc -m 2' starting at 05/06/09 21:10:43, pid = 18100
'zmc -m 2' started at 05/06/09 21:10:43
'zmfilter.pl' starting at 05/06/09 21:10:44, pid = 18104
'zmfilter.pl' started at 05/06/09 21:10:44
==> /tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmc -m 2
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Jun 9 21:10:43 brian zmc_m3[18096]: INF [Starting Capture]
Jun 9 21:10:43 brian zmc_m2[18100]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 21:10:43 brian zmc_m2[18100]: INF [Starting Capture]
==> /tmp/zmdc.log <==
'zmaudit.pl -d 900 -y' starting at 05/06/09 21:10:44, pid = 18108
'zmaudit.pl -d 900 -y' started at 05/06/09 21:10:44
'zmwatch.pl' starting at 05/06/09 21:10:45, pid = 18113
'zmwatch.pl' started at 05/06/09 21:10:45
==> /tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
==> /tmp/zmwatch.log <==
Watchdog starting at 05/06/09 21:10:45
Watchdog pausing for 30 seconds
==> /tmp/zmfilter.log <==
Scanning for events
This
ERR [Select error - various things...
seems to point to a problem - i have done the dumb thing and checked mysql and that seems to be working OK. Any clues?
I can't think why one box works and one doesn't. Well I can think - it is because something is setup/installed differently, but what?
Thanks
Pete
I am on Slackware 9.1, NO video card drivers cause I am trying to use remote cameras (zm streams) only. V4L and sound are both in as modules. Hardware is PIII 2 gig with 256 meg ram. I have installed ZM successfully (like i have a few times with wired cams) and set up a remote monitor with the following info:
cctv.fp.co.uk
port 80
/cgi-bin/zms?mode=jpeg&monitor=3&scale=100&maxfps=10&user=admin&pass=adminpass
When I look at a monitor i get a broken image, if i go to still view I get a black screen.
I want to stream 4 ZM streams out down and ADSL line to a remote server so that if someone walks in and steals the box they will be captured and recorded.
I have this setup working on my home slackware 9.1 box from the same remote ZM streams but when I have tried to roll it out to the main server it hasn't worked.
Here is some useful stuff from the box that does NOT work.
lsmod
soundcore 3812 0 (unused)
i2c-algo-bit 7752 0 (unused)
i2c-core 13316 0 [i2c-algo-bit]
videodev 6592 0
8139too 14536 1
crc32 2880 0 [8139too]
agpgart 36992 0 (unused)
also this is the result of tail -f /var/log/messages and tail -f /tmp/zm* when I restart Zm on the server.
root@brian:~#
==> /tmp/zmpkg.log <==
Command: restart
Executing: /usr/local/bin/zmdc.pl check
Executing: /usr/local/bin/zmdc.pl shutdown
==> /tmp/zmdc.log <==
'zmc -m 3' stopping at 05/06/09 21:10:29
'zmc -m 3' died at 05/06/09 21:10:29
'zmfilter.pl ' stopping at 05/06/09 21:10:29
'zmfilter.pl ' died at 05/06/09 21:10:29, signal 14
'zmc -m 2' stopping at 05/06/09 21:10:29
'zmc -m 2' died at 05/06/09 21:10:29
'zmwatch.pl ' stopping at 05/06/09 21:10:29
'zmwatch.pl ' died at 05/06/09 21:10:29, signal 14
'zmaudit.pl -d 900 -y' stopping at 05/06/09 21:10:29
'zmaudit.pl -d 900 -y' died at 05/06/09 21:10:29, signal 14
Jun 9 21:10:29 brian zmc_m3[18009]: INF [Got TERM signal, exiting]
Jun 9 21:10:29 brian zmc_m3[18009]: ERR [Select error: Interrupted system call]
Jun 9 21:10:29 brian zmc_m2[17998]: INF [Got TERM signal, exiting]
Jun 9 21:10:29 brian zmc_m2[17998]: ERR [Select error: Interrupted system call]
Can't find child with pid of '18057'
Server shutdown at 05/06/09 21:10:39
Server starting at 05/06/09 21:10:40
tail: /tmp/zmdc.sock: No such file or directory
==> /tmp/zmpkg.log <==
Removing shared memory
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
tail: /tmp/zmdc.sock: No such device or address
Executing: /usr/local/bin/zmdc.pl start zmc -m 3
Jun 9 21:10:43 brian zmc_m3[18096]: INF [Debug Level = 0, Debug Log = <none>]
==> /tmp/zmdc.log <==
'zmc -m 3' starting at 05/06/09 21:10:43, pid = 18096
'zmc -m 3' started at 05/06/09 21:10:43
'zmc -m 2' starting at 05/06/09 21:10:43, pid = 18100
'zmc -m 2' started at 05/06/09 21:10:43
'zmfilter.pl' starting at 05/06/09 21:10:44, pid = 18104
'zmfilter.pl' started at 05/06/09 21:10:44
==> /tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmc -m 2
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Jun 9 21:10:43 brian zmc_m3[18096]: INF [Starting Capture]
Jun 9 21:10:43 brian zmc_m2[18100]: INF [Debug Level = 0, Debug Log = <none>]
Jun 9 21:10:43 brian zmc_m2[18100]: INF [Starting Capture]
==> /tmp/zmdc.log <==
'zmaudit.pl -d 900 -y' starting at 05/06/09 21:10:44, pid = 18108
'zmaudit.pl -d 900 -y' started at 05/06/09 21:10:44
'zmwatch.pl' starting at 05/06/09 21:10:45, pid = 18113
'zmwatch.pl' started at 05/06/09 21:10:45
==> /tmp/zmpkg.log <==
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
==> /tmp/zmwatch.log <==
Watchdog starting at 05/06/09 21:10:45
Watchdog pausing for 30 seconds
==> /tmp/zmfilter.log <==
Scanning for events
This
ERR [Select error - various things...
seems to point to a problem - i have done the dumb thing and checked mysql and that seems to be working OK. Any clues?
I can't think why one box works and one doesn't. Well I can think - it is because something is setup/installed differently, but what?
Thanks
Pete