Nagios 2.X Stable - CHMOD problem

Marc Powell marc at ena.com
Wed Feb 15 16:10:06 CET 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jorg.Schulz at systeam.se
> Sent: Wednesday, February 15, 2006 7:43 AM
> To: nagios-users at lists.sourceforge.net
> 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.
> 
> <javascript:window.history.go(-2)> 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

You shouldn't have to do this if you've followed the documentation on
'how to setup proper permissions'.

http://www.nagios.org/faqs/viewfaq.php?faq_id=58 which points to
http://nagios.sourceforge.net/docs/2_0/commandfile.html 

--
Marc




-------------------------------------------------------
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