Nagios XI would not start after upgrade to 2012R2.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI would not start after upgrade to 2012R2.2

Post by abrist »

Great, let us know if it resolves your problems or not.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
ucop
Posts: 20
Joined: Wed May 22, 2013 5:55 pm

Re: Nagios XI would not start after upgrade to 2012R2.2

Post by ucop »

Update:

I have fixed the permission issues in /usr/local/nagiosxi/html/includes directory.
Several .php files were owned by root:root (even after running a FixPerm script) and several needed a chmod +x executed over them.
Restarted all the processes and Nagios came up nicely. I can login. Thank you very much for the pointers in troubleshooting this issue.

The nagios process output now looks like this:

$ ps aux | grep nagios
nagios 2332 0.0 0.0 13840 1004 ? S 13:50 0:00 /usr/local/nagios/bin/npcd -d -f /usr/local/nagios/etc/pnp/npcd.cfg
nagios 2413 0.0 0.0 31992 1716 ? Ssl 13:50 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 2436 0.0 0.0 51052 640 ? Ss 13:50 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 2511 0.0 0.0 51052 1396 ? S 13:50 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 2512 0.0 0.0 51188 1596 ? S 13:50 0:00 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
nagios 2935 0.0 0.0 9228 1056 ? Ss 13:52 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php > /usr/local/nagiosxi/var/feedproc.log 2>&1
nagios 2938 0.2 1.0 222088 21036 ? S 13:52 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php
nagios 2940 0.0 0.0 9228 1056 ? Ss 13:52 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php > /usr/local/nagiosxi/var/sysstat.log 2>&1
nagios 2941 0.0 0.0 9228 1056 ? Ss 13:52 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php > /usr/local/nagiosxi/var/perfdataproc.log 2>&1
nagios 2942 0.0 0.0 9228 1056 ? Ss 13:52 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php > /usr/local/nagiosxi/var/cmdsubsys.log 2>&1
nagios 2946 0.3 1.1 222116 21648 ? S 13:52 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php
nagios 2947 0.3 1.1 222120 21300 ? S 13:52 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php
nagios 2948 0.3 1.1 222092 21388 ? S 13:52 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php
nagios 2949 0.0 0.0 9228 1056 ? Ss 13:52 0:00 /bin/sh -c /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php > /usr/local/nagiosxi/var/eventman.log 2>&1
nagios 2953 0.4 1.4 228232 27476 ? S 13:52 0:00 /usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php
postgres 2958 0.0 0.2 218528 5152 ? Ss 13:52 0:00 postgres: nagiosxi nagiosxi ::1(51404) idle
postgres 2959 0.0 0.2 218528 5160 ? Ss 13:52 0:00 postgres: nagiosxi nagiosxi ::1(51405) idle
postgres 2961 0.1 0.2 218592 5464 ? Ss 13:52 0:00 postgres: nagiosxi nagiosxi ::1(51406) idle
postgres 2972 0.0 0.2 218548 5628 ? Ss 13:52 0:00 postgres: nagiosxi nagiosxi ::1(51408) idle
postgres 3101 0.0 0.2 218528 5148 ? Ss 13:52 0:00 postgres: nagiosxi nagiosxi ::1(51410) idle
nagios 3408 0.0 0.0 9228 1060 ? S 13:52 0:00 sh -c /usr/bin/iostat -c 5 2 | tail --lines=2 | head --lines=1 | awk '{ print $1,$2,$3,$4,$5,$6 }'
nagios 3409 0.0 0.0 4108 760 ? S 13:52 0:00 /usr/bin/iostat -c 5 2
nagios 3410 0.0 0.0 4096 520 ? S 13:52 0:00 tail --lines=2
nagios 3411 0.0 0.0 4076 484 ? S 13:52 0:00 head --lines=1
nagios 3412 0.0 0.0 9084 792 ? S 13:52 0:00 awk { print $1,$2,$3,$4,$5,$6 }


Case resolved!!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios XI would not start after upgrade to 2012R2.2

Post by abrist »

Looks good! Enjoy what's left of the week.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked