Nagios 2.X Stable - CHMOD problem

Miner, Jonathan W (CSC) (US SSA) jonathan.w.miner at baesystems.com
Wed Feb 15 14:46:33 CET 2006


Is your Apache user (apache?) in the UNIX "nagiocmd" group?


-----Original Message-----
From:	nagios-users-admin at lists.sourceforge.net on behalf of Jorg.Schulz at systeam.se
Sent:	Wed 02/15/2006 08:43 AM
To:	nagios-users at lists.sourceforge.net
Cc:	
Subject:	[Nagios-users] Nagios 2.X Stable - CHMOD problem

Hi Folks 

After upgrade from 2.04b to 2,x Stable of Nagios
i have the same problem as usual, after /etc/init.d/nagios stop and then 
/etc/init.d/nagios start i always have to go to the nagios.cmd file and 
chmod it to 777  :) 
prw-rw----  1 nagios nagiocmd 0 Feb 15 07:00 
/usr/local/nagios/var/rw/nagios.cmd

Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' 
for update!
The permissions on the external command file and/or directory may be 
incorrect. Read the FAQs on how to setup proper permissions. 
An error occurred while attempting to commit your command for processing.

nagios:~ # ps aux | grep nagios
nagios    3207  0.1  1.7  27868  8952 ?        Ssl  Feb13   4:59 
/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Maybe this is a stupid question but it is irritates me 

Best regards 

/jörg 


Jörg 
 SYSteam Communication AB 
 





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list