Hello,
I have Nagios NA 2.2.3 running and would like to upgrade to the new version. I tried in the GUI and it seems to be doing the upgrade and it even says "Upgrade Complete", but in the screen there is a message that says " ./libinstall.sh: line 312: php-config: command not found. I also tried running it in the command line but got the same message.
i followed the upgrade document when i did the command line upgrade but it seems to be not working. can anybody tell me what am i missing?
Upgrade problem
Upgrade problem
You do not have the required permissions to view the files attached to this post.
Re: Upgrade problem
Have you tried looking in the log files from when it failed?
Also, what version of Linux are you running?
Code: Select all
/var/log/messages
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade problem
you are missing a a file that is normaily located at /usr/bin/php-config
I believe it is included with the php-devel package
The you should be able to perform the upgrade
I believe it is included with the php-devel package
Code: Select all
yum install php-devel -y
Re: Upgrade problem
Thanks @scottwilkerson,
So if @judge101 runs commands He must be missing the path
So if @judge101 runs commands He must be missing the path
Code: Select all
/usr/bin/php-config
You do not have the required permissions to view the files attached to this post.
Last edited by dwasswa on Fri Sep 08, 2017 2:35 pm, edited 1 time in total.
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Upgrade problem
Are you running the installer as root? Please attach your /etc/sudoers and the output of the @sestatus command.
Also, of course, please run the command Scott gave you: yum install php-devel -y
Also, of course, please run the command Scott gave you: yum install php-devel -y
Re: Upgrade problem
thank you for the information. kindly close this thread now.