Swat
Your help is much appreciated, I'm new to Linux! I'd like to get Swat working on Mandrake 10.1, can anybody point me in the right direction? When I run ./installswat.sh I get :
./installswat.sh: line : cd: such/../swat/: No such file or directory ./installswat.sh: line : cd: such/../swat/lang/: No such file or directory The Swat files have been installed. Remeber to read the swat/readme for information on enabling and using swat. If I try to point to localhost:901 with a browser, I get an error : could not connect to host localhost:901. I've added tcp port 901 to etc/services. Thanks |
look into your /etc/inetd.conf for the Samba Web Adminstration Tool. Just below that line you must have a line like this
Code:
swat stream tcp nowait.400 root /usr/sbin/swat swat http://localhost:901 it should ask you for a uname and password... Tux, |
tuxrules,
here is my xinetd.conf : defaults { swat = 901/tcp port = 901 socket type = stream wait = no only_from = localhost user = root server = /usr/local/samba/sbin/swat disable = no instances = 60 log_type = SYSLOG authpriv log_on_success = HOST PID log_on_failure = HOST cps = 25 30 } includedir /etc/xinetd.d I have the feeling I never got Swat properly installed. I've added the server line, it points to a folder with :nmbd, smbd, swat , winbbd executables. Thks Paolo |
refer to this link.
|
I've tried to follow the steps outlined in the document suggested. One problem :
[root@localhost polipa]# whereis swat swat: /usr/share/swat ishows an empty folder, if I type : [root@localhost polipa]# find / -name swat -print I get the following output : /home/polipa/Desktop/Trash/swat /home/polipa/samba-3.0.14a/source/bin/swat /home/polipa/samba-3.0.14a/swat /usr/share/swat /usr/local/samba/sbin/swat /usr/local/samba/swat According to the guideline I'm supposed to get a reference to xinetd : frodo:/ # find / -name swat -print /etc/xinetd.d/swat /usr/sbin/swat /usr/share/samba/swat frodo:/ # any idea? Paolo |
Swat seems to have been installed in
/usr/local/samba/sbin/ so change the path in your xinetd and try it... |
tuxrules,
the output is the same....when I try to reach localhost on port 901 I get a connection refused error from the browser. I've addedd a tcp 901 line in services.......any other idea? Thks Paolo |
All times are GMT -5. The time now is 04:06 AM. |