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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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
nauessp
Posts: 26
Joined: Tue Jul 06, 2010 12:48 pm

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

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post by slansing »

Can you open a ticket by emailing [email protected], we are currently tracking this issue with several other users too.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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
nauessp
Posts: 26
Joined: Tue Jul 06, 2010 12:48 pm

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

Post by nauessp »

This did not seem to help. All the symptoms are still there after running these steps.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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!
nauessp
Posts: 26
Joined: Tue Jul 06, 2010 12:48 pm

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

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

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

Post 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!
nauessp
Posts: 26
Joined: Tue Jul 06, 2010 12:48 pm

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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'
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked