Introduction
The FAIL: ftp per_source_limit error occurs when the FTP service reaches the maximum number of connections allowed from a single IP address. This can prevent users from connecting to the FTP server. The issue can be resolved by updating the FTP service configuration.
Prerequisites
- Root or sudo access to the server
- SSH access to the server
- Permission to modify the FTP configuration
Implementation
Step 1
Check the system log for the following error:
FAIL: ftp per_source_limit from=xxx.xxx.xxx.xxx
Step 2
Open the FTP configuration file:
/etc/xinetd.d/ftp_psa
Step 3
Add or update the following line:
per_source = UNLIMITED
Step 4
Save the file.
Step 5
Restart the xinetd service:
/sbin/service xinetd restart
Step 6
Verify that users can now connect to the FTP server without the per_source_limit error.
Conclusion
Updating the per_source setting removes the connection limit for a single IP address, allowing users to establish FTP connections successfully. After restarting the xinetd service, verify that the FTP service is working as expected.
FAQs
1. What does the FAIL: ftp per_source_limit error mean?
The FAIL: ftp per_source_limit error indicates that the FTP service has reached the maximum number of connections permitted from a single IP address.
2. How can I resolve the ftp per_source_limit error?
Open the /etc/xinetd.d/ftp_psa configuration file and add or update the following setting:
per_source = UNLIMITED
Then restart the xinetd service:
/sbin/service xinetd restart
3. Is restarting the xinetd service required after changing the configuration?
Yes. Restarting the xinetd service applies the updated FTP configuration and allows the new per_source setting to take effect.
Related Articles
Wget FTP Download Syntax
Learn how to use wget for downloading files from an FTP server, including the basic FTP download syntax and commands.
Wget FTP Download Syntax
Configure Dreamweaver to Access MySQL Database via FTP and cPanel
Learn how to configure Dreamweaver to work with a MySQL database through FTP and cPanel remote database access.
Configure Dreamweaver to Access MySQL Database via FTP and cPanel
Plesk Email and FTP Password Decryption
Explore the article covering email and FTP password handling in Plesk environments.
Plesk Email and FTP Password Decryption
Talk to our experts
Looking for the right technology solution for your business? Our team of experts can help you with development, cloud, DevOps, design, and a wide range of other technology needs. Get in touch with our team here.