HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   apache fail to load due bad httpd.conf file (http://www.howtoforge.com/forums/showthread.php?t=3727)

Hellbound 14th April 2006 22:31

apache fail to load due bad httpd.conf file
 
1 Attachment(s)
hi guys
I've followed the guide to install ispconfig however it failed to load apache, I replaced the original http.conf file and it did loaded...

so if you can take a look where is the problem in the file since I couldn't find the message for which line is the cause

thanks

till 15th April 2006 11:14

Please post the output of:

httpd -t

with your not functioning httpd.conf in place.

Hellbound 15th April 2006 11:17

it says:
Syntax OK


but before I do the first reboot I get this error for starting httpd:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting httpd:

till 15th April 2006 11:24

Is this a fresh installtion of ISPConfig?

Try to:

cd /
/etc/init.d/httpd start

(replace the name of the httpd start script with the name used on your server, e.g httpd, apache or apache2)

falko 15th April 2006 14:11

Quote:

Originally Posted by Hellbound
but before I do the first reboot I get this error for starting httpd:

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting httpd:

You're trying to start Apache from a directory that has been deleted in the meantime, that'S why you get the error messages. They have nothing to do with your Apache, it shourd work fine, so you can use your "not working" (which in fact is working) httpd.conf without problems. :)


All times are GMT +2. The time now is 07:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.