I am trying to upgrade to the latest version of XI and things are not happening the way it should. Following are the steps that I have done with the results.
- Did a full install of the latest XI on a new server - No issues
- Entered license key and activation key for Enterprise - No issues
- Restored my data, configs, etc from existing XI server (v2011R2.4) onto new XI - No issues or errors
When I went to login to new XI server, it reverted the XI version back to 2011R2.4.
- Performed the upgrade on the new server
Watching the screen all looked good until the last few lines......
Here is the last few lines: *** Compile finished ***
If the compile finished without any errors, you should
find client and server binaries in the src/ subdirectory.
Read the README file for more information on installing
the binaries, creating configuration files, and using
the server and client.
Traceback (most recent call last):
File "./install", line 17, in <module>
installpath = os.environ['INSTALL_PATH']
File "/usr/lib64/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'INSTALL_PATH'
When I went back into the new server, it was still version 2011R2.4
What am I doing wrong?
Ed
Upgrading to Enterprise
Re: Upgrading to Enterprise
So was the server running 2012r2.2 before the restore of the backup and then running 2012r2.4 afterwards?eddiez wrote:- Restored my data, configs, etc from existing XI server (v2011R2.4) onto new XI - No issues or errors
When I went to login to new XI server, it reverted the XI version back to 2011R2.4.
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.
"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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading to Enterprise
Are you making sure to log out and log back in? You should get a 'Complete Upgrade' Button then, right on the spashpage of the server's IP.
You may need to make some mini hops before being able to upgrade to 2012. Lets try this, remove all traces of the nagiosxi install package in /tmp, then download the following:
http://assets.nagios.com/downloads/nagi ... 3.3.tar.gz
extract it, and run the upgrade script. If you get no errors then remove all traces of the package and folder once again, and download this one:
http://assets.nagios.com/downloads/nagi ... 2.2.tar.gz
And upgrade via this one now. You should be set at this point. It is curious though, that you were able to enter an enterprise key in 2011 which is not possible, so you must have been upgraded at one point.
You may need to make some mini hops before being able to upgrade to 2012. Lets try this, remove all traces of the nagiosxi install package in /tmp, then download the following:
http://assets.nagios.com/downloads/nagi ... 3.3.tar.gz
extract it, and run the upgrade script. If you get no errors then remove all traces of the package and folder once again, and download this one:
http://assets.nagios.com/downloads/nagi ... 2.2.tar.gz
And upgrade via this one now. You should be set at this point. It is curious though, that you were able to enter an enterprise key in 2011 which is not possible, so you must have been upgraded at one point.
Re: Upgrading to Enterprise
slansing wrote:Are you making sure to log out and log back in? You should get a 'Complete Upgrade' Button then, right on the spashpage of the server's IP.
You may need to make some mini hops before being able to upgrade to 2012. Lets try this, remove all traces of the nagiosxi install package in /tmp, then download the following:
http://assets.nagios.com/downloads/nagi ... 3.3.tar.gz
extract it, and run the upgrade script. If you get no errors then remove all traces of the package and folder once again, and download this one:
Completed this, the following is what I saw at the end. I was able to login and answer the upgrade screen question. Should I continue with the next step?
LOGIN SUCCESSFUL!
URL: http://localhost/nagiosql/admin/verify.php
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosql/admin/verify.php --no-check-certificate --post-data 'writeMo
nitoring=Go' -O nagiosql.export.monitoring
--2013-06-26 10:25:38-- http://localhost/nagiosql/admin/verify.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4788 (4.7K) [text/html]
Saving to: "nagiosql.export.monitoring"
100%[==========================================================================================>] 4,788 --.-K/s in 0s
2013-06-26 10:26:26 (150 MB/s) - "nagiosql.export.monitoring" saved [4788/4788]
NAGIOSQL WRITE CONFIGS FAILED!\n
http://assets.nagios.com/downloads/nagi ... 2.2.tar.gz
And upgrade via this one now. You should be set at this point. It is curious though, that you were able to enter an enterprise key in 2011 which is not possible, so you must have been upgraded at one point.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading to Enterprise
Yes, are you able to log in and complete the upgrade? If so, run an apply configuration from the core config manager and let us know if it errors out.
Re: Upgrading to Enterprise
I issues the "Write monitoring data" - after a bit the screen section refreshed to a blank section. So I refreshed the screen and the was back to where I started. So I proceeded and clicked on "Write additional data" - all cfg files came back "successfully written. Next "Check configuration files" - had 432 warning 0 errors. I clicked "Restart Nagios" - message was Restart command successfully sent to Nagiosslansing wrote:Yes, are you able to log in and complete the upgrade? If so, run an apply configuration from the core config manager and let us know if it errors out.
I went and selected "Apply Configuration" -
Applying Configuration
Command submitted for processing...
Waiting for configuration verification......................................................
Configurations failed to write to file.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
View a snapshot of this configuration error
When I do "View a snapshot of this configuration error" I don't a snapshot error listed
What are the next steps.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading to Enterprise
Can you send a ticket in to [email protected]?
Re: Upgrading to Enterprise
Will doslansing wrote:Can you send a ticket in to [email protected]?
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Upgrading to Enterprise
Moving to ticketing.