Help! I finally got it installed, and now I can't get into SWAT... I go to http://servername:901, and get a 'The connection was refused by the server" Can anybody tell me what dumb thig I'm doing wrong? I really ned to get this thing working tonight... Thanks Charles Marcus
This may help, not sure, i had the same prob until i added to the
/etc/services file
swat 901/tcp
got this tip from link below: with text copied from that doc follows next.
Hope that helps!
http://home.germany.net/101-69082/samba.html
3. Configuration Issues
3.1. SWAT - a configuration tool
The 'man swat' documentation is a very good place to start, although I
am
paranoid enough to use TCP-Wrappers. To use swat with TCP-Wrappers, in
/etc/inetd.conf, take the line
swat stream tcp nowait.400 root /usr/sbin/swat swat
and change it to
swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat
/etc/services needs a line
swat 901/tcp
hosts.deny needs the line
swat: ALL
In /etc/hosts.allow you need
swat: 127.0.0.1
and maybe a second IP address or range as well on that line if you are
feeling adventurous.
As of version 2.0.7, Using Samba can also be accessed via SWAT.
Richard Gardner
"I don't have a life, I have a program"
-- The Doctor, 'Voyager, Stardate: 49101.3'
-----Original Message-----
From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org]On
Behalf Of Charles Marcus
Sent: Sunday, April 08, 2001 12:59 PM
To: Samba Maillist (E-mail)
Subject: 2.2a3 and SWAT - connection refused by server
Help!
I finally got it installed, and now I can't get into SWAT...
I go to http://servername:901, and get a 'The connection was refused by the
server"
Can anybody tell me what dumb thig I'm doing wrong? I really ned to get
this thing working tonight...
Thanks
Charles Marcus
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
I almost forgot - I'm using Redhat 7.0, which uses xinetd instead of inetd, but I can't find anything in the man pages or anywhere else on using xinetd... anyone? thanks Charles> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On > Behalf Of Charles Marcus > Sent: Sunday, April 08, 2001 3:59 PM > To: Samba Maillist (E-mail) > Subject: 2.2a3 and SWAT - connection refused by server > > > Help! > > I finally got it installed, and now I can't get into SWAT... > > I go to http://servername:901, and get a 'The connection was > refused by the > server" > > Can anybody tell me what dumb thig I'm doing wrong? I really > ned to get > this thing working tonight... > > Thanks > > Charles Marcus > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
swat is disabled by default for xinetd. Check for '/etc/xinetd.d/swat'. If it's there, open it and check for a line that reads 'disable=yes'. Either comment it out, change it to 'no', or delete it. Then stop and start xinetd to enable your changes. i.e. '/etc/init.d/xinetd stop', then '/etc/init.d/xinetd start'.> -----Original Message----- > From: Charles Marcus [mailto:CharlesM@media-Brokers.com] > Sent: Sunday, April 08, 2001 3:36 PM > To: Samba Maillist (E-mail) > Subject: RE: 2.2a3 and SWAT - connection refused by server > > > I almost forgot - I'm using Redhat 7.0, which uses xinetd > instead of inetd, > but I can't find anything in the man pages or anywhere else on using > xinetd... > > anyone? > > thanks > > Charles > > > -----Original Message----- > > From: samba-admin@lists.samba.org > > [mailto:samba-admin@lists.samba.org]On > > Behalf Of Charles Marcus > > Sent: Sunday, April 08, 2001 3:59 PM > > To: Samba Maillist (E-mail) > > Subject: 2.2a3 and SWAT - connection refused by server > > > > > > Help! > > > > I finally got it installed, and now I can't get into SWAT... > > > > I go to http://servername:901, and get a 'The connection was > > refused by the > > server" > > > > Can anybody tell me what dumb thig I'm doing wrong? I really > > ned to get > > this thing working tonight... > > > > Thanks > > > > Charles Marcus > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Charles Marcus
2001-Apr-09 14:49 UTC
[RESOLVED] 2.2a3 and SWAT - connection refused by server
Many thanks to Michael McEldowney for fixing my problem with Samba 2.2a3 on my Redhat 7.0 box. The problem was simple enough once I understood how xinetd works...since I didn't have 2.07 installed before I installed 2.2a3, there was no /etc/xinetd.d/swat file for xinetd to use to run SWAT. All I had to do was copy the text from the file Michael provided (which I will be happy to provide to anyone else should they need it) to a new file, and stop/start xinetd, and bingo, SWAT is running. Thanks Michael! Charles Marcus I.T. Director (NT, that is) Media Brokers International> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org]On > Behalf Of Charles Marcus > Sent: Sunday, April 08, 2001 3:59 PM > To: Samba Maillist (E-mail) > Subject: 2.2a3 and SWAT - connection refused by server > > > Help! > > I finally got it installed, and now I can't get into SWAT... > > I go to http://servername:901, and get a 'The connection was > refused by the > server" > > Can anybody tell me what dumb thig I'm doing wrong? I really > ned to get > this thing working tonight... > > Thanks > > Charles Marcus > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >