Entering Nagios XI key (free) SQL error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Entering Nagios XI key (free) SQL error

Post by AWS »

Clean (http) install of CentOS 5.6 32-bit
Fresh download and install of Nagios XI 2011R1.2
Port 80 - one thing of note here: in my System Config/Manage System Config/Program URL I have 'http://nagios.<externaldomainname>.com:8090/nagiosxi/'. I have it like this because I have one external IP and to get to this box I port forward to 8090. Should I have this URL set to the internal LAN URL or external LAN URL?

When I go to /nagiosxi/admin/license.php and try to enter FREE for the license key, the following error is displayed on screen:

Code: Select all

SQL: SQL Error [nagiosxi] : ERROR: duplicate key violates unique constraint "xi_options_pkey"
It is displayed above the orange Notice: This trial copy of Nagios XI will expire in 60 days. Purchase a License Now or Enter your license key. notification line

If I select "FREE" from the License Type and select Update Key, it processes then returns the same error line concatenated to the existing error (same error text twice) but License Key Updated Successfully appears in a blue notification box under the page header/title. Then if I navigate to another page, the orange notification line stating the software is in trial mode still appears. So even though the blue box says the key is updated, it really isn't.

Any ideas?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Entering Nagios XI key (free) SQL error

Post by tonyyarusso »

Try running this command:

Code: Select all

/usr/local/nagiosxi/tools/fix_postgres_sequences.sh
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: Entering Nagios XI key (free) SQL error

Post by AWS »

Thanks! :D
That worked and solved my problem.

AWS
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Entering Nagios XI key (free) SQL error

Post by mguthrie »

Good deal, let us know if you need help with anything else
Muthey
Posts: 3
Joined: Mon Nov 14, 2011 1:06 am

Re: Entering Nagios XI key (free) SQL error

Post by Muthey »

:D thanks
Locked