New installation issue, httpd service wont start. Help!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ctmiller82
Posts: 6
Joined: Sun Jun 12, 2011 10:31 pm

New installation issue, httpd service wont start. Help!

Post by ctmiller82 »

Hello I have a fresh install of the newest nagios xi running inside vsphere

Virtual Machine version is 7
CentOS release 5.4 (final)
Kernel 2.6.18-238.12.1.e15 on an 1686

After configuring my interface and brining it up I noticed I was unable to access the the nagiosxi configuration page on port 80. After some basic troubleshooting I discovered the following problem when running servce httpd start

Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/logs/error_log.
Unable to open logs [failed]

I thought maybe something went wrong during installation so I preformed another install and the same problem is happening. I'm not that familiar with Linux/Unix OS's so my ability is weak but I attempted to open /etc/httpd/logs/error_log

When i open /etc/httpd/logs/ it tells me there is no directory "logs"

Next I decided to do a ls -l logs inside the /etc/httpd/ directory, below is my output
lrwxrwxrwx 1 root root 19 May 24 14:49 logs -> ../../var/log/httpd

Any help would be much appreciated, thank you!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: New installation issue, httpd service wont start. Help!

Post by mguthrie »

Just to clarify, are you using our pre-installed Nagios XI VM, or did you do a manual install on your own VM?

Do you have Gnome installed on this system?
ctmiller82
Posts: 6
Joined: Sun Jun 12, 2011 10:31 pm

Re: New installation issue, httpd service wont start. Help!

Post by ctmiller82 »

I am using the prebuilt vmware appliance.
ctmiller82
Posts: 6
Joined: Sun Jun 12, 2011 10:31 pm

Re: New installation issue, httpd service wont start. Help!

Post by ctmiller82 »

I am running the pre configured VM that I converted to run inside VSphere using the VMWare stand alone converter.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: New installation issue, httpd service wont start. Help!

Post by tonyyarusso »

What date did you download the VM? What is the md5sum of the ZIP file you downloaded?
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
ctmiller82
Posts: 6
Joined: Sun Jun 12, 2011 10:31 pm

Re: New installation issue, httpd service wont start. Help!

Post by ctmiller82 »

Not sure how to calculate the md5 hash but I downloaded on Saturday 6/11/2011 and it appears to be the newest release. Any idea on whats wrong?
ctmiller82
Posts: 6
Joined: Sun Jun 12, 2011 10:31 pm

Re: New installation issue, httpd service wont start. Help!

Post by ctmiller82 »

Small Update
I re downloaded the current VMWare Image, reinstalled, same thing. I than changed the VM Version from 7 to 4 and re converted, same thing. Possible the image is bad? Any directions on how to fix?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: New installation issue, httpd service wont start. Help!

Post by tonyyarusso »

Yup, confirmed that our image is broken. Here's what you need to do for a temporary workaround:

Code: Select all

sed -i '/.*MACADDR.*/d' /etc/sysconfig/network-scripts/ifcfg-eth0
mkdir /var/log/httpd
chown apache.apache /var/log/httpd
Then reboot.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked