Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-21-2004, 08:16 AM   #1
LQ Newbie
Registered: Oct 2004
Location: South San Francisco, Ca.
Distribution: 7.3
Posts: 23

Rep: Reputation: 15
How to turn swat on??

I am trying to configure Samba.

I used swat but it said:

An error occured while loading

Could not connect to host (port 901)

So I used "ifconfig" to check the addressing and the loopback exists.

So then I used "chkconfig" for swat and bash replied that it was off.

How do I turn swat on??
Old 10-21-2004, 10:37 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I believe you don't 'start' swat, and it would seem that I am correct:

I would guess that you don't have Samba running, and that's the reason for the connection error.

Old 10-22-2004, 01:59 AM   #3
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30


#nmap localhost

901/tcp open samba-swat

show the output of above command here , and if u could not find any samba-swat entry in your output then try this,

#chkconfig --list|grep swat
swat: off

if above command shows u swat off then do this

#chkconfig swat on

and get back here for any query further.

Old 10-22-2004, 02:01 AM   #4
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Not to be rude but swat is for idiotes. Go into /etc/samba and edit smb.conf. Just read the smb.conf documentation and you will be fine.

inetd or xinetd are daemons that runs a service or server when someone is trying to access a port. A service like swat can be loaded when someone access the port that swat uses. The amount of time swat is loaded depends how fast your hard drive can access files and how many processes are being run at the same time. Yes, swat have to be loaded in order for you to access it.

In Redhat based distributions you can type "service swat start" to start swat manually. The program chkconfig is used to set services to be run and not run at certain runlevels during bootup or during changing from one level to another.


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 start, stop, turn on, and turn off deamons BuckRogers01 Debian 3 08-16-2005 10:39 AM
Swat paolo623 Linux - Newbie 6 05-31-2005 09:49 AM
turn off doesn't really turn and power off pcandpc Mandriva 11 05-30-2005 04:22 PM
How to turn off Xserver in the gui and turn it off in the command line geminiviper Linux - Newbie 8 08-20-2004 09:05 AM
I need help with swat, please jr_906 Linux - Networking 3 03-07-2002 12:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration