Quote:
Code:
Jul 18 06:25:01 ODB2 kernel: imklog 3.18.6, log source = /proc/kmsg started. |
lets start with the lock file error and go from there.
Type Code:
ls -lad /usr/local/nagios/var |
Code:
drwxrwsr-x 5 nagios nagios 4096 2010-07-20 17:38 /usr/local/nagios/var |
Does that mean you got it working?
|
sorry, no it doesn't. Just posted the output and thanked you for your help.
|
Gotcha,
Can you run this: Code:
ls -la /usr/local/nagios/var/nagios.lock |
Quote:
Code:
-rw-r--r-- 1 root nagios 0 2010-07-20 17:38 /usr/local/nagios/var/nagios.lock |
the system is debian. this was said in the first post
send the output from Code:
ls -la /usr/local/nagios/var/ |
Quote:
Code:
ODB2:/var/log# ls -la /usr/local/nagios/var/ |
Some further information.
Code:
ODB2:/# /etc/init.d/nagios start |
Have you change any user or group before this?
Which user and group you had create at installation time ? |
nagios lock file was created with root ownership, but this was yesterday evening...
Code:
-rw-r--r-- 1 root nagios 0 2010-07-20 17:38 nagios.lock -- Code:
chown nagios /usr/local/nagios/var/nagios.lock then restart nagios |
Quote:
Code:
ODB2:/# chown nagios /usr/local/nagios/var/nagios.lock |
Quote:
htaccess (which is controlling web authentication) doesnt user /etc/passwd to authenticate but the nagiosadmin user appears to exist in the htpasswd file, but not in the /etc/passwd or /etc/group or /etc/shadow files. Maybe you could confirm this..?? It appears you may have missed a step or 2 when going throught the initial build...? |
Hi Spuddy,
I would sugest that you check that you've created the nagios user and group as following the output of your command ls -la /usr/local/nagios/var/ nagios should run under nagios user and nagios group. if you did edit your nagios.cfg Code:
vi /usr/local/nagios/etc/nagios.cfg Code:
nagios_user=nagios |
All times are GMT -5. The time now is 10:32 AM. |