LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2003, 05:04 PM   #1
mudbone357
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat
Posts: 13

Rep: Reputation: 0
Question Swat connection refused


hi there,
I've got samba 3.0.0 up and running between my RH9 box and powerbook g4 just fine, but i can't get Swat to work at all. I have added swat 901/tcp to my /etc/services file, i added the following file, called swat, to my /etc/xinetd.d directory:

[root@localhost xinetd.d]# cat /etc/xinetd.d/swat
# description: swat is the Samba Web Administration Tool, which
# allows and administrator to configure Samba using a web
# browser interface, with the URL localhost:901
service swat.
{
socket_type = stream
wait = no
protocol = tcp
only_from = localhost
user = root
log_on_failure += USERID
server = /usr/local/samba/sbin/swat
port = 901
disable = no
}

which points to the proper location, and i've added the following to hosts.allow:

[root@localhost xinetd.d]# cat /etc/hosts.allow
#
# 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.
#

swat: 127.0.0.1

I've also restarted xinetd a few different ways to get it to reset: /bin/kill -HUP -a xinetd, killall -HUP xinetd, and /sbin/service xinetd restart, but all i get when i enter localhost:901 in mozilla is a message saying: the connection was refused when attempting to contact localhost:901.

Also, i disabled my firewall, so that isn't it. If anyone has any ideas i would really appreciate it. Thanks. oh yeah, i took out the http's for this post, but they are there in the examples.
 
Old 11-16-2003, 05:17 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Please read the board rules you agreed to. Specifically the 6th bulleted item.

Last edited by fancypiper; 11-16-2003 at 06:03 PM.
 
Old 11-16-2003, 05:28 PM   #3
mudbone357
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat
Posts: 13

Original Poster
Rep: Reputation: 0
thanks for the suggestions, but i've already been poring over Oreiily's Running Linux, Linux Network Administrators Guide, and Using Samba, as well as spending several days googling and tweaking. I think I get the drift of your post, but i'm not just trying to sponge, i'm just not a programmer and am seeing if anyone has been in this same predicament. So, if you have any thoughts, as opposed to a stack of other books i can't afford, i would greatly appreciate it.

take care
 
  


Reply



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
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 01:17 AM
Swat connection refused mudbone357 Linux - Networking 27 10-27-2004 11:07 AM
Swat fails on connection AniAko Linux - Networking 2 10-09-2004 03:19 PM
swat localhost connection mightyer2 Linux - Networking 7 08-15-2004 05:26 PM
SAMBA & SWAT - Connection refused when attempting to connect Localhost:901 ScooterB Linux - Networking 3 12-24-2003 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 AM.

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