Hugo van der Kooij wrote:
Thanks all for the help, nagios is now running and web interface working fine :), for fixing the web interface i just copy paste the ..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. 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 |