error check external commands

Carlos Sánchez cjsanz4job at hotmail.com
Fri Nov 10 17:05:56 CET 2006


thanks, my error was by the SELinux. I change the config file of the SELinux 
and I change to permissible and reboot my machine and the external commands 
is right


>From: "Marc Powell" <marc at ena.com>
>To: <nagios-users at lists.sourceforge.net>
>Subject: Re: [Nagios-users] error check external commands
>Date: Fri, 10 Nov 2006 10:02:48 -0600
>
>Either you did not completely follow the documentation on enabling external 
>command and your web server is not in the nagios group (and restarted), a 
>directory above /nagios/var/rw/nagios.cmd does not have sufficient 
>permissions to allow your web server access to that file or you have 
>SELinux enabled and it is blocking access to that file from your web 
>server. Those are the most likely problems given the information you've 
>provided.
>
>Check your http error log and messages log.
>
>--
>Marc
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Carlos Sánchez
> > Sent: Friday, November 10, 2006 8:32 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] error check external commands
> >
> > The file /nagios/var/rw/nagios.cmd exist, and have this permisions
> >
> > prw-rw---- 1 nagios nagios 0 Nov 10 04:19 nagios.cmd
> >
> >
> > >From: Shivkumar <shivkumar at outbackwifi.com>
> > >To: Carlos Sánchez <cjsanz4job at hotmail.com>
> > >Subject: Re: [Nagios-users] error check external commands
> > >Date: Fri, 10 Nov 2006 19:57:57 +0530
> > >
> > >
> > >Carlos Sánchez said the following:
> > > >  Error: Could
> > > > not stat() command file '/nagios/var/rw/nagios.cmd'!
> > > >
> > > > Any body know why?
> > > >
> > >Umm, Sure! the /nagios/var/rw/nagios.cmd file doesnt exist?
> >
> > _________________________________________________________________
> > All-in-one security and maintenance for your PC.  Get a free 90-day 
>trial!
> > 
>http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://w
> > ww.windowsonecare.com/?sc_cid=msn_hotmail
> >
>
>
>-------------------------------------------------------------------------
>Using Tomcat but need to do more? Need to support web services, security?
>Get stuff done quickly with pre-integrated technology to make your job 
>easier
>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>_______________________________________________
>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

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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