Unable to upgrade to most current version of Nagios.

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Unable to upgrade to most current version of Nagios.

Postby smthomas23 » Tue Nov 27, 2012 12:41 am

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!
smthomas23
 
Posts: 6
Joined: Tue Nov 27, 2012 12:27 am

Re: Unable to upgrade to most current version of Nagios.

Postby agriffin » Tue Nov 27, 2012 2:39 pm

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


What command did you run to get this error?
agriffin
 
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Unable to upgrade to most current version of Nagios.

Postby smthomas23 » Tue Nov 27, 2012 5:00 pm

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...
smthomas23
 
Posts: 6
Joined: Tue Nov 27, 2012 12:27 am

Re: Unable to upgrade to most current version of Nagios.

Postby agriffin » Tue Nov 27, 2012 5:32 pm

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}
agriffin
 
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Unable to upgrade to most current version of Nagios.

Postby smthomas23 » Tue Nov 27, 2012 6:48 pm

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
smthomas23
 
Posts: 6
Joined: Tue Nov 27, 2012 12:27 am

Re: Unable to upgrade to most current version of Nagios.

Postby slansing » Wed Nov 28, 2012 1:18 pm

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
slansing
 
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.

Postby smthomas23 » Tue Dec 04, 2012 3:32 pm

I managed to cd to the desktop and extracted the file there and was able to uprade to v3.4.1
smthomas23
 
Posts: 6
Joined: Tue Nov 27, 2012 12:27 am

Re: Unable to upgrade to most current version of Nagios.

Postby slansing » Tue Dec 04, 2012 4:49 pm

Sounds good, thanks for letting us know that was the solution.
slansing
 
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...


Return to Community Support

Who is online

Users browsing this forum: No registered users and 12 guests