LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-19-2001, 11:48 AM   #1
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Rep: Reputation: 15
Swat


Man, I wish there was a good doc around to help with this because I keep seeing tons of posts but none that really help me out.

- I'm running samba 2.0.10-2 on RH7.1.


- Apache is installed and configured; localhost brings up the test page just fine.


- /etc/services has the following line:

swat 901/tcp # Samba Web Administration Tool


- /etc/xinetd.d/swat contains:

service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}


- /sbin/chkconfig --list outputs this at the end:

xinetd based services:
rexec: off
rlogin: off
rsh: off
chargen: off
chargen-udp: off
daytime: off
daytime-udp: off
echo: off
echo-udp: off
time: off
time-udp: off
finger: off
ntalk: off
talk: off
telnet: off
rsync: off
swat: on

Anyone know why I can't connect to http://localhost:901 ?

Thanks!
 
Old 12-19-2001, 12:46 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, this may sound really obnoxious... but er, is Samba on? It wasn't in your chkconfig list.

Cheers,

Finegan
 
Old 12-19-2001, 12:54 PM   #3
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
from /sbin/chkconfig --list

smb 0:off 1:off 2:off 3:off 4:off 5:off 6:off


from /usr/sbin/samba status

smbd (pid 2201) is running...
nmbd (pid 2206) is running...


Hmm... these look like they're contradicting each other.
 
Old 12-20-2001, 01:51 AM   #4
Sir.Del
LQ Newbie
 
Registered: Dec 2001
Location: Brisbane, Australia
Distribution: Slackware
Posts: 25

Rep: Reputation: 15
I was having the same problem this morning, go to your services and enable Swat to start on startup...I'm using Redhat 7.2 so doing this was a sinch.

Once you have done that you have to make sure that httpd is running....once all that is right just fire up the samba config and all should be good


cheers
 
Old 12-20-2001, 02:42 AM   #5
cliffyman
Member
 
Registered: Aug 2001
Location: Buffalo, NY
Distribution: Red Hat
Posts: 83

Original Poster
Rep: Reputation: 15
hey, thanks for the help... pardon my stupid question, but how exactly do you go about doing that? I have RH 7.1 with Gnome/Xiamian installed, so if there's an easy way to do it through the GUI you could instruct me with that as well. Thanks!
 
  


Reply


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
Swat namit Linux - Networking 5 12-02-2005 07:38 PM
Swat delalynd Red Hat 12 01-12-2005 07:16 AM
Swat Hone101 Linux - General 1 03-22-2003 08:33 AM
Swat jwithers1 Linux - Networking 2 09-26-2002 02:48 PM
SWAT in RH 7.3 xgtr Linux - Newbie 1 05-31-2002 10:51 PM

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

All times are GMT -5. The time now is 11:36 PM.

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