Hello ALL new to the forum...
I am running Ubuntu 12.04 and running v 3.2.3 and am trying to upgrade to v 3.4.1
Here is what I have done thus far:
Downloaded the tar ball and extracted it to my Desktop.
cd /home/username/desktop - I can see the file there... I have also followed the upgrade guide from the site.
But whenever I attempt to complete the upgrade here is the error I am getting:
Error reads: Cannot open: No such file or directory
Error is NOT recoverable: exiting now
Child returned status 2
I am @ a loss as the file has been downloaded locally to my Ubuntu host but I am unable to upgrade.
Please help! Thx much!
Unable to upgrade to most current version of Nagios.
-
- Posts: 6
- Joined: Tue Nov 27, 2012 12:27 am
Re: Unable to upgrade to most current version of Nagios.
What command did you run to get this error?smthomas23 wrote:But whenever I attempt to complete the upgrade here is the error I am getting:
Error reads: Cannot open: No such file or directory
Error is NOT recoverable: exiting now
Child returned status 2
-
- Posts: 6
- Joined: Tue Nov 27, 2012 12:27 am
Re: Unable to upgrade to most current version of Nagios.
I have tried this two ways... I have tried to install the update from the extracted file on my desktop.
2nd attempt...
root@sthomas-VirtualBox:~# tar xzf nagios-3.4.1.tar.gz
tar (child): nagios-3.4.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I have even done the above command from the desktop (I did the change directorydesktop command)
Still nothing...
2nd attempt...
root@sthomas-VirtualBox:~# tar xzf nagios-3.4.1.tar.gz
tar (child): nagios-3.4.1.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I have even done the above command from the desktop (I did the change directorydesktop command)
Still nothing...
Re: Unable to upgrade to most current version of Nagios.
This seems like a permission issue. Can you post the output of the following command for me?
Code: Select all
$ ls -ld /home/username/desktop{,nagios-3.4.1.tar.gz}
-
- Posts: 6
- Joined: Tue Nov 27, 2012 12:27 am
Re: Unable to upgrade to most current version of Nagios.
I am running these commands as root. (sudo -i)
Here is the output:
The file is on the Desktop.
root@sthomas-VirtualBox:/home/sthomas/Desktop# ls
nagios nagios-3.4.1(1).tar.gz
Below is the suggested command and the results.
root@sthomas-VirtualBox:/home/sthomas/Desktop# ls -ld /home/username/desktop{,nagios-3.4.1.tar.gz}
ls: cannot access /home/username/desktop: No such file or directory
ls: cannot access /home/username/desktopnagios-3.4.1.tar.gz: No such file or directory
Here is the output:
The file is on the Desktop.
root@sthomas-VirtualBox:/home/sthomas/Desktop# ls
nagios nagios-3.4.1(1).tar.gz
Below is the suggested command and the results.
root@sthomas-VirtualBox:/home/sthomas/Desktop# ls -ld /home/username/desktop{,nagios-3.4.1.tar.gz}
ls: cannot access /home/username/desktop: No such file or directory
ls: cannot access /home/username/desktopnagios-3.4.1.tar.gz: No such file or directory
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to upgrade to most current version of Nagios.
Do you have access to a SSH terminal? I suggest upgrading this way as it is the easiest and cleanest, it is also prescribed in our upgrade guide:
http://nagios.sourceforge.net/docs/3_0/upgrading.html
http://nagios.sourceforge.net/docs/3_0/upgrading.html
-
- Posts: 6
- Joined: Tue Nov 27, 2012 12:27 am
Re: Unable to upgrade to most current version of Nagios.
I managed to cd to the desktop and extracted the file there and was able to uprade to v3.4.1
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Unable to upgrade to most current version of Nagios.
Sounds good, thanks for letting us know that was the solution.