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!

httpd wonld not start after switching the path 1

Status
Not open for further replies.

frankli

Technical User
Apr 6, 2005
44
CA
Hello all,

I got a problem when changing the httpd path from /usr/local/apache to /usr1/local/apache.

after above switching, when executing httpd it complains
fopen: No such file or directory
httpd: could not open document config file /usr/local/apache/conf/httpd.conf

but web server can be started with
/usr1/local/apache/bin/httpd -f /usr1/local/apache/conf/httpd.conf

I modified the apachectl script and it could work when using the script to start/stop/resetart. Just wandering if this can be resolved at httpd binary level.

Thanks and Regards!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top