Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!

Marc Powell marc at ena.com
Thu Nov 11 21:32:58 CET 2004



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Tim Holmes
> Sent: Thursday, November 11, 2004 1:50 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Error: Could not open command file
> '/usr/local/nagios/var/rw/nagios.cmd' for update!
> 
> Does the web server always run as nobody as the default?  I am having
> the same problem, or if it does not, how do I discover who it is
running
> as?
> 

No, it varies by distribution and version of the distribution. Most use
nobody or apache, I believe. Either use ps to determine what it is or
look in your web server configuration files. For apache you'd want to
look for 

User someuser
Group somegroup

in httpd.conf.

--
Marc



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
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