Upgrade problem

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
judge01
Posts: 33
Joined: Sun Dec 04, 2016 9:16 pm

Upgrade problem

Post 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?
You do not have the required permissions to view the files attached to this post.
dwasswa

Re: Upgrade problem

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade problem

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
dwasswa

Re: Upgrade problem

Post by dwasswa »

Thanks @scottwilkerson,

So if @judge101 runs commands
pATH.PNG
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.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Upgrade problem

Post 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
judge01
Posts: 33
Joined: Sun Dec 04, 2016 9:16 pm

Re: Upgrade problem

Post by judge01 »

thank you for the information. kindly close this thread now. :)
Locked