help w/ nagios permissions

emily zhou zhoue at algonquincollege.com
Tue Nov 26 14:48:13 CET 2002


Depends on which unix you use, but you can easily check the manual for
CHOWN in your platform, in Solaris like this:   #chown nagios:nagios
/usr/local/nagios, after following the documentation, remember restart
both Apache and Nagios.

bheng qute wrote:

>  hi der...  im quite new with this....   can u teach me how u change
> the owner group? im just following the nagios document.  with re: to
> trends.cgi, no... its not yet working.  but i will try to configure it
> after this error msg that im receiving w/ external commands.
>
> ur response on this is hightly appreciated.   thanks so much.
>
> bheng
>
>   emily zhou <zhoue at algonquincollege.com> wrote:
>
>      Hi,
>      I had same error today, I just fixed it in 10 minutes. Your
>      guess is one
>      thing, it's better to change owner:group to nagios:nagios
>      from directory
>      /usr/local/nagios. Then see what happend. In my config
>      nagios:nagios is
>      also as apache user:group running.
>      Hope it helps.
>      BTW, do you got trends working? I mean trends.cgi is
>      working, but data
>      (from logs or archives) is not shown up.
>      Emily
>
>      bheng qute wrote:
>
>      > hello,
>      >
>      > i am receiving this error .
>      > Error: Could not open command file
>      > '/usr/local/nagios/var/rw/nagios.cmd' for update!
>      > i followed the permissions written in the document but it
>      still gives
>      > me the same error message whenever i do scheduled
>      immediate check
>      > command. pls. see my config below.
>      >
>      > drwxrwxr-x 4 nagios nagios 4096 Nov 26 03:44 .
>      > drwxr-xr-x 8 root root 4096 Nov 22 06:10
>      > .. --------------
>
> --
>
> Emily Zhou
> Unix Administrator
> ITS, Algonquin College
> (613)727-4723 ext.6089
> (613)222-6154 (Cell)
>



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en




More information about the Users mailing list