zoneminder 1.22.3 no video shared memory error

Support and queries relating to all previous versions of ZoneMinder
Locked
rrk
Posts: 22
Joined: Sat Mar 11, 2006 10:17 pm

zoneminder 1.22.3 no video shared memory error

Post by rrk »

i seem to be missing something for shared memory allocation
the log error in zmwatch.log is
[Can't get shared memory id '7a6d2003', 3: No such file or directory]
so zmdc is restarting
['zmc -d /dev/video' starting at 07/06/10 18:14:02, pid = 3711]
should there be a device number like /dev/video0 instead of just /dev/video?
when i look at shmall and shmmax that is a little strange also
cat /proc/sys/kernel/shmall 2097152
cat /proc/sys/kernel/shmmax 33554432
i thought shmall was the max that could be allocated in 1 chunk
why is it smaller than shmmax and why is it so small?

any help would be appreciated
rob
rrk
Posts: 22
Joined: Sat Mar 11, 2006 10:17 pm

Post by rrk »

no video -- i looked at php.ini -- enabled mysql is there something else i should be looking for in php.ini ?

got rid of the shared memory errors all the logs look good
zmpkg zmaudit zmupdate /var/logs/ messages and syslog

tail /var/log/messages
Jun 10 23:16:18 siduxbox zmdc[7452]: INF ['zmupdate.pl -c' started at 07/06/10 23:16:18]
Jun 10 23:16:19 siduxbox Update agent starting at 07/06/10 23:16:19
Jun 10 23:19:57 siduxbox zmc_dvideo0[7442]: INF [New1: 1000 - Capturing at 4.52 fps]
Jun 10 23:19:57 siduxbox zmc_dvideo0[7442]: INF [New2: 1000 - Capturing at 4.55 fps]
Jun 10 23:23:37 siduxbox zmc_dvideo0[7442]: INF [New1: 2000 - Capturing at 4.55 fps]
Jun 10 23:23:37 siduxbox zmc_dvideo0[7442]: INF [New2: 2000 - Capturing at 4.55 fps]
Jun 10 23:27:16 siduxbox zmc_dvideo0[7442]: INF [New1: 3000 - Capturing at 4.57 fps]

where should i be looking ?





.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

As zmc is capturing images, I'd start looking into apache to see why you can't get a stream.
Check the apache error log, and see what path for zms is being passed to the client.
rob
Posts: 15
Joined: Sat Sep 03, 2005 8:22 am

Post by rob »

got it thanks cordel -- it was using nph-zms instead of zms -- what is the
difference between zms and nph-zms ?
switched to zms and everything appears to work
rrk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The binaries are exactly the same except for the file name. Apache interprets the nph as No Parse Headers so it does not parse the headers.
Locked