Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

having trouble starting apache on linux

Status
Not open for further replies.

pkapakos

Programmer
Jan 25, 2001
2
CA
I am new to apache, and I am having trouble starting the httpd daemon on my linux box.

Attempting to start apache as root I type the following at the shell prompt:

$ httpd -f /usr/
Nothing appears to happen, but when I check the error_log I get the message:

[Thu Jan 25 15:05:18 2001] [error] (2) No such file or directory: httpd: could not open mime types log file /usr/
The mime.types file is in /usr/ - there is no /etc directory there so I do not understand this message.

I have also tried to start the httpd daemon using:

$httpd -d /usr/
at which point the shell returns the following error:

httpd: could not open config file /usr/
Has anyone had this problem? Why is apache keep adding /etc to my ServerRoot directory of /usr/
Thanks,
Peter Kapakos
 
You need to check and change your "/conf/httpd.conf" file. There are paths set in there to say where all the other stuff can be found, which is why I bet you are looking in the "etc" directory.

Good luck!

-Ted -Teddy L. Biesecker, Jr.
Web System Analyst
HQ USSOCOM, MacDill AFB, FL
webmaster@socom.mil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top