LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Swat?? (https://www.linuxquestions.org/questions/linux-newbie-8/swat-52653/)

FireWolf 03-31-2003 05:50 AM

Swat??
 
I ame using SWAT and did what the book and what I found on the net. But when I conect to http://localhost:901 it gives this

The operation timed out when attempting to contact www.localhost.com

I checked /etc/services file. and it is set to swat 901/TCP

I am using samba 3.0

thank you

Crashed_Again 03-31-2003 10:17 AM

Do you have a firewall running? What distro are you using?

FireWolf 03-31-2003 03:00 PM

I have a firewall on and my distro is redhat 8.0

Crashed_Again 03-31-2003 04:01 PM

You should check to see if your firewall is blocking port 901 and also take a look at /etc/hosts.deny and /etc/hosts.allow to make sure your not getting blocked there.

FireWolf 03-31-2003 07:22 PM

ok I turned of the firewall and looked in both places both /etc/hosts.deny and /etc/hosts.allow were blank except for the # and the words describing what it is after the # sign
yet it gives the same problem error

Crashed_Again 03-31-2003 07:56 PM

Is Samba and Swat on? Do:

netstat -l

thats a lowercase L to see if the Swat port is listening for connections.

green_dragon37 03-31-2003 09:58 PM

I was having the same problem. The standard firewall tool (lokkit) does not work. I use Guarddog instead. It is here.

FireWolf 03-31-2003 10:01 PM

the only thing I see there that relates to "Swat port" is

tcp 0 0 *:swat *:* LISTEN

Crashed_Again 03-31-2003 10:02 PM

Okay so swat is listening for connections. I'm not sure if it matters but I would assume that Samba must also be listening in order to use Swat.

Is Samba listening as well?

How exactly did you shut off the Firewall?

FireWolf 04-01-2003 08:00 PM

Ok samba is not listed and I used lokkit to turn it of but I went back to lokkit just now. I saw that it was back on I will try Guarddog as green_dragon37 stated.

FireWolf 04-01-2003 10:07 PM

I tried the guarddog got it installed and used it to disable the firewall then I went to lokkit to see if it was disabled. And it was not after it states that it was disabled in the terminal it says this

[root@loocalhost guarddog-2.0.0] # Mutex destroy failure: Device or resource busy
kdeinit: Fatal IO error: client killed
Kdeinit: sending SIGHUP to children
Kdeinit: sending SIGTERM to children
Kdeinit: Exit

this is where I enter guarddog
[root@loocalhost guarddog-2.0.0] # guarddog

also it looks like there are three ways to install it
./configure
make
make install
not knowing what I was doing at the time I did all three lol

green_dragon37 04-01-2003 11:18 PM

The "Mutex destroy failure..." error message has no bearing on anything. And in lokkit, it will always say High, no matter what the actual firewall settings are. If guarddog says it is off, then it is off. Did you try swat after you disabled the firewall in Guarddog?

FireWolf 04-01-2003 11:59 PM

ok I have been typing http://localhost:901 in Mozilla and yet it gives this.

The operation timed out when attempting to contact www.localhost.com

Is there another way to get into swat I did try typing swat in /usr/local/samba/bin also swat 901/tcp but it just goes to the next line and it is blanke somthing like this
[root@localhost bin] swat 901/tcp

the next line is blank like the line above this line shows. Also if I enter somthig nothing happens.

green_dragon37 04-02-2003 12:40 AM

Have you tried 127.0.0.1:901 to see if that works? It points to the same place... How about another browser?

FireWolf 04-02-2003 04:51 AM

I tried both ways on three deferent browsers and I am doing all this in the root yet no luck. also I have samba 3.0


All times are GMT -5. The time now is 05:08 PM.