Networking Forums

Networking Forums > Computer Networking > Linux Networking > ftp/telnet not accepting connections

Reply
Thread Tools Display Modes

ftp/telnet not accepting connections

 
 
ams
Guest
Posts: n/a

 
      10-04-2003, 09:51 PM
I can ftp localhost without a problem, but when I try to ftp into my
RedHat 8 system from other machines on my home network the connection
times out.

/etc/services
# refences to ftp
ftp-data 20/tcp
ftp-data 20/upd
ftp 21/tcp
ftp 21/upd fsp fspd
tfpt 69/tcp
tfpt 69/upd
sfpt 115/tcp
sfpt 115/upd

/etc/hosts.allow
# I know this must be changed, it's this way temporarily for
# troubleshooting purposes
ALL:ALL

/etc/hosts.deny
# empty

/etc/ftpaccess
# this also must be changed, again it is wide open for troubleshooting
# purposes

#deny-uid %-99 %65534-
#deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp

/sbin/chkconfig --list
# snipped
xinetd based services:
#snipped
wu-ftpd: on
- - -

I'm at a loss. Would someone please help?

Thanks!
- a
 
Reply With Quote
 
 
 
 
Paul Lutus
Guest
Posts: n/a

 
      10-04-2003, 10:51 PM
ams wrote:

> I can ftp localhost without a problem, but when I try to ftp into my
> RedHat 8 system from other machines on my home network the connection
> times out.
>
> /etc/services
> # refences to ftp


Doesn't mean anything. Have you activated the ftp daemon?

Do this:

# service vsftpd status

If, as I expect, the result is "stopped", do this:

# service vsftpd start

Then this:

# chkconfig --level 345 vsftpd on

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
Tim Hammerquist
Guest
Posts: n/a

 
      10-04-2003, 11:46 PM
ams graced us by uttering:
> I can ftp localhost without a problem, but when I try to ftp
> into my RedHat 8 system from other machines on my home network
> the connection times out.


Just from that, it sounds like a firewall issue. Even if
a service isn't running, you should still get a "connection
refused" message. I would guess that the packets are being
dropped by a firewall or router, possibly on the redhat box
itself. Someone who uses redhat should be able to tell you how
to check.

BTW, don't use telnet for remote access... AT ALL. Excuses like,
"it's only for a few people" or "it's only once in a while" or
"only in emergencies" don't prevent anyone on any host between
you and your server to sniff your plain-text passwords or grab
any other piece of unencrypted information. ftp clients also
send your password unencrypted along every host in between.

HTH,
Tim Hammerquist
--
Anyone who says he can see through women is missing a lot.
-- Groucho Marx
 
Reply With Quote
 
ams
Guest
Posts: n/a

 
      10-05-2003, 04:04 PM
On Sat, 04 Oct 2003 15:51:03 -0700, Paul Lutus <(E-Mail Removed)>
wrote:

>Have you activated the ftp daemon?
>
>Do this:
>
># service vsftpd status


returns:

vsftpd: unrecognized service


 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      10-05-2003, 04:26 PM
ams wrote:

> On Sat, 04 Oct 2003 15:51:03 -0700, Paul Lutus <(E-Mail Removed)>
> wrote:
>
>>Have you activated the ftp daemon?
>>
>>Do this:
>>
>># service vsftpd status

>
> returns:
>
> vsftpd: unrecognized service


This means there is no FTP server software installed on your system. This
PROBABLY explains why you cannot FTP that machine.

1. Find and install the appropriate RPM.

2. Configure it as explained in my last post.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
ams
Guest
Posts: n/a

 
      10-05-2003, 04:49 PM
On Sun, 05 Oct 2003 09:26:27 -0700, Paul Lutus <(E-Mail Removed)>
wrote:

>> On Sat, 04 Oct 2003 15:51:03 -0700, Paul Lutus <(E-Mail Removed)>
>> returns:
>>
>> vsftpd: unrecognized service

>
>This means there is no FTP server software installed on your system. This
>PROBABLY explains why you cannot FTP that machine.
>
>1. Find and install the appropriate RPM.
>
>2. Configure it as explained in my last post.


