Problems Starting Nagios

Luis Cerezo luis.cerezo at pgs.com
Wed Jun 13 23:24:10 CEST 2007


are you sure your nagios process is run by nagios?

why the setgid on rw?

-luis

Marc Powell wrote:
>   
>> -----Original Message-----
>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
>> bounces at lists.sourceforge.net] On Behalf Of Danilo Perdomo
>> Sent: Wednesday, June 13, 2007 3:59 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: Re: [Nagios-users] Problems Starting Nagios
>>
>> I'm still getting an error, even though i have the permissions:
>>
>> drwxrwxrwx  4 nagios nagios   4096 2007-06-13 16:17 .
>> drwxr-xr-x 11 nagios nagios   4096 2007-05-10 11:26 ..
>> drwxrwxr-x  2 nagios nagios   4096 2007-05-10 11:24 archives
>> -rw-rw-r--  1 nagios nagios    238 2007-06-12 17:40 comments.dat
>> -rw-rw-r--  1 nagios nagios    239 2007-06-12 17:40 downtime.dat
>> -rw-r--r--  1 nagios nagios      0 2007-06-13 16:17 nagios.lock
>> -rwxrwxrwx  1 nagios nagios  14268 2007-06-13 16:56 nagios.log
>> -rwxrwxrwx  1 nagios nagios 118664 2007-06-13 16:56 objects.cache
>> -rw-------  1 nagios nagios 162982 2007-06-13 16:17 retention.dat
>> drwxrwsr-x  2 nagios nagios   4096 2007-06-13 12:08 rw
>>
>> root at server:/var/log# /usr/local/nagios/bin/nagios
>> /usr/local/nagios/etc/nagios.cfg
>>
>> Nagios 2.7
>> Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
>> Last Modified: 01-19-2007
>> License: GPL
>>
>> Warning: Could not get passwd entry for 'nagiosadmin'
>>     
>
> Where is this coming from? Did you change 'nagios_user' in nagios.cfg
> from the default of 'nagios'? That might explain why you don't have
> permissions. What are the contents of the 'rw' directory?
>
> --
> Marc
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> 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
>   

-- 
Luis E. Cerezo
PGS Global Shared Services - IT
281.509.8397
***********



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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