After a XI restore getting an error during Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

After a XI restore getting an error during Upgrade

Post by JakeHatMacys »

Current version is Nagios XI 2014R2.0 after my restore.... it was current but I needed to roll back.

Now when trying to upgrade I'm getting the following error:


Making all in t
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1/t'
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1'
Extra Plugins upgraded OK
Updating NRDP..
cp: cannot create regular file `/usr/local/nrdp/server/plugins/nagioscorepassivecheck/nagioscorepassivecheck.inc.php': No such file or directory
+ exit 0


Thoughts???
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: After a XI restore getting an error during Upgrade

Post by lmiltchev »

Can you run the following command and show us the output?

Code: Select all

ll -R /usr/local/nrdp/server/plugins
Be sure to check out our Knowledgebase for helpful articles and solutions!
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Re: After a XI restore getting an error during Upgrade

Post by JakeHatMacys »

lmiltchev wrote:Can you run the following command and show us the output?

Code: Select all

ll -R /usr/local/nrdp/server/plugins

[root@esu1l268 nagiosxi]# ll -R /usr/local/nrdp/server/plugins
ls: cannot access /usr/local/nrdp/server/plugins: No such file or directory

Current contents of that directory is:

[root@esu1l268 local]# ls
bin games include lib64 lost+found nagiosmobile nagvis sbin src
etc import_nag_conig lib libexec nagios nagiosxi nsis share
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: After a XI restore getting an error during Upgrade

Post by tgriep »

It looks like your NRDP folder and files are missing. Try running the following on the XI server.

Code: Select all

cd /tmp/nagiosxi/subcomponents/nrdp
./install
cd ../..
./upgrade
This will install the missing NRDP and continue on with the upgrade.
Be sure to check out our Knowledgebase for helpful articles and solutions!
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Re: After a XI restore getting an error during Upgrade

Post by JakeHatMacys »

tgriep wrote:It looks like your NRDP folder and files are missing. Try running the following on the XI server.

Code: Select all

cd /tmp/nagiosxi/subcomponents/nrdp
./install
cd ../..
./upgrade
This will install the missing NRDP and continue on with the upgrade.
That did the trick thanks, so was this just a miss in the restore script?
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: After a XI restore getting an error during Upgrade

Post by cmerchant »

Glad that worked for you. We'll go ahead and close this thread. Thanks.
Locked