Enabling SWAT problem

Stephen Carville stephen at totalflood.com
Fri Jan 21 20:23:46 UTC 2005


On Fri January 21 2005 11:38 am, Aram Hazarian wrote:
> Hi,
>
> What about my issue:
>
> I installed samba 2.2.12.
>
> I added in /etc/services the line:
> swat	901/tcp   (uncommented)
>
> I added in /etc/xinetd.conf the line:
> swat	stream	tcp	nowait.400   root   /usr/local/samba/bin/swat   swat

You do not need the above.

> Because in /etc/xinetd.d there was no ?swat? file, I created one with the
> following content: service swat
> {
> 	disable	= no
> 	port=901
> 	socket_type=stream
> 	wait=no
> 	only_from=127.0.0.1
> 	user=root
> }

You need a "server = /usr/local/samba/bin/swat"  in the above.

> I restarted xinetd ? and when I went in the browser, at
> http://127.0.0.1:901 the only answer I got is ?The connection was refused
> when trying to connect to ?? !!!
>
> By the way, I have httpd started.
>
> Everything looks like swat is not recognized as a service for the system.
> I tried also:
> [root at bobo sbin]# ./service swat start
> swat: unrecognized service
>
> I feel like stucked ?
>
> I would appreciate your help.
>
> Thanks,
>
> Bobo

-- 
Stephen Carville
Unix and Network Adminstrator
Nationwide-Totalflood
6033 W.Century Blvd.
Los Angeles, CA 90045
310-342-3602




More information about the redhat-list mailing list