Page 1 of 1

Upgrade problem

Posted: Fri Sep 08, 2017 2:44 am
by judge01
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?

Re: Upgrade problem

Posted: Fri Sep 08, 2017 11:47 am
by dwasswa
Have you tried looking in the log files from when it failed?

Code: Select all

/var/log/messages
Also, what version of Linux are you running?

Re: Upgrade problem

Posted: Fri Sep 08, 2017 1:13 pm
by scottwilkerson
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

Code: Select all

yum install php-devel -y
The you should be able to perform the upgrade

Re: Upgrade problem

Posted: Fri Sep 08, 2017 1:39 pm
by dwasswa
Thanks @scottwilkerson,

So if @judge101 runs commands
pATH.PNG
He must be missing the path

Code: Select all

/usr/bin/php-config

Re: Upgrade problem

Posted: Fri Sep 08, 2017 1:42 pm
by dwhitfield
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

Re: Upgrade problem

Posted: Wed Sep 13, 2017 2:33 am
by judge01
thank you for the information. kindly close this thread now. :)