HI All,
Upgraded to 2012 R1 using the upgrade notes its completed with 112 errors and now we get this on the login screen and cant login ..
PHP script /usr/local/nagiosxi/html/includes/dbl.inc.php is protected by SourceGuardian and requires the SourceGuardian loader ixed.5.1.lin. The SourceGuardian loader has not been installed, or is not installed correctly. Please find the required loader within SourceGuardian installation directory or visit the SourceGuardian php encoder site to download it.
Running on
Cent0S Linux 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Upgrade was from 2011 R3.3
Is there an upgrade log that i can send up?
Any Ideas please ?
Thanks
Upgrade to 2012 PHP error
Re: Upgrade to 2012 PHP error
Can you run the following script from the installation tarball:
And then re-run the upgrade and dump the output to a log file:
(It's possible it may work fine the 2nd time)
Code: Select all
cd /tmp/nagiosxi
./install-sourceguardian-extension.shCode: Select all
./upgrade &> upgrade.logRe: Upgrade to 2012 PHP error
Hello this is what i get
[root@noc nagiosxi]# ./install-sourceguardian-extension.sh
PHP: Error parsing /etc/php.ini on line 639
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Should run the upgrade again anyway?
[root@noc nagiosxi]# ./install-sourceguardian-extension.sh
PHP: Error parsing /etc/php.ini on line 639
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Should run the upgrade again anyway?
Re: Upgrade to 2012 PHP error
So just out of curiousity, what's on line 639 of /etc/php.ini? 
Re: Upgrade to 2012 PHP error
oh yes this is what's there
[Date]
; Defines the default timezone used by the date functions
date.timezone = ZONE=Europe/London <<<<<< LIne 639
[Date]
; Defines the default timezone used by the date functions
date.timezone = ZONE=Europe/London <<<<<< LIne 639
Re: Upgrade to 2012 PHP error
Ok, that could be our culprit. Try the following for that line instead:
Restart apache, and then try the previous steps once more.
Code: Select all
[Date]
; Defines the default timezone used by the date function
date.timezone=Europe/LondonRe: Upgrade to 2012 PHP error
OK
changed as advised, didn't get the line 639 error
[root@noc nagiosxi]# ./install-sourceguardian-extension.sh
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
ran upgrade again
completed successfully and back on line and working
Thank you.
changed as advised, didn't get the line 639 error
[root@noc nagiosxi]# ./install-sourceguardian-extension.sh
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
ran upgrade again
completed successfully and back on line and working
Thank you.