Portal Home > Knowledgebase > Articles Database > Unable to connect to httpd server
Unable to connect to httpd server
Posted by Ishee, 02-17-2011, 08:01 AM |
Hello Everyone,
When i edited httpd.conf, and save it again, im having error on apache, when i access one of my site its always error and when i check Apache Status this error cames up
Need help URGENT!
Thanks in advance!
|
Posted by guru4hosting, 02-17-2011, 08:13 AM |
Try
telnet localhost 80
|
Posted by Ishee, 02-17-2011, 08:15 AM |
Hello Sir,
is that SSH Command?
Thank You!
|
Posted by guru4hosting, 02-17-2011, 08:17 AM |
Yes, You need to try that after you ssh
|
Posted by Ishee, 02-17-2011, 08:18 AM |
Hello Sir,
It says,
Hope you can help me.
Thanks in advance!
|
Posted by lynxus, 02-17-2011, 08:18 AM |
You should always backup a working config file before you change it.
When you start apache, Do you get any other errors? anything in the /var/log/httpd/error_log ?
|
Posted by Ishee, 02-17-2011, 08:22 AM |
Hello Sir,
I cant restart apache, and can you explain it more clearly?
Thank You!
|
Posted by Hillockhosting, 02-17-2011, 08:34 AM |
if its a cpanel server run /scripts/rebuildhttpd and /scripts/easyapache
This should fix it
|
Posted by Ishee, 02-17-2011, 08:46 AM |
Hello Sir,
It says that No Such File or Directory..
Help Please!
Thanks in advance!
|
Posted by Patrick, 02-17-2011, 10:43 AM |
Log into SSH and run the following:
/usr/local/apache/bin/apachectl configtest
Paste the error message here.
|
Posted by Ishee, 02-17-2011, 10:12 PM |
Hello Everyone,
its now fixed, thanks to guru4hosting!
Thank you for everyone who helps!
Well appreciate!
|
Posted by instantIT, 02-17-2011, 11:10 PM |
Ishee, glad to hear that it is fixed.
Take it as your lesson and make a backup copy before you modify your apache config file.
|
Add to Favourites Print this Article
Also Read