Initial Install httpd error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
joedirt
Posts: 7
Joined: Fri Jun 10, 2011 2:18 pm

Initial Install httpd error

Post by joedirt »

Distro: CentOS 5.6 (Final) i386
Manual Install w/Gnome installed

Currently on the prereqs install of the XI install on my server and I am getting the error " Prerequisite program 'httpd' not found! " Though when I check the system I can verify that it is already installed. Might this version of CentOS not be supported? Had some issues with the yum install portion too that I was able to resolve.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Initial Install httpd error

Post by lmiltchev »

I am going to try to run the install script on CentOS 5.6 (Installation on CentOS 5.5 usually goes pretty smoothly). I will get back to you as soon as I identify the problem. Meanwhile, you can try to reinstall httpd by running: "yum install httpd" and then "service httpd status" (to verify that the service is running).
Be sure to check out our Knowledgebase for helpful articles and solutions!
joedirt
Posts: 7
Joined: Fri Jun 10, 2011 2:18 pm

Re: Initial Install httpd error

Post by joedirt »

Thank you for the quick reply. The service for httpd was stopped but had already been installed saying "Package httpd-2.2.3-45.el5.centos.1.i386 already installed and latest version; nothing to do". I am retrying the ./1-prereqs with the service started.
joedirt
Posts: 7
Joined: Fri Jun 10, 2011 2:18 pm

Re: Initial Install httpd error

Post by joedirt »

Just tried the install with the httpd service running. No go. still errors out with " ERROR: Prerequisite program 'httpd' not found! ".
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Initial Install httpd error

Post by tonyyarusso »

Try doing a `killall httpd && service httpd start`.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
joedirt
Posts: 7
Joined: Fri Jun 10, 2011 2:18 pm

Re: Initial Install httpd error

Post by joedirt »

I did the killall command and still no go. I see on initial execution of the ./1-prereqs script it says about 20 responses down "httpd is already installed and latest version"

it seems to go through most of the script without issue, loading all the perl installs and whatnot. Though since I have ran this script a few times it is saying "....already installed and latest version. Nothing to do." as to be expected.

at the end of the script is where I get my error.

Code: Select all

Setting up Install Process
Package perl-DBD-Sybase-1.10-1.el5.rf.i386 already installed and latest version
Nothing to do
Prerequisite program 'sed' found at /bin/sed
Prerequisite program 'ping' found at /bin/ping
Prerequisite program 'wget' found at /usr/bin/wget
Prerequisite program 'php' found at /usr/bin/php
Prerequisite program 'mrtg' found at /usr/bin/mrtg
Prerequisite program 'pear' found at /usr/bin/pear
which: no httpd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jct/bin)
ERROR: Prerequisite program 'httpd' not found!
Prerequisite program 'psql' found at /usr/bin/psql
Prerequisite program 'mysql' found at /usr/bin/mysql
Prerequisite program 'mysqladmin' found at /usr/bin/mysqladmin
Prerequisites missing - exiting.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Initial Install httpd error

Post by nscott »

I think that there was a problem with the install script that has since been fixed. I was able to duplicate your problem on Friday and another member of the team was having trouble at the exact same portion of the script. It has since been changed and we have tested it to work on CentOS 5.6 i386 distro.

Can you redownload the manual install at http://assets.nagios.com/downloads/nagi ... est.tar.gz and give that a go?
Nicholas Scott
Former Nagios employee
joedirt
Posts: 7
Joined: Fri Jun 10, 2011 2:18 pm

Re: Initial Install httpd error

Post by joedirt »

I re-downloaded that and tried it again. Same issue occurred. So I finally found the old repositories for CentOs 5.5 and re-installed. Ran through the installation instructions and with 5.5 and installed flawlessly. Thanks for the help. On with the configuration! :ugeek:
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Initial Install httpd error

Post by nscott »

Right on joe, configure on!
Nicholas Scott
Former Nagios employee
Locked