Page 1 of 1

After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 8:38 am
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???

Re: After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 11:21 am
by lmiltchev
Can you run the following command and show us the output?

Code: Select all

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

Re: After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 12:54 pm
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

Re: After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 1:16 pm
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.

Re: After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 1:27 pm
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?

Re: After a XI restore getting an error during Upgrade

Posted: Mon Jan 19, 2015 1:39 pm
by cmerchant
Glad that worked for you. We'll go ahead and close this thread. Thanks.