LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2003, 01:04 PM   #1
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Rep: Reputation: 31
Samba and swat


ok so I'm a newbie ,but I can't use SWAT on RedHat 8. I use the url http://127.0.0.1:901/ and get connection refused. I know Samba is running because Samba Server (localhost) is in Mygroup workgroup on my XP PC .Its probably simple but.....

Thanks in advance for any help
 
Old 04-02-2003, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is swat enabled to run?

Run "ntsysv" from a prompt and make sure swat has a * beside it. The restart xinetd with "/etc/init.d/xinetd restart"
 
Old 04-02-2003, 03:25 PM   #3
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Original Poster
Rep: Reputation: 31
yeah done that swat is enabled to run!! still no luck..... thanks tho i'll keep trying
 
Old 04-03-2003, 03:48 PM   #4
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
SWAT should be enabled by default on xinetd, but you may have to add it to the services file: add a tcp line for swat on port 901. That might fix it...
 
Old 04-03-2003, 03:51 PM   #5
TexasDex
Member
 
Registered: Feb 2003
Location: The Attic. Nowhere near Texas.
Distribution: Gentoo, Kubuntu, formerly LFS, SuSE, and RedHat
Posts: 133

Rep: Reputation: 15
aha: the actual line is:
swat(tab)(tab)901/tcp(tab)#Samba Web Admin Tool
just replace the (tab) with a tab character and insert the line between the two services 901 is between.
 
Old 04-03-2003, 10:05 PM   #6
Magueta
LQ Newbie
 
Registered: Apr 2003
Location: Toronto, Ontario, Canada
Distribution: Red Hat
Posts: 29

Rep: Reputation: 15
The firewall is always a good one to check in instances like this. if you are using ipchains type ipchains -L to see if you have any rules configured and ipchains -F to completely clear them out until your next reboot or until you reset them manually. If you're using iptables you can use the same commands. Don't worry about resetting them until you've tested to see if Swat connects.

Joe
 
Old 04-04-2003, 02:28 AM   #7
james.farrow
Member
 
Registered: Mar 2003
Location: UK Darlington
Distribution: Fedora Freebsd Centos
Posts: 296

Original Poster
Rep: Reputation: 31
Thanks I'll check my xinetd file and clear my firewall ,which I have noticed is set to high!? Might also need help to configure that as well!! Not good..... Thanks for the advice
 
Old 04-04-2003, 11:27 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The current version of lokkit defaults back to high when it is run. I don't think it is a firewall problem because you are accessing the loopback. is the looback interface (lo) running?
Run "ifconfig" as root to see.
 
  


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
Help with Samba/SWAT driesel Linux - Newbie 3 02-13-2005 09:33 AM
Samba + SWAT mooler Linux - Networking 5 11-13-2003 09:46 AM
Swat Samba whatever! theguy311 Linux - Software 8 01-25-2003 01:42 PM
SAMBa and SWAT Snake007uk Linux - General 8 05-16-2002 07:30 PM
samba swat has me chens_83 Linux - General 2 03-22-2002 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:37 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