<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hugo van der Kooij wrote:
<blockquote
cite="midPine.LNX.4.58.0512192226160.32659@gandalf.hugo.vanderkooij.org"
type="cite">
<pre wrap="">On Mon, 19 Dec 2005, Askar Ali wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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=/
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
Thanks all for the help, nagios is now running and web interface
working fine :), for fixing the web interface i just copy paste the ..<br>
<br>
<strong><font color="red">
<pre>ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
.
.<font color="#000000">
again from the nagios docs into httpd.conf and wola web issues fixed.</font> <font
color="#000000">onely one issue remains and ie is something
when i stop nagios it gives me error saying...
</font></pre>
</font></strong>/etc/rc.d/rc.nagios stop<br>
Stopping network monitor: nagios<br>
Waiting for nagios to exit .head: cannot open
`/usr/local/nagios/var/nagios.lock' for reading: No such file or
directory<br>
.<br>
.<br>
when even though it stops the nagios process, why the hell sometime the
stopping script can't find nagios.lock file.<br>
Before stopping I do confirmed that there is a
/usr/local/nagios/var/nagios.lock file but still it something can't
find it.<br>
<br>
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.<br>
<br>
Secondly nagios logs all the activities in /var/log/message is there a
way to tell nagios to use separate file for logging?<br>
<br>
Thanks and Regards,<br>
<br>
Askar Ali<br>
<br>
</body>
</html>