Page 1 of 1

Apply Configuration never completes

Posted: Wed Sep 12, 2012 12:06 am
by inas.labib
Hi,

I have Nagios XI 2011R3.3 and every time I tried to apply configuration it never complete and I read the FAQ and I did every thing like upgrading it rebooting the whole server editing php.ini and restart apache but nothing work and I can see the following may be it helps:

I can write config files using the tool without any problems "only some warnings"
I can't schedule any immediate check always fails "server busy".
my php version is 5.1 and when I installed the nagios xi R3 on another test server I found that it is using atomic repo to install 5.3, is php version is my problem?
I can provide you any further info if you need.

Thanks
Inas Labib

Re: Apply Configuration never completes

Posted: Wed Sep 12, 2012 7:40 am
by scottwilkerson
can you run the following and report the output

Code: Select all

ps -ef|grep cron/

Re: Apply Configuration never completes

Posted: Wed Sep 12, 2012 11:28 pm
by inas.labib
Hi,

Thanks for your reply.

here is the output:

# ps -ef|grep cron/
root 8015 7984 0 08:26 pts/1 00:00:00 grep cron/

# ps -ef|grep cron
root 3301 1 0 Sep10 ? 00:00:01 crond
root 8071 7984 0 08:26 pts/1 00:00:00 grep cron

BR,

Re: Apply Configuration never completes

Posted: Thu Sep 13, 2012 10:02 am
by lmiltchev
Can you run the following commands and show the output of each one?

Code: Select all

cat /etc/cron.d/nagiosxi
crontab -l -u root
crontab -l -u nagios
cat /etc/crontab
chkconfig --list | grep crond
ll /usr/local/nagiosxi/cron
tail /var/log/cron

Re: Apply Configuration never completes

Posted: Sun Sep 16, 2012 1:39 am
by inas.labib
Hi,

Thanks for pointing that out.
It was nagios password. The user was locked and it is working fine now.


BR,
Inas Labib