Red Hat Bugzilla – Bug 21911
xinetd/ SWAT: can't get localhost:ANYPORTNUMBER
Last modified: 2007-04-18 12:30:09 EDT
Trying to run SWAT under Netscape 4.75 or Lynx. All following browser tests
were performed with both netstape and lynx. I have a web proxy (webwasher)
running on another machine, I've tried netscape with and without proxy
enabled. I have a Linksys BEFSR41 DSL router/firewall, but I don't believe
that it's involved.
I am able to access
but I cannot access
There is a description of the problem in:
This solution (listed below) doesn't work for me:
change /etc/xinetd.d/swat file:
only_from = localhost
only_from = 127.0.0.1
The supposed bugfix is here:
which says to upgrade xinetd:
I downloaded, installed, checked installation, rebooted (because I was
unsure which services might be affected, so best to restart them all),
retested, rechecked installation (using GnoRPM FIND) and retested.
It still doesn't work.
Am I missing something obvious? I haven't even found a workaround that
works (besides manual smb config file editing and install).
It is confirmed to work with an updated system (run up2date). Are you sure you
actually have the service enabled?
Created attachment 6190 [details]
log of: 1:up2date first try crash 2: ps ax 3: up2date successful installs
SWAT <is> listed in /etc/services, if that's what you mean. Please let me know
if I'm missing something.
I tried up2date, with mixed results; since I did an "everything" install,
up2date gives me a huge (300MB) list of updates. First time through, I selected
MANY of them, but it crashed (see attached file).
The second & third times I ran up2date, I was more conservative, looking for
packages that <could> be related to my problem. I updated glibc and apache and a
couple of other things, and rebooted again, but no luck.; still the same
problems where localhost:901 gets me nothing and 127.0.0.1:901 gets me a
"connection refused" message...hmmm, did I mention that before?
Now that xinetd has been updated, should I set the /etc/xinetd/swat file back to
localhost? I'll try that in the meantime.
No, I want to know if the service is enabled... what does /etc/xinetd.d/swat
Yep, that was it!
Thanks for pointing me in the right direction :) !
Sorry for the bother :(
I'm trying to get swat running on my station and followed this case resolution
thinking it would help, but it still won't work.
I checked /etc/services which seems ok. I checked /etc/hosts and it is as
recommended in bug resolution 17839. In /etc/xinetd.d/swat, I set disable = no
as mentioned above and tested with setting only_from = myip, only_from =
127.0.0.1, and even with removing this line from the file but I always get the
When I run up2date, which packages should I update to help swat running??
Talking about services, I set both swat and linuxconf-web to start in ntsysv
but I still get the error message "connection reset by peer" when connecting to
localhost:901. Do I understand from the above resolution that I should try
If what you mean by starting the service is setting the line disable = no
in /etc/xinetd.d/swat, then that still doesn't solve it for me.
Is this whole issue solved in RH 7.1??