Page 1 of 1

gentoo install of zoneminder problems...

Posted: Fri Mar 14, 2008 3:23 am
by gopher

Code: Select all

/etc/init.d/zoneminder start
 * Starting zoneminder ...
Can't open log file '/var/log/zoneminder/zmdc.log': Permission denied at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 279.
Can't connect: No such file or directory at /usr/lib/perl5/site_perl/5.8.8/ZoneMinder/Debug.pm line 349
        ZoneMinder::Debug::Fatal('Can\'t connect: No such file or directory') called at /usr/bin/zmdc.pl line 167                                                 
here is the permissions of that log file...

Code: Select all

gentoo zoneminder # ls -la
total 4
drwxr-xr-x 2 root   root   104 Mar 13 23:18 .
drwxr-xr-x 8 root   root   336 Mar 13 00:44 ..
-rw-r--r-- 1 root   root     0 Mar 13 22:35 zmdc.log
-rw-r--r-- 1 apache apache 999 Mar 13 23:15 zmpkg.log
gentoo zoneminder #

      
do i need to change the permissions of the log file? if so what to?

Posted: Fri Mar 14, 2008 5:26 am
by cordel
Should be the same user as apache is running.

Posted: Mon Mar 17, 2008 3:34 pm
by Diviner
Try this:

Code: Select all

chown -R  apache:apache /var/run/zm