Apache won't start
Hi, I just installed redhat8, minimal installed and then installed apache. The problem is apache won't start.
When i run "apachectl start" it looks like it start but it does not. There is no httpd pid running. I don't get any error messages. Any ideas? |
yeah , log files...
Look under /var/log/messages or if not one of the apache logfiles. These could be in a number of places depending on your distro, not sure about Mandrake. |
This is what I got in error_log
[Tue Jun 24 08:24:27 2003] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "localhost" Configuration Failed What does it mean? |
Ok, I got it working.
There was a problem in "/etc/hosts" Thanks for the help. |
Did you edit/modify your httpd.conf file at all? You'll need to tailor it to your needs, such as your IP that your serving files from.
There is a great guide to that on apache's site: www.apache.org However if you get lost (or if you have already done this) post back with any questions you have about it. As I see it, apache is looking for your IP, but you've supplied localhost instead. Cool |
logfiles usually hold the key.. Nice work FNC
|
Ok, I now have a little different problem, maybe you can help.
This Linux box is on a win2000 domain. I can ping the ip from any pc, but not the pcname. From the linux box i can ping any pc by it's pc name. Where would I bind the linux pc name to it's IP? Do I need to configure it on the DNS on WINS server? |
You were there:
/etc/hosts You can set it up as: 1.2.3.4 linux-fire Assuming IP 1.2.3.4 and linux-fire are the IP and name of the box. Cool |
If your part of a larger company domain, then yes, you will need to add the IP and name to the domains DNS server. I'm assuming your using the DNS servers IP as your DNS lookup server. My setup here is the same, and any new linux box, as well as editing /etc/hosts i have to add it to the main DNS box.
|
Thanks, thats what i thought
|
All times are GMT -5. The time now is 05:55 AM. |