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 |
Do you have a firewall running? What distro are you using?
|
I have a firewall on and my distro is redhat 8.0
|
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.
|
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 |
Is Samba and Swat on? Do:
netstat -l thats a lowercase L to see if the Swat port is listening for connections. |
I was having the same problem. The standard firewall tool (lokkit) does not work. I use Guarddog instead. It is here.
|
the only thing I see there that relates to "Swat port" is
tcp 0 0 *:swat *:* LISTEN |
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? |
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.
|
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 |
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?
|
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. |
Have you tried 127.0.0.1:901 to see if that works? It points to the same place... How about another browser?
|
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. |