Hi;
I am upgrading a 32 bit XI vm appliance from 2011 R 1.9 to the latest version 2012 1.0 and amd getting the following error message:
Are you sure you want to continue? [y/N] y
Proceeding with upgrade...
chmod: cannot access `/usr/local/nagiosxi/tools/install_*.php': No such file or directory
Thanks,
Paul
error when upgrading from 2011 R1.9 to 2012 1.0
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: error when upgrading from 2011 R1.9 to 2012 1.0
This is a small bug we have seen when making this big of a jump.
You can run
You can run
Code: Select all
cd /tmp/nagiosxi
cp nagiosxi/basedir/tools/install_*.php /usr/local/nagiosxi/tools/
./upgradeRe: error when upgrading from 2011 R1.9 to 2012 1.0
Thanks scott, I ended up applying 2011 R3.3 upgrade first and then upgrading to 2012.
The update did appear to downgrade some of my plugins(i.e. check_wmi_plus) which I had newer versions installed for. I did upgrade my plugin to the latest version but the services are showing up in nagios as null results even though the plugin runs fine from the command line. The nagios log file doesn't seem to indicate what the issue is, is there anything you can suggest? is it how the test is configured in nagios xi maybe?
The update did appear to downgrade some of my plugins(i.e. check_wmi_plus) which I had newer versions installed for. I did upgrade my plugin to the latest version but the services are showing up in nagios as null results even though the plugin runs fine from the command line. The nagios log file doesn't seem to indicate what the issue is, is there anything you can suggest? is it how the test is configured in nagios xi maybe?
Re: error when upgrading from 2011 R1.9 to 2012 1.0
Are you sure that you are using the same command for your check as the one that you are testing from the command line?
What happens when you go to: Core Config Manager->Services->Modify->Test Check Command? What is the output?
What happens when you go to: Core Config Manager->Services->Modify->Test Check Command? What is the output?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: error when upgrading from 2011 R1.9 to 2012 1.0
I found the problem, the updated check_wmi_plus.pl plugin(1.53) I downloaded had to updated with the correct path to the utils.pm file. When I was testing from the command line I was running it from the libexec directory where the file was located. Thanks for your help
Re: error when upgrading from 2011 R1.9 to 2012 1.0
I just got the same error when trying to upgrade from 2011R3.3. I copied the 3 php files to /usr/local/nagiosxi/tools, however when I run the upgrade script, I get the same error.
I noticed in the upgrade script, there's double quotes on the line that chmod's the 3 php files to be executable. If I run the command manually, the chmod works correctly.
UPDATE: I removed the double quotes from the upgrade script and the upgrade completed with no errors.
Can anyone help?
I noticed in the upgrade script, there's double quotes on the line that chmod's the 3 php files to be executable. If I run the command manually, the chmod works correctly.
UPDATE: I removed the double quotes from the upgrade script and the upgrade completed with no errors.
Can anyone help?
Code: Select all
===================
2012 Updates
===================
NOTICE: This upgrade script will update all XI components, wizards, and dashlets
to the latest available versions. Before running this upgrade the currently
installed versions will be backed up to the /tmp directory.
Are you sure you want to continue? [y/N] y
Proceeding with upgrade...
chmod: cannot access `/usr/local/nagiosxi/tools/*.php': No such file or directory