mysql_pconnect and cp *.zip issues while preforming upgrade
Posted: Fri Jul 18, 2014 2:09 pm
Upgrading from 2014R1.2 to 2014R1.3 using the manually installer I received the following message:
I did change the default ndoutils password earlier so it would explain the error but it is unclear to me if the script was able to get past this message or if I really do need to run /usr/local/nagiosxi/scripts/repair_databases.sh? From what I can tell things appear to be OK but it would be nice to have confirmation this was not an issue.
Also I noticed this message as well:
Again I am unclear whether this is a problem.
Thanks
Tyler
Code: Select all
[root@nagios nagiosxi]# ./upgrade
PHP Warning: mysql_pconnect(): Access denied for user 'ndoutils'@'localhost' (using password: YES) in /usr/local/src/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...
OLD VERSION: 405
Loaded plugins: fastestmirror
Determining fastest mirrors
<snip>
Also I noticed this message as well:
Code: Select all
<snip>Sourceguardian extension already in php.ini
Copying over new XI directory...
/bin/chown: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory
chmod: cannot access `/usr/local/nagiosxi/tmp/*.zip': No such file or directory
Building latest perms binary...
Updating NagiosQL..
<snip>
Thanks
Tyler