Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-01-2003, 01:21 PM   #1
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Rep: Reputation: 32
SWAT won't start

I am trying to get SWAT to start in Mandrake 9 and am getting a message as follows:

'The connection was refused when attempting to contact local host 901. I am using this command in root mozilla - http://localhost:901/

In Mandrake Control Center/services, SWAT is stopped. If I attempt to enable it i get a message 'There is no such option for an xdinetd services.'

smb is enabled, and I can ping localhost successfully.

Here is some information that I thought might be pertinent:
In /etc/pam.d/samba

auth required /lib/security/
auth required /lib/security/ service=system-auth
account required /lib/security/ service=system-auth
session required /lib/security/ service=system-auth
password required /lib/security/ service=system-auth
auth required /lib/security/ nullok shadow
account required /lib/security/

the last 2 lines I added manually from a tip in another thread...didn't help, so I deleted them.
In /etc/services

The entry Swat 901/tcp.. does exist

In /etc/hosts localhost.localdomain localhost

In /usr/sbin/swat

The file 'swat' (executable) does exist.
In /etc hosts.allow, and hosts.deny

both are blank

# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.

In /etc/xinetd.d/swat

# default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
port = 901
socket_type = stream
wait = no
only_from =
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no

That's about it...swat.exe is set to run in root, and I have tried to run swat from root. I appreciate any help or advice. Thanks for taking the time to read this.

Edit: here's an entry from /var/log/messages that might be a clue?

PHP Code:
Jan  1 14:58:42 localhost xinetd[1336]: socket creation failed (Address family not supported by protocol (errno 97)). service swat
Jan  1 14
:58:42 localhost xinetd[1336]: xinetd Version 2.3.7 started with ipv6 libwrap options compiled in.
Jan  1 14:58:42 localhost xinetd[1336]: Started working1 available service
Jan  1 14
:58:44 localhost xinetdxinetd startup succeeded 

Edit: One more item that might be important, while trying to make xine (DVD player) work, I inadventently uninstalled both xinetd-2.3.7-3mdk and xinetd.ipv6-2.3.7-3mdk, then reinstalled both when I realized my mistake. Do I need both, is the install order important?. Might not be anything , but I am grasping at straws here.

Last edited by Harryc; 01-01-2003 at 04:45 PM.
Old 01-01-2003, 07:25 PM   #2
Registered: Dec 2002
Location: New York, USA
Distribution: OpenSUSE 10.0
Posts: 220

Original Poster
Rep: Reputation: 32
Well, you might have a laugh at a newbie fixing his/her own problems . Removed xinetd.ipv6-2.3.7-3mdk, and SWAT started right up. Go figure. It there something about xinetd.ipv6-2.3.7-3mdk that is flaky, or shouln't it be installed to begin with? Thanks

Last edited by Harryc; 01-01-2003 at 07:27 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Swat(SuSE 8.2 samba 2.2.7) rmanocha Linux - Networking 6 10-24-2003 03:55 PM
cant start nmbd in SWAT or Samba jack cards Linux - Networking 5 08-08-2003 08:14 PM
swat rjonese Linux - Software 0 07-15-2003 02:26 AM
Swat?? FireWolf Linux - Newbie 18 04-09-2003 07:57 PM
SWAT in RH 7.3 xgtr Linux - Newbie 1 05-31-2002 09:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration