Page 1 of 1

Exit status 255

Posted: Sun Jan 23, 2005 9:33 am
by ptrck
Hi,
I've installed 1.20.0, but I get a broken image when I try to view a monitor. This error seems to occur a bit on the forums, but I couldnt find a successful resolution.

/tmp/zmdc.log gives this repeated:

Code: Select all

Starting pending process, zmc -d 4
'zmc -d 4' started at 05/01/23 17:13:15
'zmc -d 4' starting at 05/01/23 17:13:15, pid = 15547
'zmc -d 4' crashed at 05/01/23 17:13:15, exit status 255
Command 'zmc -d 4' removed from pending list at 05/01/23 17:13:22
'zmc -d 4' started at 05/01/23 17:13:22
'zmc -d 4' starting at 05/01/23 17:13:22, pid = 15558
'zmc -d 4' crashed at 05/01/23 17:13:22, exit status 255
'zmc -d 4' started at 05/01/23 17:13:22
'zmc -d 4' starting at 05/01/23 17:13:22, pid = 15560
'zmc -d 4' crashed at 05/01/23 17:13:22, exit status 255
Can't find process with command of 'zma -m 1
There are no other /tmp/zm*.log files.


/var/log/messages gives this over and over:

Code: Select all

Jan 23 17:13:22 server zmc_d4[15560]: INF [Debug Level = 0, Debug Log = <none>]
Jan 23 17:13:27 server zmc_d4[15573]: INF [Debug Level = 0, Debug Log = <none>]
Jan 23 17:13:37 server zmc_d4[15587]: INF [Debug Level = 0, Debug Log = <none>]
My capture card is a Conexant BT878A, using the Linux 2.6.7 video4linux/bttv drivers.

The kernel seems to be detecting the card and assigning it /dev/vdi0 and /dev/video0. I linked /dev/vdi0 to /dev/video4 so I could try zoneminder with that as the device, with no luck.

Any assistance would be greatly appreciated.

Thanks in advance,
Patrick

Posted: Sun Jan 23, 2005 11:15 am
by zoneminder
Please include what your distribution is, otherwise it's hard to tell what goes where logs-wise. On some distros errors actually go to a different file in /var/logs/ so it's probably worth grepping for ERR in all files in tat directory.

Phil

Posted: Mon Jan 24, 2005 8:46 am
by ptrck
Distro is Slackware 10.

aha. Grepping for "ERR" gives a heap of errors in syslog:

Firstly,

Code: Select all

syslog:Jan 23 16:45:10 server zmc_d0[15120]: ERR [Failed to open video device /dev/video0: No such device]
appears about 7 times, probably because I hadnt inserted the module correctly at that point.

Then we get a heap of

Code: Select all

syslog:Jan 23 16:46:38 server zmu[15197]: ERR [Can't shmget, probably not enough shared memory space free: Invalid ar
gument]
which seem to stop after a while; I had a look at the README and tried dropping the buffer to see if it made a difference.

Then they stop, and we get this:

Code: Select all

syslog:Jan 23 16:53:45 server zmc_d4[15396]: ERR [Could not mmap video: Invalid argument]
then this:

Code: Select all

syslog:Jan 23 16:53:50 server zmu[15411]: ERR [Shared memory not initialised by capture daemon]
then some more 'could not mmap video' then a few

Code: Select all

syslog:Jan 23 17:15:30 server zmc_d0[15617]: ERR [No monitors found]
then finally

Code: Select all

syslog:Jan 23 17:23:58 server zmc_d4[15643]: ERR [Could not mmap video: Invalid argument]
syslog:Jan 23 17:25:30 server zmc_d0[15646]: ERR [No monitors found]
alternating over and over again (roughly once every ten minutes) until the end of the output.

Hope that makes sense.
-Patrick