Page 1 of 1

Still can't access shared memory, and no events generating

Posted: Tue May 26, 2009 7:22 pm
by neek
I'm still trying to sort out why I can't get ZM 1.24.1 working on a Fedora 10 install with an ACTi cam via RTSP.

I'm running kernel version 2.6.27.24-170.2.68.fc10.i686, so I shouldn't be seeing the bug with shared mem that's been documented elsewhere.

The only thing I see in the logs is:

Code: Select all

05/26/2009 12:17:46.983067 zmwatch[2458].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
The console says it's running, but when I click on the monitor I get an broken image in place of the cam pic, and the system has never generated any events. I've tried both "Monitor" and "Mocord" modes.

When I view the cam directly via RTSP in VLC, it works fine. I've tried the hack to have VLC output http and connect ZM to that, but that also doesn't work.

Does anyone have any ideas how I can at least debug what's going wrong? I've tried stepping through the tutorial but it hasn't revealed anything obvious.

thanks!

Posted: Tue May 26, 2009 8:36 pm
by coke
Just in case, set the monitor to status none, save, then do a

Code: Select all

tail -f /var/log/messages
Then switch the monitor back to "monitor", save it, try to look at it and post everything that happened in the log after you switched it back on.

Posted: Tue May 26, 2009 9:16 pm
by neek
Same error message I had posted about in a different thread, "Bogus monitor type 'Ffmpeg'"

I pulled the RPM of ZoneMinder. I just tried starting a build from the source, but it looks like I'm going to have to do a fair amount of other digging to get the build to work, even though I'm using Fedora 10.

Is building from source the only way to fix this error about the bogus monitor type?

thanks again

Posted: Mon Jun 01, 2009 8:02 pm
by neek
I've now tried both ZM 1.24.1 and 1.23.3 on two separate machines (one Fedora 10, the other FreeBSD 7.2). I still can't get images to show up on either one, and neither generates any events.

I'm using an ACTi camera and I've tried through both rtsp (with 1.24) and remote http using a clever hack that CrazyPilot wrote about here: http://www.zoneminder.com/forums/viewtopic.php?t=13718

Whenever I manually run the 'zms' or 'nph-zms' scripts from the cmd line, they just say "Abort".

Can anyone please offer any tips on how to debug this? I'm completely at a loss as to what else I can try.

thanks!

Posted: Mon Jun 01, 2009 8:46 pm
by Syrinx
neek wrote:Whenever I manually run the 'zms' or 'nph-zms' scripts from the cmd line, they just say "Abort".
Are you running with sufficient privileges? Try running it as root.

I had the same problem but sudoing to root worked fine.

Posted: Tue Jun 02, 2009 3:45 pm
by coke
Also make sure your zms and zms-nph files are in the same cgi-bin directory that Apache seems to think they should be. You could edit your Apache configuration, or as a temporary fix, do a "locate cgi-bin", you may have more than one, try putting the zms files into the one that doesn't have one.

If that works, undo it, and adjust your apache configuration.