Hi, I'm setting up Samba on a RH ES linux machine. I have basic functionality working and can access a share from a Windows pc. I set up smb.conf manually. I'd like to use SWAT but when I try to run it I get the error: -- The connection was refused when attempting to contact localhost:901 -- I set up the xinetd configuration file exactly as I've seen online. Webmin works fine. I'm logged in as root. I tried turning off ipchains. Can't get rid of this error. Anyone have any ideas? Thanks in advance .... Jeff -- __________________________________________ Jeff Howard Software Engineer Office of the University Registrar University of North Carolina - Chapel Hill jeffh@email.unc.edu 919.962.4315
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Howard wrote: | Hi, | | I'm setting up Samba on a RH ES linux machine. I have basic functionality | working and can access a share from a Windows pc. I set up smb.conf | manually. I'd like to use SWAT but when I try to run it I get the error: | | -- The connection was refused when attempting to contact localhost:901 -- | | I set up the xinetd configuration file exactly as I've seen online. Webmin | works fine. I'm logged in as root. I tried turning off ipchains. Can't | get rid | of this error. Anyone have any ideas? | | Thanks in advance .... | | Jeff | Do you have an entry in /etc/services? You need a line like: swat 901/tcp Also, don't forget to restart xinetd, if you change /etc/services. Cheers, deryck - -- Deryck Hodge http://www.devurandom.org/ Auburn University Libraries http://www.lib.auburn.edu/ Samba Team http://www.samba.org/ I found mayonnaise bottles and poked holes on top To capture Tinker Bell And they were just fireflies to the untrained eye But I could always tell - --Lori McKenna, from "Fireflies"(2004) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB98Bm4glRK0DaE8gRAhH2AJ9XQSwKHwLYIbAwPjVz3gNsxICdrQCeNRPm DMrK3DHAYLopexqtFVXifcw=St9u -----END PGP SIGNATURE-----
Is swat installed on your system? Check for the existence of /usr/sbin/swat. - John T. On Wednesday 26 January 2005 08:56, Jeff Howard wrote:> Hi, > > I'm setting up Samba on a RH ES linux machine. I have basic functionality > working and can access a share from a Windows pc. I set up smb.conf > manually. I'd like to use SWAT but when I try to run it I get the error: > > -- The connection was refused when attempting to contact localhost:901 -- > > I set up the xinetd configuration file exactly as I've seen online. Webmin > works fine. I'm logged in as root. I tried turning off ipchains. Can't > get rid > of this error. Anyone have any ideas? > > Thanks in advance .... > > Jeff > > -- > __________________________________________ > Jeff Howard > Software Engineer > Office of the University Registrar > University of North Carolina - Chapel Hill > > jeffh@email.unc.edu > 919.962.4315-- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.