Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just installed proftpd like 10 times an i always get connection refused. i even switched to mand. to get it to work and still it says connection refused when i try to connect to my lan ip. Does any 1 kno anything?
You need to configure your /etc/proftpd.conf file, and actually, for the most part, it just might work out of the box.
Post up yours so we can see if there is anything wrong. Also, give us some info on your system.
First try ftping to the box from the box by opening up a console and typing:
ftp localhost
That will tell you whether it's even running or not. If not, you've got to read your documentation on how to start it, or just try:
whereis proftpd
Notice the location, something like /sbin/proftpd then:
/sbin/proftpd (as root)
ok i can somewhat see what your trying to do, so if you did indeed make an account for the ftp server then you can try to type "ftp" and prompt
and then type "open 127.0.0.1" or "open <your-external-ip-here>
and then log in with the username and password and see if it works?
# This is a basic ProFTPD configuration file (rename it to
'proftpd.conf' for actual use. It establishes a single server# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.
ServerName "192.168.1.201"
ServerType standalone
DefaultServer on
# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on
# Port 21 is the standard FTP port.
Port 2121
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30
# Set the user and group under which the server will run.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>
# Needed for NIS.
PersistentPasswd off
# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/tyler
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154
Rep:
Hey bnumark, how did you end up getting your proftp to work?...I got rid of the fatal errors...but I'm still getting "421 Service not available". Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.