Can't start Zoneminder

Forum for questions and support relating to the 1.25.x releases only.
Locked
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Can't start Zoneminder

Post by thelight »

I can't seem to start zoneminder. Running on CentOS6.

I have added a monitor, but when I attempt to start monitoring from the web interface it fails to start, with the error log saying:

2011-11-18 20:43:38.517720 zmpkg 1649 FAT Can't create missing temporary directory '/tmp/zm': File exists zmpkg.pl

I've looked on google and searched this forum and can't seem to find anyone with the same problem.
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Re: Can't start Zoneminder

Post by thelight »

bump
elbek
Posts: 11
Joined: Tue Dec 06, 2011 5:33 pm

Re: Can't start Zoneminder

Post by elbek »

did you try with:

chown www-data:www-data -R /tmp/zm
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Re: Can't start Zoneminder

Post by thelight »

I get:

chown: invalid user: `www-data:www-data'

thanks
Simon
clipo
Posts: 101
Joined: Sat Sep 06, 2008 9:55 am
Location: Manchester, UK
Contact:

Re: Can't start Zoneminder

Post by clipo »

Try and disable SELinux

http://wiki.centos.org/HowTos/SELinux

I had the same problem and its solved it for me, now I’m looking for a mod to allow SELinux to work again.
dhanasekar
Posts: 19
Joined: Mon Aug 29, 2011 4:43 am
Location: Chennai, India

Re: Can't start Zoneminder

Post by dhanasekar »

thelight wrote:I get:

chown: invalid user: `www-data:www-data'

thanks
Simon
try using ./configure --with-webdir=/var/www/zm --with-cgidir=/var/www/cgi-bin --enable-mmap=no --with-webuser=www-data --with-webgroup=www-data
because in squeeze distribution apache replaced with www-data but even though apache is used by some processes of squeeze distribution.
User avatar
thelight
Posts: 54
Joined: Sat Jun 26, 2004 9:25 pm
Contact:

Re: Can't start Zoneminder

Post by thelight »

disabling selinux worked, thanks very much!
Locked