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!
New installation issue, httpd service wont start. Help!
-
- Posts: 6
- Joined: Sun Jun 12, 2011 10:31 pm
Re: New installation issue, httpd service wont start. Help!
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?
Do you have Gnome installed on this system?
-
- Posts: 6
- Joined: Sun Jun 12, 2011 10:31 pm
Re: New installation issue, httpd service wont start. Help!
I am using the prebuilt vmware appliance.
-
- Posts: 6
- Joined: Sun Jun 12, 2011 10:31 pm
Re: New installation issue, httpd service wont start. Help!
I am running the pre configured VM that I converted to run inside VSphere using the VMWare stand alone converter.
-
- 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!
What date did you download the VM? What is the md5sum of the ZIP file you downloaded?
-
- Posts: 6
- Joined: Sun Jun 12, 2011 10:31 pm
Re: New installation issue, httpd service wont start. Help!
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?
-
- Posts: 6
- Joined: Sun Jun 12, 2011 10:31 pm
Re: New installation issue, httpd service wont start. Help!
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?
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?
-
- 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!
Yup, confirmed that our image is broken. Here's what you need to do for a temporary workaround:
Then reboot.
Code: Select all
sed -i '/.*MACADDR.*/d' /etc/sysconfig/network-scripts/ifcfg-eth0
mkdir /var/log/httpd
chown apache.apache /var/log/httpd