LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-17-2002, 02:52 PM   #1
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Rep: Reputation: 15
Unhappy problems with swat


hey all, having a problem with swat. When I try to connect through my web browser it gives me an error.

An error occured while loading http://127.0.0.1:901

Could not connect to host 127.0.0.1 (port 901)

Xinetd.conf is configured properly and /etc/services has 901 listed for swat. No firewall running on the system.
Already ran /sbin/chkconfig swat on...still nothing
ran ln -s ../swat swat from the /usr/share/samba directory too...still nothin'

Please help.

Running RH 7.3
 
Old 12-17-2002, 04:48 PM   #2
cipher_arg
Member
 
Registered: Oct 2002
Distribution: slackware 8.1
Posts: 62

Rep: Reputation: 15
maybe i am wrong, but are you actually trying to connect to your own computer with swat? what for?
 
Old 12-17-2002, 05:46 PM   #3
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Original Poster
Rep: Reputation: 15
yes, my own computer. Just trying to get it to work. I don't think it matters whether I am going across the network or just going in locally.

It doesn't matter if I actually put in my IP address either, or my host name. It just won't work. Please help, I have exhausted all efforts. Thanks in advance
 
Old 12-18-2002, 01:00 PM   #4
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Original Poster
Rep: Reputation: 15
aahhh please help!
 
Old 12-20-2002, 11:39 AM   #5
gte704p
LQ Newbie
 
Registered: Dec 2002
Distribution: Redhat 8.0
Posts: 5

Rep: Reputation: 0
I am a newbie but the thread I found had the following answers that may help you.

Solution one: (from Donald1000)

If you are starting SWAT with xinetd it has to look like this:

## /etc/xinetd.d/swat
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
disable = No
}

-----

Write in /etc/hosts.allow
swat : localhost : allow

Solution 2: (from born4linux)

what donald means is to run this as root:

/sbin/chkconfig swat on

Then retry accessing 127.0.0.1:901


Hope these will help you. I am working on getting all of this running this weekend, but I don't have access to my linux box at the moment to test any of this.
 
Old 12-20-2002, 12:29 PM   #6
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Original Poster
Rep: Reputation: 15
thanks but I have already tried all of that. Oh well.
 
Old 12-20-2002, 12:34 PM   #7
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
What httpd server are you running?
 
Old 12-20-2002, 12:45 PM   #8
granny
Member
 
Registered: Nov 2002
Distribution: RH
Posts: 141

Original Poster
Rep: Reputation: 15
apache, do you need the version? If so, how do I obtain the version?
 
  


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
Problems installing Samba-SWAT Dolphin2005 Linux - Newbie 1 11-18-2005 06:43 PM
Apache and SWAT Problems after upgrade compassmanwi Fedora - Installation 0 09-30-2005 06:14 AM
Newbie Samba problems, no swat... boardtc Mandriva 13 02-19-2004 11:06 AM
Problems with swat and inetd robertmarkbram Linux - General 2 11-28-2003 12:03 AM
samba and swat problems talkinggoat Linux - Software 5 09-27-2003 08:06 AM


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