ftp : connection closed , no service available`

28 views
Skip to first unread message

sumit

unread,
Jun 2, 2006, 12:55:56 AM6/2/06
to Linux4Ludhiana
hi,
I created a root file system in which ftp doemon should be
running. for This I installed wu-ftpd in root file system . and for
configuration files I used one old file sytem ( ftp daemon works
properly in this file system.) I copied ftpaccess ftpusers ftphosts
ftpconversions files from old rfs to new rfs. But when I try to
connect to new rfs using ftp I gives error message 421


error 421 : connection closed , service not available

The only changes between new and old rfs is glibc version and may
be some configuration difference in busybox configuration .can you tell
me what the problem could be.

Thanks & Regards
Sumit

bandwid...@gmail.com

unread,
Jun 2, 2006, 1:43:50 AM6/2/06
to Linux4Ludhiana
>From what i know you Busybox also has a ftp server command built in
,you could use that. This is definately a configuration issue. But try
this out and its shall hopefully throw some light
Files you need to have ftp service running
./etc/ftpchroot
./etc/ftpusers
./etc/init.d/wu-ftpd
./etc/logrotate.d/wu-ftpd
./etc/wu-ftpd
./etc/wu-ftpd/ftpaccess
./etc/wu-ftpd/ftpconversions
./etc/wu-ftpd/ftpservers
./etc/wu-ftpd/ftpusers
./etc/wu-ftpd/msg.deny
./etc/wu-ftpd/msg.nodns
./etc/wu-ftpd/msg.toomany
./etc/wu-ftpd/pathmsg
./etc/wu-ftpd/welcome.msg
./usr/bin/ftp
./usr/bin/ftpcount
./usr/bin/ftpwho
./usr/bin/pftp
./usr/lib/pml/packages/wu-ftpd
./usr/sbin/addftpuser
./usr/sbin/ftprestart
./usr/sbin/ftpshut
./usr/sbin/in.ftpd
./usr/sbin/wu-ftpd
./usr/sbin/xferstats.wu-ftpd
./usr/sbin/rmftpuser

But am thinking you missing out the /etc/inetd.conf file which should
look like this
ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a
# ftp stream tcp nowait root /usr/sbin/tcpd proftpd
#ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd

and did u port the tcpd and dump it in /usr/sbin of the target device ?
After all this restart ur inetd service .. i usually do a
/usr/sbin/inetd /etc/inetd.conf.
regards,
Manav

saravanan

unread,
Jun 2, 2006, 4:20:05 AM6/2/06
to Linux4L...@googlegroups.com, sumit
Hi sumit,

I thing u r configuration not root dir.
U go to check this dir /etc/inet.d inside ftp file check it there no change
to yes.
U install vsftp don't or install wuftp.

Regards,
Saravanan.G

Manav Gautam

unread,
Jun 2, 2006, 3:04:52 AM6/2/06
to Linux4L...@googlegroups.com, sumit
On 6/2/06, saravanan <sara...@parrus-it.com > wrote:

Hi sumit,

I thing u r configuration not root dir.
U go to check this dir /etc/inet.d inside ftp file check it there no change
to yes.
U install vsftp don't or install wuftp.

From that security point of view OpenSSH would be a great port for u. More complicated ,more CPU intensive and slower but thats your choice .
 


-----Original Message-----
From: Linux4L...@googlegroups.com
[mailto: Linux4L...@googlegroups.com ] On Behalf Of sumit
Sent: Thursday, June 01, 2006 8:56 PM
To: Linux4Ludhiana
Subject: ftp : connection closed , no service available`


hi,
    I created  a root file system  in which ftp doemon should be
running. for This I installed wu-ftpd in root file system . and for
configuration files I used one old file sytem ( ftp daemon works
properly in this file system.) I  copied ftpaccess ftpusers ftphosts
ftpconversions files from old rfs to new rfs.  But when I try to
connect to new rfs using ftp  I gives error message 421


    error 421 : connection closed , service not available

     The only changes between new and old rfs is glibc version and may
be some configuration difference in busybox configuration .can you tell
me what the problem could be.

                      Thanks & Regards
                        Sumit









--
bandwidthcrunch  at google mail aka gmail dot com

Embedded Linux blog ( http://www.embeddedlinux.co.nr )
L4L ( http://groups.google.com/group/Linux4Ludhiana )

sumit Shrivastava

unread,
Jun 2, 2006, 6:18:11 AM6/2/06
to Manav Gautam, Linux4L...@googlegroups.com
Hi,
Thanks I got the problem tcpd was not there

Sumit Shrivastava

Reply all
Reply to author
Forward
Message has been deleted
0 new messages