Page 2 of 3

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Wed May 29, 2013 2:59 pm
by slansing
Can you let us know which green check marks you have? You can mouse over them to reveal what they are. Thanks! We are working on reproducing this on our end.

Also, can you run and report the output of the following:

Code: Select all

tail -20 /var/log/mysqld.log

Code: Select all

service ndo2db restart

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Thu May 30, 2013 11:51 am
by nauessp
The dots are:
"Monitoring Engine Is Running"
"Performance Grapher is Running"
"Database Backend Is Running"

Code: Select all

# tail -20 /var/log/mysqld.log
130528 11:36:06 [Note] /usr/libexec/mysqld: Shutdown complete

130528 11:36:06  mysqld ended

130528 11:36:50  mysqld started
130528 11:36:50  InnoDB: Started; log sequence number 0 43665
130528 11:36:50 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
130528 11:59:22 [Note] /usr/libexec/mysqld: Normal shutdown

130528 11:59:24  InnoDB: Starting shutdown...
130528 11:59:25  InnoDB: Shutdown completed; log sequence number 0 43665
130528 11:59:25 [Note] /usr/libexec/mysqld: Shutdown complete

130528 11:59:25  mysqld ended

130528 12:02:02  mysqld started
130528 12:02:02  InnoDB: Started; log sequence number 0 43665
130528 12:02:02 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.95'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

Code: Select all

# service ndo2db restart
Stopping ndo2db: done.
Starting ndo2db: done.

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Thu May 30, 2013 1:25 pm
by slansing
Can you open a ticket by emailing [email protected], we are currently tracking this issue with several other users too.

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 10:04 am
by slansing
Another note to add in here, please run the config permissions script after stopping your entire monitoring engine to see if it resolves this:

Code: Select all

service nagios stop
service ndo2db stop
service mysqld stop
service npcd stop
service postgresql stop
service httpd stop
service crond stop

Code: Select all

chmod +x /usr/local/nagiosxi/scripts/reset_config_perms.sh

/usr/local/nagiosxi/scripts/reset_config_perms.sh

Code: Select all

service nagios start
service ndo2db start
service mysqld start
service npcd start
service postgresql start
service httpd start
service crond start

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 10:53 am
by nauessp
This did not seem to help. All the symptoms are still there after running these steps.

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 1:59 pm
by slansing
nauessp,

Can you share the output from running these commands:

Code: Select all

cd /usr/local/nagiosxi
ls -ld ./ cron html html/includes
ll html/config.inc.php
ll html/includes/utils.inc.php
Thanks!

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 2:04 pm
by nauessp
Here is the output:

Code: Select all

root@serverx:~(3442)# cd /usr/local/nagiosxi
root@serverx:/usr/local/nagiosxi(3443)# ls -ld ./ cron html html/includes
drwxr-xr-x 10 nagios nagios 4096 Jan 12  2011 ./
drwxr-xr-x  2 nagios nagios 4096 Nov 19  2012 cron
drwxr-xr-x 18 nagios nagios 4096 Apr  8 10:44 html
drwxr-x--- 11 nagios nagios 4096 Nov 19  2012 html/includes
root@serverx:/usr/local/nagiosxi(3444)# ll html/config.inc.php
-rwxr-x--- 1 nagios nagios 5914 May 28 09:26 html/config.inc.php*
root@azure:/usr/local/nagiosxi(3445)# ll html/includes/utils.inc.php
-rwxr-x--- 1 nagios nagios 26681 May 28 09:26 html/includes/utils.inc.php*
root@serverx:/usr/local/nagiosxi(3446)# 
I'm trying to get our email support to work, but there is some confusion about who is the allowed support email address.

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 3:46 pm
by slansing
What version of your distro are you running, i.e. centos 5.5, 5.8, 6, etc.

please contact [email protected] to get the email issue resolved. Thanks!

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 4:16 pm
by nauessp
We are running Red Hat Enterprise Linux Server release 5.9 (Tikanga). Besides a few patches that released in the last day or so, we are also fully up to date.

Re: After upgrade to 2012R2.1 "Apply Configuration" hangs

Posted: Mon Jun 03, 2013 4:19 pm
by scottwilkerson
Can you run the following and output any errors you receive

Code: Select all

su nagios -c '/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php'