RE: [Nagios-users] Nagios 2.X Stable - CHMOD problem

2006-02-15 Thread Miner, Jonathan W (CSC) (US SSA)
Is your Apache user (apache?) in the UNIX nagiocmd group?


-Original Message-
From:   [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent:   Wed 02/15/2006 08:43 AM
To: nagios-users@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
nagios3207  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=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@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


RE: [Nagios-users] Nagios 2.X Stable - CHMOD problem

2006-02-15 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Wednesday, February 15, 2006 7:43 AM
 To: nagios-users@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
 nagios3207  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=lnkkid3432bid#0486dat1642
___
Nagios-users mailing list
Nagios-users@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