Page 1 of 1

Update just stops dead

Posted: Tue Apr 07, 2015 1:38 pm
by c.slagel
Trying to upgrade from 2012R2.9 to the latest version...

The upgrade goes fine for a while, then just stops. Here's the last line it gets to:

Code: Select all

make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
Making all in t
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
Extra Plugins upgraded OK
Updating NRDP..
cp: cannot stat `/usr/local/nrdp/server/config.inc.php': No such file or directory
[root@localhost nagiosxi]# 
You can see it just drops me back to the shell, no error or anything? Any insight? I can give the whole upgrade dump if need be. Thanks!

Re: Update just stops dead

Posted: Tue Apr 07, 2015 1:41 pm
by abrist
If you could post the full log as an attachment, that would be nice.
Does the nrdp server directory exist?

Code: Select all

ls -la /usr/local/nrdp/
If so, what are the permissions on:

Code: Select all

ls -la /usr/local/nrdp/server/config.inc.php

Re: Update just stops dead

Posted: Tue Apr 07, 2015 1:51 pm
by c.slagel
Sure thing, I'll attach it to this post.

Also, looks like nrdp server directory does not exist:

Code: Select all

[root@localhost nagiosxi]# ls -la /usr/local/nrdp/
ls: cannot access /usr/local/nrdp/: No such file or directory
[root@localhost nagiosxi]# 
Is this something that should have been in the Nagios installation originally or installed in a subsequent update?

Re: Update just stops dead

Posted: Tue Apr 07, 2015 2:03 pm
by scottwilkerson
Did someone move/remove nrdp from the server?

It could be re-installed by running the following

Code: Select all

cd /tmp/nagiosxi/subcomponents/nrdp
./install
Then you should be able to perform the upgrade

Code: Select all

cd /tmp/nagiosxi
./upgrade

Re: Update just stops dead

Posted: Tue Apr 07, 2015 2:30 pm
by c.slagel
Not sure what happened to it... Pretty sure nobody deleted it. But I reinstalled it and the upgrade went fine. Thanks!

Re: Update just stops dead

Posted: Tue Apr 07, 2015 2:35 pm
by cmerchant
Can we go ahead and close this thread? Thanks.