tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* http server configured as 'inetd'
@ 1996-06-25 13:47 Ulrike Hanslik-Landry
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrike Hanslik-Landry @ 1996-06-25 13:47 UTC (permalink / raw)
  To: tru64-unix-managers

Hello!
	We have just started a new community freenet using a DEC alpha-OSF/2
platform.  Our alpha is located on the university campus and is 
currently operating under the university's internet domain.  We have been 
installing various software packages including the Chebucto Suite, and are 
now working on installing our http server Apache.
	The Apache daemon is running, but when we try to access our home 
web page we get error messages:
		
	Netscape - socket is not connected
	Lynx - transmission aborted
	
	We've tried changing the inetd.conf file and the /etc/services 
file to show the new http daemon at port 80 and rebooted, but this still 
didn't solve our problem.  In fact, since making those changes, our Pine 
email has been screwed up:  we can send messages out, but we can't get 
any in.  
	When we do a "ps -ef" command, all the processes have  ??  
under the TTY designation.  The university's DG/UX knows that our alpha 
'is alive' and when we do 'interactive mail' from the DG/UX we do get the 
message into the freenet Pine.  
	We're stuck ... can anyone help?
	Thanks very much for your time!
 
     *     /\   /\               Ulrike   
 *        \_ @ @ _/              Algoma University
  *        ~\_o_/~      *        Sault Ste. Marie, Canada
       *   (     )               email:  uhanslik@eagle.auc.on.ca
            \   /   )     *                                                  
             * * ~~~                        @}-,-'---       
          `--------`                            
You must do what you think you cannot do.   Eleanor Roosevelt.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* http server configured as "inetd"
@ 1996-06-28 19:07 Ulrike Hanslik-Landry
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrike Hanslik-Landry @ 1996-06-28 19:07 UTC (permalink / raw)
  To: tru64-unix-managers

Good Friday to you all!
	Thank you very much to those managers who offered suggestions to 
my question which is below.  I really appreciate your timely help.
	We took your suggestions of making the server "standalone" and it 
works great! Thank you very much!!
	
				Ulrike   uhanslik@eagle.auc.on.ca

>	We have just started a new community freenet using a DEC alpha-OSF/2
> platform.  ...  and are now working on installing our http server Apache.
> We compiled and made a call to Apache (no errors) but when we try to 
> access our home web page we get error messages:
>	Netscape - socket is not connected
>	Lynx - transmission aborted
>	We've tried changing the inetd.conf file and the /etc/services 
> file to show the new http daemon at port 80 and rebooted, but this still 
> didn't solve our problem.  

---------------------------Summary of replies----------------------------
From: Gyula Szemenyei <szemgy@rkk.hu>
I suggest to run httpd standalone. It will be much faster! (Tha consumes 
more memory but it doesn't matter - you can configure the number of httpd 
children.)

From: "Andrew C. Saylor" <asaylor@alpha.comsource.net>
Why are you launching Apache from INETD?  I use Apache here and have found
it to be a very stable program. I would suggest you run Apache and just
place it in the background so that it will listen on port 80 all the time. 
That will reduce load on INETD and speed the WWW docs. Using INETD for
apache means that Apache will be constantly loaded and unloaded from
memory as WWW requests come in. Since apache takes a second or so to
launch, that will be a delay in getting the web page. 

From: "Steven E. Newton" <snewton@oac.hsc.uth.tmc.edu>
Apache doesn't run under inetd -- it's a standalone daemon.

From: bremner@cs.mcgill.ca
you probably don't want to run httpd from inetd anyway. My understanding
is that there is a substantial performance hit.
Here is /sbin/init.d/http, a script to start and stop httpd.
You then need to place a link in /sbin/rc3.d to ../init.d/http
mine is S76http, which starts it almost last.
#!/bin/sh
# ver	author	date	text
# .01	smy	5/14/93 created
#
PATH=/sbin:/usr/sbin:/usr/bin
export PATH
case "$1" in
'start')
	if [ -f /labs/cgm/local/pkg/WWW/bin/httpd ]
	then
		echo "Starting CERN httpd"
		/labs/cgm/local/pkg/WWW/bin/httpd -r  /labs/cgm/local/pkg/WWW/config/httpd.conf
	fi
	;;
'stop')
	pid="`cat /var/adm/httpd-pid`"
	/bin/kill  $pid
	;;
*)
	echo "usage: http {start|stop}"
	;;
esac

From: Anthony D'Atri <aad@nwnet.net>
Run httpd out of rc.whatever, not inetd.conf.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-06-28 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-25 13:47 http server configured as 'inetd' Ulrike Hanslik-Landry
  -- strict thread matches above, loose matches on Subject: below --
1996-06-28 19:07 http server configured as "inetd" Ulrike Hanslik-Landry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox