Nagios xi License update Error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
srikgali
Posts: 46
Joined: Thu Apr 07, 2016 9:18 am

Nagios xi License update Error

Post by srikgali »

HI I am getting below error while updating Nagios License information

[hostname]# php reset_maintenance.php --key=< License Key>
PHP Fatal error: SourceGuardian Incompatible loader version. This protected script has been encoded with a newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/loaders/">latest loaders</A>. Error code [19] in /usr/local/nagiosxi/tools/reset_maintenance.php on line 3


Can you help me with this?
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios xi License update Error

Post by rkennedy »

You should be able to do this through the GUI, is there a specific reason you're doing so from the CLI?

What is the output from these commands?

Code: Select all

php --version
cat /etc/php.d/sourceguardian.ini
Former Nagios Employee
srikgali
Posts: 46
Joined: Thu Apr 07, 2016 9:18 am

Re: Nagios xi License update Error

Post by srikgali »

I have Even tried With GUI, Still not able to update.

[Hostname]$ php --version
PHP 5.3.3 (cli) (built: May 10 2016 21:39:50)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies


[Hostname]$ cat /etc/php.d/sourceguardian.ini
extension=ixed.5.3.lin
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios xi License update Error

Post by rkennedy »

That looks good, does the file exist for SourceGuardian still, and what are the permissions?

Code: Select all

ls -al /usr/lib64/php/modules/ixed.5.3.lin
Former Nagios Employee
srikgali
Posts: 46
Joined: Thu Apr 07, 2016 9:18 am

Re: Nagios xi License update Error

Post by srikgali »

Hallo,

It has root permissions

-rw-r--r-- 1 root root 95163 Aug 11 2013 /usr/lib64/php/modules/ixed.5.3.lin
srikgali
Posts: 46
Joined: Thu Apr 07, 2016 9:18 am

Re: Nagios xi License update Error

Post by srikgali »

I have even tried after changing permissions. Still Same problem.

New Permissons:
-rwxr-xr-x 1 root root 95163 Aug 11 2013 /usr/lib64/php/modules/ixed.5.3.lin
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios xi License update Error

Post by lmiltchev »

You have two Nagios XI instances, correct? Are you sure that you are using the correct key for each license?
Be sure to check out our Knowledgebase for helpful articles and solutions!
srikgali
Posts: 46
Joined: Thu Apr 07, 2016 9:18 am

Re: Nagios xi License update Error

Post by srikgali »

NO, We have single Nagios xi server and this is correct Key.

looks like below error says update sourceguardian. Not sure what is that.

[hostname]# php reset_maintenance.php --key=< License Key>
PHP Fatal error: SourceGuardian Incompatible loader version. This protected script has been encoded with a newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/loaders/">latest loaders</A>. Error code [19] in /usr/local/nagiosxi/tools/reset_maintenance.php on line 3
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios xi License update Error

Post by lmiltchev »

What is the Nagios XI version that you are currently using? Can you PM me the key, so that I can verify it is the correct one?
You can also email it to our sales team at [email protected], and ask them to check it out.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked