Anonymous FTP Not Working

Jeff75

Well-Known Member
Apr 11, 2003
555
0
166
I am running Proftpd 1.3.28 on FreeBSD 4.7 and have Anonymous FTP enabled in WHM under Tweak FTP and I also have it enabled on the account in cPanel. Each account has a dedicated IP address and it keeps coming up with a 530 Login Incorrect error whenever I try to connect using anonymous or [email protected] as the username.

I have also removed the comments from the anonymous ftp section in the proftpd.conf file. Does anybody have any idea why it's not allowing me to connect? Here are my settings for anonymous in the config file:

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#########################################################################
# #
# Uncomment lines with only one # to allow basic anonymous access #
# #
#########################################################################

<Anonymous ~ftp>
User ftp
Group ftp

### We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

### Limit the maximum number of anonymous logins
MaxClients 10

### We want 'welcome.msg' displayed at login, and '.message' displayed
### in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

### Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>
cPanel.net Support Ticket Number:
 

HostIt

Well-Known Member
Feb 22, 2003
151
1
168
I just went through much the same situation with a Ded.IP account that could not log on to Anon FTP without using "[email protected]" as the username.

It turns out that account was missing a VirtualHost entry in proftpd.conf. I added the entry and restarted FTP via WHM but it was still not working. I then manually restarted FTP in shell and it finally worked :)

The moral: a) Make sure the VirtualHost entry exists in proftpd.conf and then b) Restart proftpd via SSH, because restarting it via WHM does not pick up changes in proftpd.conf.

# /etc/rc.d/init.d/proftpd stop
# /etc/rc.d/init.d/proftpd start
 
Last edited: