> I'm still getting an error, even though i have the permissions: > > drwxrwxrwx 4 nagios nagios 4096 2007-06-13 16:17 . > drwxr-xr-x 11 nagios nagios 4096 2007-05-10 11:26 .. > drwxrwxr-x 2 nagios nagios 4096 2007-05-10 11:24 archives > -rw-rw-r-- 1 nagios nagios 238 2007-06-12 17:40 comments.dat > -rw-rw-r-- 1 nagios nagios 239 2007-06-12 17:40 downtime.dat > -rw-r--r-- 1 nagios nagios 0 2007-06-13 16:17 nagios.lock > -rwxrwxrwx 1 nagios nagios 14268 2007-06-13 16:56 > nagios.log -rwxrwxrwx 1 nagios nagios 118664 2007-06-13 > 16:56 objects.cache > -rw------- 1 nagios nagios 162982 2007-06-13 16:17 retention.dat > drwxrwsr-x 2 nagios nagios 4096 2007-06-13 12:08 rw > > [EMAIL PROTECTED]:/var/log# /usr/local/nagios/bin/nagios > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.7 > Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) > Last Modified: 01-19-2007 > License: GPL > > Warning: Could not get passwd entry for 'nagiosadmin' > Nagios 2.7 starting... (PID=13453) > Error: Could not create external command file > '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (13) -> > Permission denied. If this file already exists and you are > sure that another copy of Nagios is not running, you should > delete this file. > Bailing out due to errors encountered while trying to > initialize the external command file... (PID=13453)
It looks like you may have nagios running as "nagiosadmin", but all the files are owned by "nagios". The rw directory is not writeable by the "nagiosadmin" user unless it happens to be a member of the "nagios" group. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
