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

troublesome SWAT (http SAMBA configuration)

i've got SWAT installed in the hopes that it'll help me get
samba doing what i want it to do, without drowing in the dark
swamp of samba documentation and configuration syntax rules.
with zero luck. grab the clue stick, i need it real bad! :(

/etc/xinetd contains:
	service swat
		socket_type = stream
		protocol    = tcp
		user        = root
		server      = /usr/sbin/tcpd
		server_args = /usr/sbin/swat
		bind        =
		only_from   =
		wait        = no

here's a relevant snippet of "ps afx" before trying a connect:

	4900 ?        S      0:00 /usr/sbin/xinetd
	4944 tty1     S      0:00 /sbin/getty 38400 tty1

(i.e. xinet hasn't spawned any children just yet...)

now i try

	$ lynx http://localhost:901
	HTTP request sent; waiting for response.

and i wait for a couple of minutes, which yield nothing, and I
ctl-Z to get to the shell again:

	[1]+  Stopped      lynx http://localhost:901

noting that uptime has blasted through the roof, i try ps afx

	4900 ?        S      0:00 /usr/sbin/xinetd
	6693 ?        R      1:52  \_ tcpd /usr/sbin/swat
	4944 tty1     S      0:00 /sbin/getty 38400 tty1

1:52? that seems awfully taxing for no output...

$ dpkg -l samba samba-common smbclient swat smbfs
||/ Name          Version   
ii  samba         2.0.7-3.4 
ii  samba-common  2.0.7-3.4 
pn  smbclient     <none>    
ii  swat          2.0.7-3.4 
pn  smbfs         <none>    

what have i missed? (the only occurrence of 'swat' in /var/log/*
is in the instances where i'd had the wrong syntax in
xinetd.conf which kept swat from being launched at all...)

I use Debian/GNU Linux version 2.2;
Linux server 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown
DEBIAN NEWBIE TIP #10 from Will Trillich <will@serensoft.com>
Looking to run a command or two at REGULAR INTERVALS?  Try
"crontab -e" for starters (see "man cron" or "man crontab").
You might also investigate the "anacron" package.

Also see http://newbieDoc.sourceForge.net/ ...

Reply to: