I am trying to upgrade from 5.6.8 to the latest version. I am following the manual update instructions found here (https://assets.nagios.com/downloads/nag ... ctions.pdf) however I am getting the following error after running the last step < ./upgrade >
cp: cannot create regular file `/usr/local/nagiosxi/var/': No such file or directory
Any help would be appreciated.
Thanks
cp: cannot create regular file `/usr/local/nagiosxi/var/':
Re: cp: cannot create regular file `/usr/local/nagiosxi/var/
Is this a "default" (vanilla) setup? Are you using custom paths, proxy, etc.?
Can you post the entire /tmp/nagiosxi/upgrade.log file?
Also, run the following commands and show the output:
Can you post the entire /tmp/nagiosxi/upgrade.log file?
Also, run the following commands and show the output:
Code: Select all
ls -la -d /usr/local /usr/local/nagiosxi /usr/local/nagiosxi/var
grep full /usr/local/nagiosxi/var/xiversion
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: cp: cannot create regular file `/usr/local/nagiosxi/var/
Disregard.
We were connecting to the wrong nagios server. We have an old nagios server and were running the upgrade commands on that server and it obviously wasn't working. When I ran the upgrade on the proper server there were no issues.
Thanks
We were connecting to the wrong nagios server. We have an old nagios server and were running the upgrade commands on that server and it obviously wasn't working. When I ran the upgrade on the proper server there were no issues.
Thanks
Re: cp: cannot create regular file `/usr/local/nagiosxi/var/
I am glad your issue has been resolved! I will be locking this topic now. If you have any further questions/issues, please start a new thread. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!