Page 1 of 1

Upgade error

Posted: Wed Nov 19, 2014 10:15 am
by hancock.jeremy
I am attempting to upgrade from 2012R2.7 to the latest version. Whenever I run the upgrade, I get the following... Ideas?

nagiosxi]# ./upgrade
PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mssql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: mssql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Checking required prereqs...
Please wait...

OLD VERSION: 316
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.raystedman.net
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.oss.ou.edu
* updates: mirror.millry.co
http://centos.alt.ru/repository/centos/ ... repomd.xml: [Errno 14] HTTP Error 403: Forbidden
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again

Re: Upgade error

Posted: Wed Nov 19, 2014 3:49 pm
by hancock.jeremy
Issure resolved.

There was a problem with the primary server. Open the repo file in a text editor:

vi /etc/yum.repos.d/centos.alt.ru.repo
or
vi /etc/yum.repos.d/centalt.repo

Note: I am not sure exactly how is your repo named. I don't have it on my system.

Next, comment out the following line (I think you should have one) so it is going to look like this:
# baseurl=http://centos.alt.ru/repository/centos/5/$basearch/

insert a line (path to a mirror site):
baseurl=http://mirror.sysadminguide.net/centalt ... $basearch/