Apache woes

Francis X. Maier yellowdog-general@lists.terrasoftsolutions.com
Tue Mar 16 09:03:00 2004


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'
>