error in nagios.cmd for update

Christian Souza chrsouza at ig.com.br
Tue Feb 15 20:14:23 CET 2005


no..

this was my error, fixed after I restart the webserver.


thx

----- Original Message -----
From: "Subhendu Ghosh" <sghosh at sghosh.org>
To: "Christian Souza" <chrsouza at ig.com.br>
Cc: <nagios-users at lists.sourceforge.net>
Sent: Tuesday, February 15, 2005 3:01 PM
Subject: Re: [Nagios-users] error in nagios.cmd for update


> did you restart the webserver after adding it to the group?
>
> On Fri, 11 Feb 2005, Christian Souza wrote:
>
> > Yes.
> >
> > look:
> >
> > #more /etc/group
> > ....
> > nagios:x:503:nagios,apache
> >
> >
> >
> > ----- Original Message -----
> > From: "Subhendu Ghosh" <sghosh at sghosh.org>
> > To: "Christian Souza" <chrsouza at ig.com.br>
> > Cc: <nagios-users at lists.sourceforge.net>
> > Sent: Friday, February 11, 2005 3:53 PM
> > Subject: Re: [Nagios-users] error in nagios.cmd for update
> >
> >
> >> On Fri, 11 Feb 2005, Christian Souza wrote:
> >>
> >>> I have been searching anything about this error, but i can't found.
> >>>
> >>> When I tried do add a new coment for a service (as exemple), i receive
> > the
> >>> follow:
> >>>
> >>>
> >>> 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.
> >>>
> >>>
> >>> was verified the configuration, bellow:
> >>>
> >>> #more nagios.cfg |grep check_ext
> >>> check_external_commands=1
> >>>
> >>>
> >>> #ls -l /usr/local/nagios/var
> >>> drwxrwxr-x  2 nagios nagios  4096 Feb 11 00:00 archives
> >>> -rw-rw-r--  1 nagios nagios     0 Feb 11 12:59 comment.log
> >>> -rw-rw-r--  1 nagios nagios     0 Feb 11 12:59 downtime.log
> >>> -rw-r--r--  1 root   root       5 Feb 11 12:59 nagios.lock
> >>> -rw-r--r--  1 nagios nagios 33512 Feb 11 16:51 nagios.log
> >>> drwxrwsr-x  2 nagios nagios  4096 Feb 11 12:59 rw
> >>> -rw-rw-r--  1 nagios nagios 13248 Feb 11 16:52 status.log
> >>> -rw-r--r--  1 nagios nagios  9924 Feb 11 15:59 status.sav
> >>>
> >>>
> >>
> >> Is the web server a member of the "nagios" group?  otherwise it does
not
> >> have write perms
> >>
> >>
> >> --
> >> -sg
> >>
> >>
> >> -------------------------------------------------------
> >> SF email is sponsored by - The IT Product Guide
> >> Read honest & candid reviews on hundreds of IT Products from real
users.
> >> Discover which products truly live up to the hype. Start reading now.
> >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
> >>
> >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
> >
>
> --
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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