LinuxQuestions.org
Review your favorite Linux distribution.
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 11-02-2002, 06:31 PM   #1
emin
LQ Newbie
 
Registered: Oct 2002
Location: hannover-germany
Distribution: Debian "woody" stable (v.3)
Posts: 10

Rep: Reputation: 0
Question swat does not run?


hi,

I have installed samba, and all changinh made, so as explained in instructions from swat, and I wrote in explorer http://localhost:901 and comes nothing...

what should I do??
 
Old 11-02-2002, 10:15 PM   #2
mwjcox
LQ Newbie
 
Registered: Oct 2002
Location: Kansas City
Distribution: Debian Sid
Posts: 15

Rep: Reputation: 0
Be sure that you have the swat server running with /sbin/service swat restart in Redhat.
 
Old 11-03-2002, 05:37 PM   #3
rohang
Member
 
Registered: Aug 2002
Location: Sydney, Australia
Distribution: Redhat, Open BSD, SuSe, Debian, CentOS
Posts: 177

Rep: Reputation: 31
Is swat enabled? Check in /etc/xinetd.d and look at your swat file. To enable it, it should look something like this:

# default: off
# 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 = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
 
Old 11-04-2002, 09:08 AM   #4
emin
LQ Newbie
 
Registered: Oct 2002
Location: hannover-germany
Distribution: Debian "woody" stable (v.3)
Posts: 10

Original Poster
Rep: Reputation: 0
Thumbs up now it does run...

hi again,

you have right.. now everything is allright..


Thanks..

Emin
 
Old 11-26-2002, 02:02 AM   #5
disayas
LQ Newbie
 
Registered: Nov 2002
Location: US
Distribution: Redhat *.0
Posts: 18

Rep: Reputation: 0
Hey I have a similar problem. I used the RH update agent to install Samba 2.2.7 which has SWAT. When I check to see if Samba is running using rpm -q samba it shows me 2.2.7 but I can't find any swat files and I don't find Samba in /usr/local.

Any suggestings?

thanks...
 
Old 12-24-2002, 08:48 AM   #6
ramki
LQ Newbie
 
Registered: Dec 2002
Posts: 13

Rep: Reputation: 0
Iam also unable to start swat

I have installed Redhat Linux7.2 on Mainframe ( Z900 )

I don't have inetd.conf file

I only have xinetd service running

Can someone please help troubleshoot this problem ?

Iam trying to start swat from the network meaning
Iam telneting to the Linux server.

Last edited by ramki; 12-24-2002 at 08:51 AM.
 
Old 12-26-2002, 02:16 PM   #7
jose_bravo
LQ Newbie
 
Registered: Dec 2002
Location: HP, CA, US
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
ramki,

Version 7.0 and on of Red Hat uses a couple of different mechanisms in using SWAT (which I learned the hard way, being so used to 6.x ). Make sure you have SWAT set up in your /etc services file by having this line there and uncommented:

swat 901/tcp

Second, for various reasons, Red Hat now uses xinetd rather than inetd that were all used to. Create a file (if it's not there already called swat in the /etc/xinetd.d/ directory. Type the following in:

service swat
{
port = 901
socket_type = stream
wait = no
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
disable = no
}

and finally, Red Hat (and SWAT) uses PAM for authentication. Make sure that the /etc/pam.d/samba file exists and that it contains the following:

auth required /lib/security/pam_pwdb.so nullok shadow
account required /lib/security/pam_pwdb.so

Restart xinetd with a <b>killall -HUP xinetd</b>, access the site through <b>http://localhost:901</b> and you should be ready to go!!! Good luck!!!

Last edited by jose_bravo; 12-26-2002 at 06:43 PM.
 
Old 12-27-2002, 02:50 AM   #8
ramki
LQ Newbie
 
Registered: Dec 2002
Posts: 13

Rep: Reputation: 0
Thumbs up Thanks a lot Jose bravo

Thanks a lot.

But now I have problem setting up shares in samba for
folders.
 
  


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
How To install and run SWAT in Fedora Core 4? regnox Linux - Newbie 8 09-02-2005 08:45 AM
Swat paolo623 Linux - Newbie 6 05-31-2005 08:49 AM
unable to run SWAT gmansfield Linux - Newbie 10 09-09-2003 10:02 AM
SWAT again!! b.markus Linux - Software 1 07-15-2003 02:32 AM
swat tstuhr Linux - Networking 3 10-11-2001 06:27 AM

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

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