nagios starting problem

Askar Ali askarali at beaconet.net
Tue Dec 20 05:58:45 CET 2005


Hugo van der Kooij wrote:

>On Mon, 19 Dec 2005, Askar Ali wrote:
>
>  
>
>>I have installed nagios 2.0b6 on OS slackware, when I starts it, it
>>gives error...
>>(actaully migrated from one machine to another which were running 2.0b2)
>>
>>/etc/rc.d/rc.nagios start
>>Starting network monitor: nagios
>>No directory, logging in with HOME=/
>>    
>>
>
>Sounds like you need to improve the settings for your nagios user. Give it
>a home directory. (Like the RPM's do with /var/log/nagios as $HOME for
>our friend nagios.)
>
>And I bet you got other issues which you did not setup correctly either.
>
>Hugo.
>
>  
>
Thanks all for the help, nagios is now running and web interface working 
fine :), for fixing the web interface i just copy paste the ..

*

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

<Directory "/usr/local/nagios/sbin">
    Options ExecCGI
    AllowOverride None
.
.
again from the nagios docs into httpd.conf and wola web issues fixed. onely one issue remains and ie is something
when i stop nagios it gives me error saying...


*/etc/rc.d/rc.nagios stop
Stopping network monitor: nagios
Waiting for nagios to exit .head: cannot open 
`/usr/local/nagios/var/nagios.lock' for reading: No such file or directory
.
.
when even though it stops the nagios process, why the hell sometime the 
stopping script can't find nagios.lock file.
Before stopping I do confirmed that there is a 
/usr/local/nagios/var/nagios.lock file but still it something can't find it.

Does things changed from 2.0b2 to 2.0b6, on b2 i had hmm three processes 
of nagios running at a time and now on b6 its a single process.

Secondly nagios logs all the activities in /var/log/message is there a 
way to tell nagios to use separate file for logging?

Thanks and Regards,

Askar Ali

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051220/fdd878b8/attachment.html>


More information about the Users mailing list