Installed wu-ftpd-2.6.2-8 from rpm.
Restarted xinet.d

# service wu-ftpd status
wu-ftpd: unrecognized service


 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      10-05-2003, 04:52 PM
ams wrote:

> On Sun, 05 Oct 2003 09:26:27 -0700, Paul Lutus <(E-Mail Removed)>
> wrote:
>
>>> On Sat, 04 Oct 2003 15:51:03 -0700, Paul Lutus <(E-Mail Removed)>
>>> returns:
>>>
>>> vsftpd: unrecognized service

>>
>>This means there is no FTP server software installed on your system. This
>>PROBABLY explains why you cannot FTP that machine.
>>
>>1. Find and install the appropriate RPM.
>>
>>2. Configure it as explained in my last post.

>
> Installed wu-ftpd-2.6.2-8 from rpm.


Why did you not follow my instructions?

RH8/CD1/RedHat/RPMS/vsftpd-1.1.0-1.i386.rpm

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
ams
Guest
Posts: n/a

 
      10-05-2003, 05:02 PM
On Sun, 05 Oct 2003 09:52:51 -0700, Paul Lutus <(E-Mail Removed)>
wrote:

>Why did you not follow my instructions?
>
>RH8/CD1/RedHat/RPMS/vsftpd-1.1.0-1.i386.rpm


Perhaps your previous message didn't make it to my news reader?

In either case...

# rpm -qa | grep ftp

anonftp-4.0-12
wu-ftpd-2.6.2-8
ftp-0.17-15
vsftpd-1.1.0-1

vsftp's config file is set to disable = yes, however wu-ftpd's config
file is set to disable=no.

why would I be able to ftp localhost(from my first message in the
thread) if the service isn't running or installed?
 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      10-05-2003, 05:07 PM
ams wrote:

> On Sun, 05 Oct 2003 09:52:51 -0700, Paul Lutus <(E-Mail Removed)>
> wrote:
>
>>Why did you not follow my instructions?
>>
>>RH8/CD1/RedHat/RPMS/vsftpd-1.1.0-1.i386.rpm

>
> Perhaps your previous message didn't make it to my news reader?


No, I had assumed you would know that the daemon vsftpd was located in an
RPM with the same name. This time I spelled it out for you.

>
> In either case...
>
> # rpm -qa | grep ftp
>
> anonftp-4.0-12
> wu-ftpd-2.6.2-8
> ftp-0.17-15
> vsftpd-1.1.0-1
>
> vsftp's config file is set to disable = yes, however wu-ftpd's config
> file is set to disable=no.


Reverse those settings. And you shouldn't have installed wu-ftpd. Be careful
to prevent both daemons from running at once.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
ams
Guest
Posts: n/a

 
      10-05-2003, 05:18 PM
On Sun, 05 Oct 2003 10:07:39 -0700, Paul Lutus <(E-Mail Removed)>
wrote:

>> vsftp's config file is set to disable = yes, however wu-ftpd's config
>> file is set to disable=no.

>
>Reverse those settings. And you shouldn't have installed wu-ftpd. Be careful
>to prevent both daemons from running at once.


Well the sole reason I installed wu-ftpd was because the exact same
problem occurred with vsftpd. I hoped that a different server would
be the answer.

If you are willing to assist further I will uninstall wu-ftpd, enable
vsftp and restart xinetd.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Svr 2003 stopped accepting incoming RDP & FTP connections after SP Tiran Irani Windows Networking 3 07-15-2008 10:28 PM
Web Server 2K3 stops accepting Internet connections Buck Windows Networking 0 02-05-2008 12:02 AM
Enable root access to telnet with krb5-telnet Phoe6 Linux Networking 2 06-08-2007 11:00 AM
Server not accepting new connections Shads79 Windows Networking 3 05-15-2007 03:36 AM
Server 2003 not Accepting any Internet Connections, Not Even Ping! Kingsley Jarrett Windows Networking 10 01-16-2005 03:23 PM



1 2 3 4 5 6 7 8 9 10 11