Page 1 of 1

Can't start Zoneminder

Posted: Fri Nov 18, 2011 9:36 pm
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.

Re: Can't start Zoneminder

Posted: Sun Dec 04, 2011 2:25 pm
by thelight
bump

Re: Can't start Zoneminder

Posted: Tue Dec 06, 2011 5:35 pm
by elbek
did you try with:

chown www-data:www-data -R /tmp/zm

Re: Can't start Zoneminder

Posted: Sat Dec 10, 2011 11:48 am
by thelight
I get:

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

thanks
Simon

Re: Can't start Zoneminder

Posted: Tue Dec 13, 2011 7:58 pm
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.

Re: Can't start Zoneminder

Posted: Wed Dec 14, 2011 6:06 am
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.

Re: Can't start Zoneminder

Posted: Fri Dec 16, 2011 7:32 pm
by thelight
disabling selinux worked, thanks very much!