Console in Stopped State - Permission denied

Forum for questions and support relating to the 1.25.x releases only.
Locked
managenet
Posts: 2
Joined: Mon Feb 11, 2013 6:29 pm

Console in Stopped State - Permission denied

Post by managenet »

Hi All,

I have successfully deployed ZM 1.25 on Ubuntu 12.04 in a home installation and am now trying to get it working for our local church. The only difference is that I am running Ubuntu in VM on VMWare (allocated 4GB, successfully running Asterisk, FreePBX)

Anyway, just did a simple install with the currently available distribution following the steps here:

http://www.zoneminder.com/wiki/index.ph ... e_easy_way

I am able to start ZM, set up a remote network camera, it is recording, motion detecting, etc.

However, when using the web interface, the status always shows 'Stopped' and attempting to access any of the events fails and results in the log errors:

2013-02-11 12:27:41.538337 web_php 2050 ERR socket_bind( /tmp/zm/zms-719496w.sock ) failed: Permission denied /usr/share/zoneminder/includes/functions.php 2322
2013-02-11 12:27:41.286481 zms 2054 FAT Can't open memory map file /dev/shm/zm.mmap.2, probably not enough space free: Permission denied zm_monitor.cpp 352

Permissions appear to be correct, there is enough disk space and memory

Very odd, and I can't find any solutions anywhere - does anyone have any insight?
axelm
Posts: 46
Joined: Wed Feb 06, 2013 1:50 pm

Re: Console in Stopped State - Permission denied

Post by axelm »

I had mmap issues to on Fedora 18 so I recompiled the code with shared memory instead of mmap and that worked fine.
managenet
Posts: 2
Joined: Mon Feb 11, 2013 6:29 pm

Re: Console in Stopped State - Permission denied

Post by managenet »

Thanks axelm for the insight - i could look into that. Though it's weird - I have one deploy on Ubuntu 12.04 where it is working, and another on Ubuntu 12.04 where it is not. Only difference is that second is in a VM.
Locked