2011R2.2 to 2.4 Upgrade Error
2011R2.2 to 2.4 Upgrade Error
Hello:
When running the upgrade I get this:
[root@opsmon nagiosxi]# ./upgrade
Checking PostgresQL status...
PostgresQL running - continuing...
Audit log database structure already created - skipping...
Audit log database schema created successfully.
Nagios XI Audit Log Initialized OK.
Saving old crontab to /tmp/nagios.crontab.orig...
./uninstall-crontab-nagios: line 8: /tmp/nagios.crontab.orig: cannot overwrite existing file
The nagios.crontab.orig file is empty. I couldn't find anything on Google. Anyone have any ideas?
Thank you,
JG
When running the upgrade I get this:
[root@opsmon nagiosxi]# ./upgrade
Checking PostgresQL status...
PostgresQL running - continuing...
Audit log database structure already created - skipping...
Audit log database schema created successfully.
Nagios XI Audit Log Initialized OK.
Saving old crontab to /tmp/nagios.crontab.orig...
./uninstall-crontab-nagios: line 8: /tmp/nagios.crontab.orig: cannot overwrite existing file
The nagios.crontab.orig file is empty. I couldn't find anything on Google. Anyone have any ideas?
Thank you,
JG
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2011R2.2 to 2.4 Upgrade Error
yep, new bug in the installer if tmp files still exist from the previous run...
Run
Run
Code: Select all
cd /tmp
mv/tmp/nagios.crontab.orig /tmp/nagios.crontab.orig1
./upgradeRe: 2011R2.2 to 2.4 Upgrade Error
Thanks - That helped a bit. It appears that I still have an issue with the upgrade. This is what I get now:
[root@opsmon nagiosxi]# ./upgrade
Checking PostgresQL status...
PostgresQL running - continuing...
Audit log database structure already created - skipping...
Audit log database schema created successfully.
Nagios XI Audit Log Initialized OK.
Saving old crontab to /tmp/nagios.crontab.orig...
no crontab for nagios
[root@opsmon nagiosxi]#
Unfortunately, I don't have any ideas.
Regards,
JG
[root@opsmon nagiosxi]# ./upgrade
Checking PostgresQL status...
PostgresQL running - continuing...
Audit log database structure already created - skipping...
Audit log database schema created successfully.
Nagios XI Audit Log Initialized OK.
Saving old crontab to /tmp/nagios.crontab.orig...
no crontab for nagios
[root@opsmon nagiosxi]#
Unfortunately, I don't have any ideas.
Regards,
JG
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2011R2.2 to 2.4 Upgrade Error
This looks like it completed successfully..
Log out of the XI interface and back in to complete the upgrade
Log out of the XI interface and back in to complete the upgrade
Re: 2011R2.2 to 2.4 Upgrade Error
I show this after logging out then back in. I also followed the step where you hold shift and refresh the page, per http://assets.nagios.com/downloads/nagi ... ctions.pdf.
Latest Available Version: 2011R2.4
Installed Version: 2011R2.2
Last Update Check: 2012-04-27 08:55:07
Thank you for your assistance.
Latest Available Version: 2011R2.4
Installed Version: 2011R2.2
Last Update Check: 2012-04-27 08:55:07
Thank you for your assistance.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2011R2.2 to 2.4 Upgrade Error
If you go to Admin -> Check For Updates
And click the Check For Updates Now does it refresh (this normally only checks daily)
And click the Check For Updates Now does it refresh (this normally only checks daily)
Re: 2011R2.2 to 2.4 Upgrade Error
No luck - Still shows 2.2.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2011R2.2 to 2.4 Upgrade Error
I have a feeling you are working off an old tarball that hasn't been deleted.
do this
do this
Code: Select all
cd /tmp
rm -rf nagios* xi*
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd /tmp/nagiosxi
./upgrade
Re: 2011R2.2 to 2.4 Upgrade Error
I was wondering the same as you, but whether I was somehow downloading the 2.2 tarball again. So I even downloaded the 2.4 zip myself and copied it over to the /tmp directory.
I did what you suggested. System is still at 2.2.
Thank you for the persistence in helping me solve this.
I did what you suggested. System is still at 2.2.
Thank you for the persistence in helping me solve this.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: 2011R2.2 to 2.4 Upgrade Error
Please show me the output of the following
Now paste that output in your reply
Code: Select all
cd /tmp/nagiosxi
ls