LinuxQuestions.org
Help answer threads with 0 replies.
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-24-2001, 12:23 PM   #1
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Rep: Reputation: 15
SWAT help


I couldn't find anything already posted on this thread to help me out so I figured I would start a new thread.

system:
2.4.9-ac4 SMP kernal (RedHate 7.1)
samba 2.2.2

These are the changes I made to the system.

1.) Compiled and installed the source (which installs swat as well correct?)

2.) Added this line to my /etc/services file
Code:
swat            901/tcp                         # Samba Web Administration Tool
3.) I am running xinetd not inetd so I had to make a file in the /etc/xinetd.d directory called "swat". In that file I put,..
Code:
service swat 
{ 
        port    = 901 
        socket_type     = stream 
        wait    = no 
        user    = root 
        server  = /usr/local/samba/bin/swat 
        log_on_failure  += USERID 
        disable = no 
}
Problems:
1.) /sbin/chkconfig --list - xinetd list swat as being on
2.) netstat lists swat as listening
Code:
tcp        0      0 *:swat                  *:*                     LISTEN
3.) http://localhost:901 does not work. Just an general error message.
4.) No firewalling is on.

I hope I have supplied enough information for someone to help. I am really lost on this one fellas.

TIA - Jase
 
Old 11-24-2001, 04:24 PM   #2
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Original Poster
Rep: Reputation: 15
hmmm,.....I think I had an .rpm version of samba 2.0 installed before I installed the source of 2.2.2 How can I remove both of these veriosns and install the clean/new 2.2.2 source?
 
Old 11-24-2001, 08:17 PM   #3
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Original Poster
Rep: Reputation: 15
I just checked my system mail and got this,...

"Port Denial noted swat-192.168.1.30"

and also

"Port Denial noted swat-127.0.0.1"


Why would swat be denying this port? Like I said before,...no firewalling is enabled
 
Old 11-24-2001, 08:23 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Is the web server running?

You need to setup and run httpd to use a web server.
 
Old 11-24-2001, 08:25 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you still have problems try

hostname

or

echo $HOSTNAME


this should show a hostname
then use it like this


http://hostname:901


Last edited by DavidPhillips; 11-24-2001 at 08:30 PM.
 
Old 11-25-2001, 12:55 AM   #6
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Original Poster
Rep: Reputation: 15
thanks David,...I got it to work. One more question though. I want to get rid of this install of samba and reinstall it. How can I get rid any and all previous/current samba installs?
 
Old 12-13-2001, 03:25 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
rpm -e packagename

if it's not an rpm you will have to delete it

search for smbd, nmbd, samba, smb


these should turn up whatever you have
 
  


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 02:09 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