Apache woes

Ben Ricker yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 16 10:44:01 2004


You need to check the errors_log in the apache home dir/logs. What does 
it say there?

One possibility: Apache must be able to resolve the IP you have in the 
ServerName. You need to have the /etc/hosts file configured correctly 
for this to happen if the IP cannot be resolved.

Check the error log and let us know what it says.

Ben Ricker


Francis X. Maier wrote:
> Ken, I get a syntax error from root with
> 
> ps axlgrep httpd
> 
> Seems to be an invalid or incomplete command.  So from root I then did
> 
> httpd -k restart
> 
> apachectl restart
> 
> and still got nothing.  Any other ideas?
> 
> 
> On Mar 16, 2004, at 8:47 AM, Ken Schweigert wrote:
> 
>> On Tue, Mar 16, 2004 at 08:37:00AM -0700, Francis X. Maier wrote:
>>
>>> I'm having a difficult time setting up a simple Apache server on my
>>> Yellow Dog Linus 3.0 box.
>>>
>>> 1.  I use vi to go into /etc/httpd/conf/httpd.conf
>>>
>>> 2.  I write the ServerName as my static IP (don't have a domain name).
>>>
>>> 3.  I tell the server to listen to [static IP]:80
>>>
>>> 4.  DocumentRoot is default /var/www/html
>>>
>>> Do I need to remove the quotation marks in lines like "var/www/html" or
>>> "/etc/httpd" to enable them?
>>>
>>> When I try to connect to my static IP from another computer, the
>>> connection just hangs and fails.  When I try to do it from my YDL box,
>>> I get a "connection refused" message.
>>>
>>> Any idea what I'm doing wrong?
>>
>>
>> I hate to ask the obvious, but is Apache running?  If so, did you restart
>> it after you made changes to httpd.conf?
>>
>>     [root@www root]# ps ax|grep httpd
>>
>>     [root@www root]# apachectl restart
>>
>> -- 
>> Ken Schweigert, Network Administrator
>> Byte Productions, LLC
>> http://www.byte-productions.com
>> _______________________________________________
>> yellowdog-general mailing list
>> yellowdog-general@lists.terrasoftsolutions.com
>> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>>
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'