Using "Devil Linux", i tried to set up a small fileserver recently, and ran into the following. After configuring xinetd for swat, you only get an empty page when trying to connect - or no connection at all.
[Solution]
The xinetd.conf (usually /etc/xinetd.conf) has a default block right at the start of the config file. I did not take notice of this until i ran into the wall when trying to get swat to work.
Code: Select all
defaults
{
instances = 15
log_type = FILE /var/log/servicelog
log_on_success = HOST PID
log_on_failure = HOST
only_from = 128.138.193.0 128.138.204.0
only_from = localhost 192.168.1.0/24
disabled = tftp
}
Code: Select all
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}