Page 1 of 1

Nagios xi License update Error

Posted: Tue Sep 06, 2016 3:47 pm
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?

Re: Nagios xi License update Error

Posted: Tue Sep 06, 2016 3:53 pm
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

Re: Nagios xi License update Error

Posted: Tue Sep 06, 2016 4:07 pm
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

Re: Nagios xi License update Error

Posted: Tue Sep 06, 2016 4:23 pm
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

Re: Nagios xi License update Error

Posted: Wed Sep 07, 2016 9:10 am
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

Re: Nagios xi License update Error

Posted: Wed Sep 07, 2016 10:11 am
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

Re: Nagios xi License update Error

Posted: Wed Sep 07, 2016 2:25 pm
by lmiltchev
You have two Nagios XI instances, correct? Are you sure that you are using the correct key for each license?

Re: Nagios xi License update Error

Posted: Wed Sep 07, 2016 2:41 pm
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

Re: Nagios xi License update Error

Posted: Wed Sep 07, 2016 2:50 pm
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.