LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2003, 05:48 AM   #1
triplem
LQ Newbie
 
Registered: Feb 2002
Location: Northern Ireland
Posts: 14

Rep: Reputation: 0
Unable to access SWAT


I am trying to access SWAT on http://localhost:901 but can't. Getting message

The connection was refused when attempting to contact localhost:901


Any ideas. I know it is probably something very simple but can't figure it out


thanks in advance

Triplem
 
Old 04-11-2003, 03:32 PM   #2
notsoevil
Member
 
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
First, is it installed?

In recent RPMs (say RH 8 - RH 9 at least), SWAT is installed via a separate RPM (I believe samba-swat). If you compile from source, its probably ready to use (but see following).

Second, is it enabled?

The appropriate RPMs usually create a service file in /etc/xinetd.d called (appropriately) 'swat'. Edit that file and make sure the line 'disable = yes' is changed to 'disable = no'. For example, here is my swat file:

Code:
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
}
Then restart xinetd and swat should be running:

Code:
bash#> kill -USR2 `head -1 /var/run/xinetd.pid`

Last edited by notsoevil; 04-11-2003 at 03:34 PM.
 
  


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
samba/swat access denied bob_man_uk Linux - Software 2 10-19-2005 03:12 AM
unable to access slackware flebber Slackware 25 08-23-2005 09:17 PM
Problems with Samba-Swat: Unable to see other Windoze machines on my network. sutherncomfort Linux - Networking 9 02-02-2005 09:30 PM
unable to run SWAT gmansfield Linux - Newbie 10 09-09-2003 10:02 AM
Cant access SWAT schigara Linux - Newbie 3 07-19-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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