When port 901 is listed in /etc/services, the machine will associate port 901 requests with a specified application, in this case swat. You don't need httpd running to connect to swat any more than you need telnetd running to telnet into a standard installation. By default, telnetd is started on demand by xinetd when there's a port 23 request made to the box. If it's in /etc/xinetd.d/ as a file named "swat", and if the "disable =" condition is set to "no", then the box will accept requests of port 901, attempt to hand them off to the xinetd that's listening for a configured list of ports, and connect them to swat. swat behaves as a self-sufficient web server, just like webmin. The man page on swat, online at http://us1.samba.org/samba/docs/man/swat.8.html, is very brief and very clear. It runs from inetd (xinetd in modern systems). There's no mention of apache.
You might, MIGHT, need to check your /etc/sysconfig/ipchains for a block on this port in a RH 7.3 installation. RH 7.x configures a medium-security firewall by default and asks you specifically which ports to allow during installation. You can run, as root, "/sbin/ipchains -F", then attempt another connection to localhost:901 to see if your firewall rules are the problem. If the flush allows you to connect, then you can add "-A -s 0/0 -d 0/0 901 -p tcp -y -j ACCEPT" or something a little more network-specific on the source side to the top of the list on /etc/sysconfig/ipchains, then restart /etc/init.d/ipchains. Try the flush (ipchains -F) first, as I don't think anyone's mentioned that yet in this thread. -- -j John Beamon On Wed, 22 May 2002, Dustin Puryear wrote: > Date: Wed, 22 May 2002 08:21:06 -0500 > From: Dustin Puryear <[EMAIL PROTECTED]> > Reply-To: [email protected] > To: [email protected] > Subject: Re: [brlug-general] Red Hat 7.3 -Samba & Swat > > At 12:07 PM 5/22/2002 +0000, you wrote: > >But doesn't port 901 need to be accessible from your web server? How do > >you get to port 901 without httpd running? > > I think the consensus is that SWAT is its own web server. > > Regards, Dustin > > > --- > Dustin Puryear <[EMAIL PROTECTED]> > UNIX and Network Consultant > http://members.telocity.com/~dpuryear > PGP Key available at http://www.us.pgp.net > In the beginning the Universe was created. > This has been widely regarded as a bad move. - Douglas Adams > > > _______________________________________________ > General mailing list > [email protected] > http://brlug.net/mailman/listinfo/general_brlug.net >
