Hi There,
I'm trying to set up zoneminder on amd64 Ubuntu Gutsy server.
My camera works fine in xawtv (and I can capture jpeg images from it ok) It is a standard b878 pci capture card (4 channels).
I have done apt-get install zoneminder and followed this little guide from the zm wiki:
http://www.zoneminder.com/wiki/index.ph ... rom_a_.deb
//localhost/zm brings up the web interface, but i get no images I've scoured the net and tried various things, but no luck.
If it try zmc --device /dev/video0 it just returns immediately... so something is going wrong with the vid capture?
Looking in my /var/log/messages file I see a load of '[Restarting capture daemon for cam1, shared memory not valid' from zmwatch.
Can anyone help me please!
Oct 28 10:02:01 raiden syslogd 1.4.1#21ubuntu3: restart.
Oct 28 10:02:04 raiden zmwatch[5618]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 10:02:04 raiden zmdc[5585]: INF ['zmc -d /dev/video' starting at 07/10/28 10:02:04, pid = 6397]
Oct 28 10:02:04 raiden zmdc[6397]: INF ['zmc -d /dev/video' started at 07/10/28 10:02:04]
Oct 28 10:02:04 raiden zmwatch[5618]: INF ['zmc -d /dev/video' starting at 07/10/28 10:02:04, pid = 6397]
Oct 28 10:02:04 raiden zmc_dvideo[6397]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 10:02:14 raiden zmwatch[5618]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 10:02:14 raiden zmdc[5585]: INF ['zmc -d /dev/video' starting at 07/10/28 10:02:14, pid = 6399]
Oct 28 10:02:14 raiden zmdc[6399]: INF ['zmc -d /dev/video' started at 07/10/28 10:02:14]
Oct 28 10:02:14 raiden zmwatch[5618]: INF ['zmc -d /dev/video' starting at 07/10/28 10:02:14, pid = 6399]
Oct 28 10:02:14 raiden zmc_dvideo[6399]: INF [Debug Level = 0, Debug Log = <none>]
.
.
.
Zoneminder + Ubuntu Gutsy amd64 server
Some further info from my zmdc.log:
10/28/07 09:51:53.471945 zmdc[5585].INF [Server starting at 07/10/28 09:51:53]
10/28/07 09:51:56.790517 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:51:56, pid = 5607]
10/28/07 09:51:56.871784 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:51:56.872557 zmdc[5585].INF [Starting pending process, zmc -d /dev/video]
10/28/07 09:51:56.879931 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:51:56, pid = 5609]
10/28/07 09:51:56.896310 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:51:57.050247 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:51:57, pid = 5610]
10/28/07 09:51:57.147685 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
10/28/07 09:51:57.148258 zmdc[5585].INF [Starting pending process, zma -m 1]
10/28/07 09:51:57.156144 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:51:57, pid = 5612]
10/28/07 09:51:57.189876 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
10/28/07 09:51:57.310072 zmdc[5585].INF ['zmfilter.pl' starting at 07/10/28 09:51:57, pid = 5614]
10/28/07 09:51:57.568565 zmdc[5585].INF ['zmaudit.pl -c' starting at 07/10/28 09:51:57, pid = 5616]
10/28/07 09:51:57.988754 zmdc[5585].INF ['zmwatch.pl' starting at 07/10/28 09:51:57, pid = 5618]
10/28/07 09:52:01.029546 zmdc[5585].INF [Starting pending process, zmc -d /dev/video]
10/28/07 09:52:01.037815 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:52:01, pid = 5768]
10/28/07 09:52:01.052903 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:52:02.069521 zmdc[5585].INF [Starting pending process, zma -m 1]
10/28/07 09:52:02.077722 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:52:02, pid = 5797]
10/28/07 09:52:02.099147 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
10/28/07 09:51:53.471945 zmdc[5585].INF [Server starting at 07/10/28 09:51:53]
10/28/07 09:51:56.790517 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:51:56, pid = 5607]
10/28/07 09:51:56.871784 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:51:56.872557 zmdc[5585].INF [Starting pending process, zmc -d /dev/video]
10/28/07 09:51:56.879931 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:51:56, pid = 5609]
10/28/07 09:51:56.896310 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:51:57.050247 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:51:57, pid = 5610]
10/28/07 09:51:57.147685 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
10/28/07 09:51:57.148258 zmdc[5585].INF [Starting pending process, zma -m 1]
10/28/07 09:51:57.156144 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:51:57, pid = 5612]
10/28/07 09:51:57.189876 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
10/28/07 09:51:57.310072 zmdc[5585].INF ['zmfilter.pl' starting at 07/10/28 09:51:57, pid = 5614]
10/28/07 09:51:57.568565 zmdc[5585].INF ['zmaudit.pl -c' starting at 07/10/28 09:51:57, pid = 5616]
10/28/07 09:51:57.988754 zmdc[5585].INF ['zmwatch.pl' starting at 07/10/28 09:51:57, pid = 5618]
10/28/07 09:52:01.029546 zmdc[5585].INF [Starting pending process, zmc -d /dev/video]
10/28/07 09:52:01.037815 zmdc[5585].INF ['zmc -d /dev/video' starting at 07/10/28 09:52:01, pid = 5768]
10/28/07 09:52:01.052903 zmdc[5585].ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
10/28/07 09:52:02.069521 zmdc[5585].INF [Starting pending process, zma -m 1]
10/28/07 09:52:02.077722 zmdc[5585].INF ['zma -m 1' starting at 07/10/28 09:52:02, pid = 5797]
10/28/07 09:52:02.099147 zmdc[5585].ERR ['zma -m 1' exited abnormally, exit status 255]
Hi Lee - yes I've run zmfix -a...
I re-installed ubuntu 7.10 i386 version just in case it was an amd64 issue, and followed the instructions for installing Peter's .deb file:
http://www.zoneminder.com/forums/viewtopic.php?t=9747
I also followed your further instructions re. installing cambozola and running zmfix.
I still got the same issue!!
I have now (just this minute) gotten it to work though!!
I noticed in the syslogs that zmc was trying to use /dev/video, and i didn't actually have /dev/video only /dev/video0, so i made a symbolic link /dev/video pointing to /dev/video0 and it sprang to life! - Question is, is ij just an issue with Gutsy? Or does everyone else get this issue but they're a lot quicker than me to spot it and fix it...
user@raiden:/usr/bin$ tail /var/log/syslog
Oct 28 18:23:39 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:39, pid = 8038]
Oct 28 18:23:39 raiden zmc_dvideo[8038]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:23:39 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Oct 28 18:23:49 raiden zmwatch[7372]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 18:23:49 raiden zmdc[8040]: INF ['zmc -d /dev/video' started at 07/10/28 18:23:49]
Oct 28 18:23:49 raiden zmdc[7340]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:49, pid = 8040]
Oct 28 18:23:49 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:49, pid = 8040]
Oct 28 18:23:49 raiden zmc_dvideo[8040]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:23:49 raiden zmc_dvideo[8040]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:23:49 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
After creating /dev/video:
user@raiden:/usr/bin$ tail /var/log/syslog
Oct 28 18:24:51 raiden zmc_dvideo[8055]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:24:51 raiden zmc_dvideo[8055]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:24:51 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Oct 28 18:25:01 raiden zmwatch[7372]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 18:25:01 raiden zmdc[8059]: INF ['zmc -d /dev/video' started at 07/10/28 18:25:01]
Oct 28 18:25:01 raiden zmdc[7340]: INF ['zmc -d /dev/video' starting at 07/10/28 18:25:01, pid = 8059]
Oct 28 18:25:01 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:25:01, pid = 8059]
Oct 28 18:25:01 raiden zmc_dvideo[8059]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:25:01 raiden zmc_dvideo[8059]: INF [Starting Capture]
Oct 28 18:25:41 raiden zmc_dvideo[8059]: INF [cam1: 1000 - Capturing at 25.00 fps]
user@raiden:/usr/bin$
I re-installed ubuntu 7.10 i386 version just in case it was an amd64 issue, and followed the instructions for installing Peter's .deb file:
http://www.zoneminder.com/forums/viewtopic.php?t=9747
I also followed your further instructions re. installing cambozola and running zmfix.
I still got the same issue!!
I have now (just this minute) gotten it to work though!!
I noticed in the syslogs that zmc was trying to use /dev/video, and i didn't actually have /dev/video only /dev/video0, so i made a symbolic link /dev/video pointing to /dev/video0 and it sprang to life! - Question is, is ij just an issue with Gutsy? Or does everyone else get this issue but they're a lot quicker than me to spot it and fix it...
user@raiden:/usr/bin$ tail /var/log/syslog
Oct 28 18:23:39 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:39, pid = 8038]
Oct 28 18:23:39 raiden zmc_dvideo[8038]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:23:39 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Oct 28 18:23:49 raiden zmwatch[7372]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 18:23:49 raiden zmdc[8040]: INF ['zmc -d /dev/video' started at 07/10/28 18:23:49]
Oct 28 18:23:49 raiden zmdc[7340]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:49, pid = 8040]
Oct 28 18:23:49 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:23:49, pid = 8040]
Oct 28 18:23:49 raiden zmc_dvideo[8040]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:23:49 raiden zmc_dvideo[8040]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:23:49 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
After creating /dev/video:
user@raiden:/usr/bin$ tail /var/log/syslog
Oct 28 18:24:51 raiden zmc_dvideo[8055]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:24:51 raiden zmc_dvideo[8055]: ERR [Failed to open video device /dev/video: No such file or directory]
Oct 28 18:24:51 raiden zmdc[7340]: ERR ['zmc -d /dev/video' exited abnormally, exit status 255]
Oct 28 18:25:01 raiden zmwatch[7372]: INF [Restarting capture daemon for cam1, shared memory not valid]
Oct 28 18:25:01 raiden zmdc[8059]: INF ['zmc -d /dev/video' started at 07/10/28 18:25:01]
Oct 28 18:25:01 raiden zmdc[7340]: INF ['zmc -d /dev/video' starting at 07/10/28 18:25:01, pid = 8059]
Oct 28 18:25:01 raiden zmwatch[7372]: INF ['zmc -d /dev/video' starting at 07/10/28 18:25:01, pid = 8059]
Oct 28 18:25:01 raiden zmc_dvideo[8059]: INF [Debug Level = 0, Debug Log = <none>]
Oct 28 18:25:01 raiden zmc_dvideo[8059]: INF [Starting Capture]
Oct 28 18:25:41 raiden zmc_dvideo[8059]: INF [cam1: 1000 - Capturing at 25.00 fps]
user@raiden:/usr/bin$
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
And a first . . .
If I've read your posts properly you rate two firsts (that I know of):
- The first person to install on Ubuntu from Universe (now that it's in there) rather than grabbing from me by ftp
The first person running my packaging on x86_64.
Re: And a first . . .
Hey! I told you about mine weeks ago. Of course he got his into production first! Mine is still on a bench awaiting more time from me. I may let you have a peek.PeterHoward wrote:If I've read your posts properly you rate two firsts (that I know of):Yay
- The first person to install on Ubuntu from Universe (now that it's in there) rather than grabbing from me by ftp
The first person running my packaging on x86_64.
Thank you Peter, what a fantastic job just installed on Ubuntu 7.10 after upgrading HD to 500G in approx. 5 minutes from Universe without a hitch, thank you.If I've read your posts properly you rate two firsts (that I know of):
The first person to install on Ubuntu from Universe (now that it's in there) rather than grabbing from me by ftp
The first person running my packaging on x86_64.
Ok, just to say that I have just re-installed amd64 7.10 Gutsy server, and installed zoneminder from scratch following:
http://www.zoneminder.com/wiki/index.ph ... rom_a_.deb
and it worked perfectly first time
One question, I installed cambozola and enabled it as described - how do I know it is working? I didn't notice any difference...?
Thanks to all for zoneminder - it is fantastic!
http://www.zoneminder.com/wiki/index.ph ... rom_a_.deb
and it worked perfectly first time
One question, I installed cambozola and enabled it as described - how do I know it is working? I didn't notice any difference...?
Thanks to all for zoneminder - it is fantastic!
Look at in in Internet Explorer. If the picture move, it is working. If you need a way to do this in Linux, try http://www.tatanka.com.br/ies4linux/page/Main_Page