LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SWAT and Redhat 7.3 (https://www.linuxquestions.org/questions/linux-networking-3/swat-and-redhat-7-3-a-152703/)

JoAnywhere 03-02-2004 02:34 PM

SWAT and Redhat 7.3
 
Hiya all,
I am trying to get SWAT (The SAMBA Config tool) running on my Redhat 7.3 installation.

Now
[list=1][*]I have checked - httpd is running[*]I have installed SAMBA 3.0.2 via the RPM[*]SWAT is installed[*]there is an entry in /etc/services for 901 TCP[*]there is an file in the /etc/xinetd.d directory called swat. It contains all the things its supposed to.[/list=1]

When I run a browser in a local kde session and go

Code:

http://localhost
it brings up the Apache test page, so I know thats working

but when I go
Code:

http://localhost:901
I get the following error message

Quote:

An error occured while loading http://localhost:901 :
Connection to host localhost is broken
In the /etc/xinetd.d/swat file I have tried setting the disable entry to both 'yes' and 'no'. This seems to have no affect.

Can anyone help with this? I think/hope I've given enough info?

Regards
Jo

michaelk 03-02-2004 07:59 PM

You want disable = no

Your webserver i.e. httpd probably isn't running under xinetd.
httpd and swat are seperate webservers and have no bearing on each other.
I don't run debian so I don't know if this will work. Log in as root (i.e. su) and look at the output of:
chkconfig --list

Is xinetd configured to on for runlevels 3 & 5?
Is swat listed under xinetd and does it show it on?
Check the output of ps is xinetd running?
ps ax | grep xinetd

Check the logs are there any errors with xinetd or swat?

JoAnywhere 03-03-2004 01:00 PM

Michael,
I don't run Debian either - I am running RH7.3

disable is set to no

chkconfig shows that
1. xinetd is set to on for runlevels 3 & 5
2. swat is listed under xinetd and is on
3. xinetd is running

which logs are you suggesting I look at for xinetd and swat errors?

Cheers
Jo


Quote:

Originally posted by michaelk
You want disable = no

Your webserver i.e. httpd probably isn't running under xinetd.
httpd and swat are seperate webservers and have no bearing on each other.
I don't run debian so I don't know if this will work. Log in as root (i.e. su) and look at the output of:
chkconfig --list

Is xinetd configured to on for runlevels 3 & 5?
Is swat listed under xinetd and does it show it on?
Check the output of ps is xinetd running?
ps ax | grep xinetd

Check the logs are there any errors with xinetd or swat?



All times are GMT -5. The time now is 09:12 PM.