Page 2 of 2
Re: How to upgrade XI with offloaded DB
Posted: Fri Jun 13, 2014 1:56 pm
by sreinhardt
It should work just fine with altered or default passwords and offloaded dbs. As bandit pointed out, the user\password options are taken from config.inc.php. Since the intial output doesn't specify which portion you are failing on, could you run:
And send that over? I do realize this may cause some issues for you, and a backup should be done first. But without that log I cannot say where you are failing, and what is already being completed.
Re: How to upgrade XI with offloaded DB
Posted: Mon Jun 16, 2014 6:06 pm
by rajasegar
sreinhardt wrote:It should work just fine with altered or default passwords and offloaded dbs. As bandit pointed out, the user\password options are taken from config.inc.php. Since the intial output doesn't specify which portion you are failing on, could you run:
And send that over? I do realize this may cause some issues for you, and a backup should be done first. But without that log I cannot say where you are failing, and what is already being completed.
Below are the only lines on the log file
Code: Select all
[root@nagiosprodxi1 nagiosxi]# cat /tmp/upgrade.log
PHP Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /tmp/raja/nagiosxi/nagiosxi/basedir/html/db/adodb/drivers/adodb-mysql.inc.php on line 383
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support.<br /><br />Run the following from the CLI as root to attempt to repair the DB<br /><br /><pre>/usr/local/nagiosxi/scripts/repair_databases.sh</pre>Checking required prereqs...
Please wait...
Unknown option: 2
./upgrade: line 47: usage: command not found
BTW, after Nagios reboot all the Hostgroup Summary/Overview/Grid screens will show no groups.
Have to manually Apply Configurations for it to show up.
Re: How to upgrade XI with offloaded DB
Posted: Tue Jun 17, 2014 1:45 pm
by abrist
It looks like your instance is half-upgraded as the upgrade script is bailing out. Could you send an email to
[email protected] to open a ticket?
Re: How to upgrade XI with offloaded DB
Posted: Tue Jun 17, 2014 6:13 pm
by rajasegar
abrist wrote:It looks like your instance is half-upgraded as the upgrade script is bailing out. Could you send an email to
[email protected] to open a ticket?
Done.