LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-18-2001, 10:44 PM   #1
koldfission
LQ Newbie
 
Registered: Jul 2001
Posts: 3

Rep: Reputation: 0
Question samba server


i'm attempting to install a samba server using redhat 7.1. i selected the 'samba server' option from redhat in text mode since i have a sucky graphic card. i am using the samba server step-by-step guide by ying zhang as a guide.

i'm stuck on page 6 where it tells you to enable SWAT. it seems like SWAT is not even install on the system because when i try to enable SWAT it's not there. Also, the /etc/inetd.conf file is missing. where can i find and install this file?

i got the nic card to work and is pingable from my windoze box and vice versa.

thanks in advance,
newbie eagers to learn.
 
Old 07-19-2001, 02:40 AM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
for readhat it's 'xinetd.conf' (or so I have seen in this forum).

You should have a swat entry in /etc/services. If not you can create one.

You should also find the right line to uncomment in /etc/xinetd.conf

Good luck and happy hosting.
 
Old 09-20-2001, 05:36 AM   #3
Shane C
LQ Newbie
 
Registered: Sep 2001
Location: Coventry
Distribution: Redhat 7.1
Posts: 1

Rep: Reputation: 0
Unhappy Can't find SWAT.......

I have installed the latest RH7.1 and updated all packages, inc. kernel. But cannot seem to get into swat. When I search for files in the package manager, there seems only to be docs relating to it.

Is this a bug with the latest versions? Has anyone else got this problem?

Advice much appreciated.

Shane
 
Old 09-23-2001, 02:28 PM   #4
Linuxchallenged
LQ Newbie
 
Registered: Jun 2001
Location: Frederick,MD
Distribution: Caldera Open linux,RH 7.1
Posts: 14

Rep: Reputation: 0
To enable SWAT, ensure that the following line exists in the /etc/services file:

swat 901/tcp

And make sure the following line exists in /etc/inetd.conf:

swat stream tcp nowait.400 root /usr/sbin/swat swat

Check this out for 7.im using 6.2 so....
 
Old 09-23-2001, 04:03 PM   #5
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
They disable SWAT by default on redhat. The only thing you should need to do to enable it is got to /etc/xinetd.d/swat and edit the file so it says disable=no


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
}

after you change it run xinetd again or reboot then swat should work.
 
  


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
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 07:40 AM
samba client freezes when samba server goes down timcharper Linux - Networking 1 08-22-2005 11:29 PM
hosting and ping samba server name as well as mail server name simultaneously cbekannan Linux - General 2 01-11-2005 01:11 AM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 11:34 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration