Lost Configuration Wizzards after upgrade to 2012r1.8

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
emperaza
Posts: 16
Joined: Fri Apr 15, 2011 12:08 pm

Lost Configuration Wizzards after upgrade to 2012r1.8

Post by emperaza »

Hello Folks,

I recently upgrade two instances of Xi from 2011r1.9 to 2012r1.8 last week. Both upgrades went very smoothly from what I could tell but on one of them I seem to have only two Config Wizards installed and the "Configuration Home" page is completely blank. Please advise.

-Manny
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Lost Configuration Wizzards after upgrade to 2012r1.8

Post by scottwilkerson »

Can you run the following while trying to access the wizards and post the results

Code: Select all

tail -f /var/log/httpd/error_log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
emperaza
Posts: 16
Joined: Fri Apr 15, 2011 12:08 pm

Re: Lost Configuration Wizzards after upgrade to 2012r1.8

Post by emperaza »

Trying to access the wizards does not seem to generate any errors the last errors are from yesterday afternoon:

Code: Select all

[root@ditnocms03 ~]# tail -f /var/log/httpd/error_log
[Sun Apr 28 04:02:35 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 28 04:02:35 2013] [notice] Digest: done
[Sun Apr 28 04:02:35 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
PHP Warning:  include_once(/usr/local/nagiosxi/html/includes/components/bulkhostimport/../configwizardhelper.inc.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/bulkhostimport/bulkhostimport.inc.php on line 8
PHP Warning:  include_once(): Failed opening '/usr/local/nagiosxi/html/includes/components/bulkhostimport/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/bulkhostimport/bulkhostimport.inc.php on line 8
PHP Warning:  include_once(/usr/local/nagiosxi/html/includes/components/bulkhostimport/../configwizardhelper.inc.php): failed to open stream: No such file or directory in /usr/local/nagiosxi/html/includes/components/bulkhostimport/bulkhostimport.inc.php on line 8
PHP Warning:  include_once(): Failed opening '/usr/local/nagiosxi/html/includes/components/bulkhostimport/../configwizardhelper.inc.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagiosxi/html/includes/components/bulkhostimport/bulkhostimport.inc.php on line 8
but as I mentioned the wizards just don't seem to be installed....
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Lost Configuration Wizzards after upgrade to 2012r1.8

Post by abrist »

It looks like the bulk import wizard was installed as a component instead of a wizard at some point in the past. There is now sanity checking in place to make sure this can't happen again in the future. To clear up the problem, run the following:

Code: Select all

rm -rf /usr/local/nagiosxi/html/includes/components/bulkhostimport/
Now try to access the wizards once again.
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.
emperaza
Posts: 16
Joined: Fri Apr 15, 2011 12:08 pm

Re: Lost Configuration Wizzards after upgrade to 2012r1.8

Post by emperaza »

That did it, thank you very much!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Lost Configuration Wizzards after upgrade to 2012r1.8

Post by abrist »

No problem. Locked and cheers.
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