upgrade hiccup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

upgrade hiccup

Post 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?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: upgrade hiccup

Post 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 
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: upgrade hiccup

Post 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
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: upgrade hiccup

Post 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!
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: upgrade hiccup

Post 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
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: upgrade hiccup

Post by slansing »

Try:

Code: Select all

service httpd restart
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: upgrade hiccup

Post by benhank »

i did the service restarted but the problem still pops up.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: upgrade hiccup

Post 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 
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: upgrade hiccup

Post by benhank »

perfect as usual. all set man!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: upgrade hiccup

Post by abrist »

benhank wrote:Hey thanks for Nano, it is waaaayy better than VI.
All hail vim!
Locking her up.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked