[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: apache help



That was the problem.. my /etc/hosts read like this
127.0.0.1  localhost.localdomain  localhost

it was just switched!
thank you guys, Steve, Scott and Rick.  Thank you.
You guys are the best.

Thanks
Drew

service httpd start now executes fine.  but now how do i

On Tue, 29 Oct 2002, Rick Stevens wrote:

> Andrew Schaeffer wrote:
> > Same thing happens, connection was refused when trying to connect to
> > 127.0.0.1  error_log reports the same error.
> >
> > Tue Oct 29 16:02:55 2002] [alert] (22002)Name or service not known:
> > mod_unique_id: unable to find IPv4 address of
> > "localhost.localdomain"
> > Configuration Failed
>
> First off, look at your /etc/hosts file and verify that there's a line
> in there that reads:
>
> 	127.0.0.1	localhost	localhost.localdomain
>
> If not, add it.  That should solve _that_ problem.
>
> > just so i know... whats the difference between
> > /usr/sbin/apachectl start
> > and
> > service httpd start
>
> The first one starts the apache program using the apache startup
> program, apachectl.  apachectl will report an error and not do anything
> if you try to stop apache and it ISN'T running.  Ditto if you try to
> start it and it's ALREADY running.  It's a more user-friendly program
> in that if there's a problem, it tells you in English what that problem
> is.
>
> The second one tries to start apache via brute force.  It simply
> runs the actual apache daemon, httpd, and depends on it to report
> whether it starts or not.  If it doesn't start, httpd returns a non-zero
> result code and the error message shows up in the apache error_log file
> and you have to go get the message.
>
> "service httpd start" does this via the /etc/rc.d/rc[1-6].d directory
> tree that is executed when your system boots.  The actual file that
> does the work is a shell script, /etc/rc.d/init.d/httpd.
>
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -   The light at the end of the tunnel is really an oncoming train.  -
> ----------------------------------------------------------------------
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]