gentoo install of zoneminder problems...

Support and queries relating to all previous versions of ZoneMinder
Locked
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

gentoo install of zoneminder problems...

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Should be the same user as apache is running.
Diviner
Posts: 9
Joined: Mon Mar 17, 2008 3:28 pm

Post by Diviner »

Try this:

Code: Select all

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