According to Anwar M. Haneef: While burning my CPU.
> 
> 
> Look in /etc/inetd.conf 
>       Here you can add the new deamon you want to start with system
> startup. An example is:
> 
> http    stream  tcp     nowait  root    /users/web/bin/httpd   httpd 
> 
> where http is the protocol, stream the socket type, tcp the protocol, root
> the owner, /users/web/bin/httpd the executable, /users/httpd/httpd
> probably being the default ( I think ) and the nickname httpd to start it
> otherwise  ( I think ). I suppose this will help you out.

Huum, where ever did you get this example from, i bet not from using it;
httpd is a daemon and when its started it will listen for connections on the
defined port, normaly port 80.

Doing what you do will result in;

bind: Address already in use
httpd: could not bind to port 80

However when httpd is started with "httpd" from a bootscript or at the
console, one can use telnet from a console to see if httpd will answer,
when i do;

telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get http:/pa3gcu.ampr.org
<HEAD><TITLE>Bad Request</TITLE></HEAD>
<BODY><H1>Bad Request</H1>
Your browser sent a query that
this server could not understand.<P>
</BODY>
Connection closed by foreign host.

Which shows me that the daemon is listning on port 80, the command i issued
is irelavant, it shows that the system works.

> 
> Regards,
> Anwar
> 
> On Wed, 21 Oct 1998, Nagle, Adrian wrote:
> 
> > Where is the best place to start the httpd on boot up?  I am only now
> > starting to learn the boot sequence...
> > 
> > Adrian
> > 
> > -- 
> > Adrian Nagle             Ball Aerospace & Technologies Corp.
> > Thermal Engineer                               P.O. Box 1062
> > TEL: 303-939-6518                    Boulder, CO  80306-1062
> > FAX: 303-939-5166               http://www.ballaerospace.com
> > 
> > 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to