[SATLUG] connections refused

daz at undertaker.homeip.net daz at undertaker.homeip.net
Thu Aug 15 10:06:02 CDT 2002


On Thu, 15 Aug 2002, G. D. Abernathy wrote:

> daz at undertaker.homeip.net wrote:
> 
> > On Thu, 15 Aug 2002, G. D. Abernathy wrote:
> >
> > > I have installed RH 7.1 with samba and a web set up.  When I attempt to
> > > connect from another machine, the connection is refused.  I can ping
> > > and ftp to and from the box but Telnet does not work either, in or out.
> > > I have checked the /etc/services files and the appropriate ports are
> > > open.  Netstat reveals that ssn is in a listen state.  I know that I
> > > must be overlooking something simple, any ideas?  TIA
> >


> > 3) make sure xinetd is running (if you are using it)
> 
> How do I verify this?

"ps aux | grep xinet" showed this:
root       740  0.0  0.4  2248  776 ?        S    Aug09   0:00 xinetd 
-stayalive
daz      25088  0.0  0.3  1704  596 pts/1    S    08:45   0:00 
grep xinet

also, check the '/etc/rc.d/rc3.d' (replace 3 with whatever runlevel you 
start with) for an 'S56xinetd' file.  the '56' part might be different.  
If you have a K##xinetd (replacing ## with a number) then xinetd isnt set 
to start at that runlevel.   'chkconfig xinetd on' will fix that :)


> > 6) if you are running a firewall, make sure its not blocking those ports
> 
> nope (at least not that I am aware of), striclty an in-house LAN

run 'ipchains -L' and 'iptables -L'.  I dont remember redhat 7.1, but I 
think it sets up some basic firewall stuff for you on the local machine.


> 
> I can telnet out, verified all test for samba, call access web from local
> host, just no box from the LAN can access this one.

for apache, check the /etc/httpd/conf/httpd.conf file for the line 
"ServerName" directive.  make sure its set to something other than 
'localhost' or '127.0.0.1' (preferably the actual ip the 7.1 box is using)

for samba, 'smbclient -L localhost' see if there is any output.  then 
'smbclient -L ipaddress' and check the same.   if you get good output from 
'localhost' but not your actual ipaddress, then samba is bound to 
localhost only.   look in the smb.conf file for a 'interfaces' line (I 
believe) and change it to eth0 or whatever it should be on.

David

 
> > TIA,
> gda
> 
> 
> >
> >
> > David
> >
> > >
> > > gda
> > >
> > > _______________________________________________
> > > Satlug mailing list
> > > Satlug at satlug.org
> > > http://alamo.satlug.org/mailman/listinfo/satlug
> > >
> >
> > --
> > "I find your lack of faith disturbing."
> > --Darth Vader
> > ---
> >   7:35am  up 5 days, 19:12,  1 user,  load average: 0.00, 0.00, 0.00
> >
> > _______________________________________________
> > Satlug mailing list
> > Satlug at satlug.org
> > http://alamo.satlug.org/mailman/listinfo/satlug
> 
> _______________________________________________
> Satlug mailing list
> Satlug at satlug.org
> http://alamo.satlug.org/mailman/listinfo/satlug
> 

-- 
"I find your lack of faith disturbing."
--Darth Vader
---
  8:45am  up 5 days, 20:22,  1 user,  load average: 0.00, 0.00, 0.00




More information about the Satlug mailing list