Page 1 of 1

Invalid License Key / No activation possible

Posted: Wed Oct 07, 2020 1:43 am
by TethiS
Hi,

This is a new installation of nagiosXI 5.7.3 (offline installation) on a RHEL 7.8 (Maipo).
All went ok during installation, no error messages on the xi-install.log.
Continued set-up on the web-interface, chose https over http (with self-signed certificate) and got to the registration step (license, enterprise key and activation).

Access to the web interface is done through ssh tunelling ports 80 and 443 (firewall is open only for 22/ssh port).

So, accessing https://localhost/nagiosxi is totally fine unless we need to license/activate.
The license gets accepted but on the top there is the "Your license has not yet been activated. Access to certain features of Nagios XI are restricted or limited. Activate your license now.".

On the same page, License Type shows "Invalid License Key"
Enterprise Key has no issue (shows "Enterprise Features: Enabled")

Trying to use the activation it leads to a screen showing server IP as 127.0.0.1. Trying to use this information in the Activation page at nagios website it either fails, either giving an Activation Key that is not accepted.

Is there a way you can assist us with this? (License key ends in "OTUNTR")

Re: Invalid License Key / No activation possible

Posted: Wed Oct 07, 2020 5:07 pm
by ssax
You should be able to use this to activate it from another system:

Code: Select all

https://www.nagios.com/activate/
Is the license key showing the last 6 characters of the license properly in Admin > License Information?

If the system is an offline system and you're unable to grant online access, you'll need to email (or call) sales at [email protected] and have them generate you an offline maintenance extension for your XI system so that it will extend the maintenance offline from the CLI.

Re: Invalid License Key / No activation possible

Posted: Thu Oct 08, 2020 5:22 am
by TethiS
Thanks,

actually the License is not shown at all (in the form of XXX-XXX....OTUNTR) after putting it in and clicking Update. (Licensed radio button is on but the license is not shown and is written "Invalid License Key"

I just thought the Offline activation is just meant for that, for systems not having access to the internet (what is the "offline maintenance extension"..?)

So, i guess I just need to contact [email protected] to have this sorted out.

Re: Invalid License Key / No activation possible

Posted: Thu Oct 08, 2020 4:34 pm
by ssax
They'll definitely need to generate an offline extension for you but I'm wondering why it's saying invalid license key.

Do you have this dir/file?

Code: Select all

ls -ld /usr/local/nagiosxi/var/keys
ls -l /usr/local/nagiosxi/var/keys/xi.key

Re: Invalid License Key / No activation possible

Posted: Fri Oct 09, 2020 3:37 am
by TethiS
Thanks again!

I solved the issue.
Believe it or not but the PDF provided with the license string had a space between the second letter group and the hyphen before the third group :lol: (like ABCDEF-ABCDEF -ABCDEF-ABCDEF)
I was blindly copying/pasting it and it was behaving like I described in the previous post! (I'm even susrprised i was able to notice that extra space finally)

I went then and got the offline activation key and now is fully activated.

This topic can be closed (pheu!) :P

Re: Invalid License Key / No activation possible

Posted: Fri Oct 09, 2020 7:18 am
by scottwilkerson
TethiS wrote:Thanks again!

I solved the issue.
Believe it or not but the PDF provided with the license string had a space between the second letter group and the hyphen before the third group :lol: (like ABCDEF-ABCDEF -ABCDEF-ABCDEF)
I was blindly copying/pasting it and it was behaving like I described in the previous post! (I'm even susrprised i was able to notice that extra space finally)

I went then and got the offline activation key and now is fully activated.

This topic can be closed (pheu!) :P
Great!

Locking thread