Page 1 of 1

upgrade hiccup

Posted: Thu May 23, 2013 10:01 am
by benhank
Hey guys!
I am doing the upgrade to 2012 r2 and I am getting this:

Code: Select all

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Fatal error:  SourceGuardian Incompatible loader version. This protected script has been encoded with newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/ixeds/">latest loaders</A>. Error code [19] in /usr/local/nagiosxi/html/includes/dbl.inc.php on line 2
can you guys help do what the message suggests?

Re: upgrade hiccup

Posted: Thu May 23, 2013 10:17 am
by slansing
This should have been fixed in the latest install/upgrade scripts, this should get you around this issue:

modify:

Code: Select all

 /etc/php.d/mcrypt.ini
FROM:

Code: Select all

extension=module.so
TO:

Code: Select all

 extension=mcrypt.so 

Re: upgrade hiccup

Posted: Thu May 23, 2013 1:59 pm
by benhank

Code: Select all

# /etc/php.d/mcrypt.ini
-bash: /etc/php.d/mcrypt.ini: Permission denied
[root@LkennagiosT01 ~]# ]# /etc/php.d/mcrypt.ini

Re: upgrade hiccup

Posted: Thu May 23, 2013 2:06 pm
by abrist
You got to edit the file good sir!

Code: Select all

nano /etc/php.d/mcrypt.ini
Change the line:

Code: Select all

extension=module.so
To:

Code: Select all

extension=mcrypt.so 
and then save out with Ctrl-o to save and the Ctrl-x to exit!

Restart apache:

Code: Select all

service apache restart
Cheers!

Re: upgrade hiccup

Posted: Fri May 24, 2013 12:41 pm
by benhank
Hey thanks for Nano, it is waaaayy better than VI.

I did what you said,

Code: Select all

; Enable mcrypt extension module
extension=mcrypt.so
but the issue persists. (we both knew the easy fixes wasn't gonna work on my haunted systems). ti make it worse

Code: Select all

service apache restart
apache: unrecognized service

Re: upgrade hiccup

Posted: Fri May 24, 2013 12:56 pm
by slansing
Try:

Code: Select all

service httpd restart

Re: upgrade hiccup

Posted: Fri May 24, 2013 1:15 pm
by benhank
i did the service restarted but the problem still pops up.

Re: upgrade hiccup

Posted: Fri May 24, 2013 2:18 pm
by slansing
Please run through the following, this should get us passed the bug:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*
wget http://assets.nagios.com/downloads/nagiosxi/xi-2012-devel.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi
./upgrade 

Re: upgrade hiccup

Posted: Tue May 28, 2013 12:50 pm
by benhank
perfect as usual. all set man!

Re: upgrade hiccup

Posted: Tue May 28, 2013 12:52 pm
by abrist
benhank wrote:Hey thanks for Nano, it is waaaayy better than VI.
All hail vim!
Locking her up.