Re: failed to cennect to localhost


Subject: Re: failed to cennect to localhost
From: nathan r. hruby (nhruby@arches.uga.edu)
Date: Sun Nov 04 2001 - 08:21:12 MST


On Sun, 4 Nov 2001, Jeff Erickson wrote:

> I have installed the everything package from Yellow Dog on my iMac and all
> is running fine except when I try to connect to localhost thru any browser.
> Any help would be appreciated.
>

If you're using a browser that would mean you need a web server running on
your machine to answer requests. To determine if a web server is runing
on yourt machine use "ps ax | grep httpd" which should yield something
that looks like:

[nathan@fatboy nathan]$ ps ax | grep httpd
657 ? S 0:07 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PHP4 -D HAVE_PRO
4346 ? S 0:00 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PHP4 -D HAVE_PRO
4347 ? S 0:00 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PHP4 -D HAVE_PRO
4348 ? S 0:00 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PHP4 -D HAVE_PRO
4349 ? S 0:00 /usr/sbin/httpd -D HAVE_PERL -D HAVE_PHP4 -D HAVE_PRO
[nathan@fatboy nathan]$

If you don't get that, do the following as root:
"/sbin/service httpd start"

Which will start the apache webserver. If you'd like apache to start
every time you boot linux on your iMac, use the command (again, as root)
"/sbin/chkconfig httpd on" (You can also use the RedHat SysV Runlevel
editor or just manually throw the symlinks into the correct places in
/etc/init.d/*, but chkconfig is probably the easiest and is becoming the
default on RedHat and other RSL based systems.. AFIK, chkconifg is
originally an Irix tool, and frankly the only nice thing about Irix :)

-n (the other nathan :)

-- 
......
nathan hruby - nhruby@arches.uga.edu
computer support specialist
department of drama and theatre
http://www.drama.uga.edu/
......



This archive was generated by hypermail 2a24 : Sun Nov 04 2001 - 08:33:41 MST