Solution to failure to start proftpd in Webmin under CentOS 6

Source: Internet
Author: User


After Webmin is installed in the Xen VPS of CentOS 6 32bit system, the proftpd service is not started.
Input using Putty

Service proftpd restart

On-screen prompt

Shutting down proftpd: [FAILED]
Starting proftpd: [FAILED]
Because proftpd does not enable logging by default, the/var/log/proftpd/directory is empty, so the error log cannot be viewed.

Run:

Proftpd

On-screen prompt

-Warning: unable to determine IP address of 'myvps'
-Error: no valid servers configured
-Fatal: error processing configuration file '/etc/proftpd. Conf'

According to the error message, proftpd cannot determine the IP address of the VPS.

Solution:

1. Add the vps ip address in the configuration file/etc/proftpd. conf. (enter the IP address based on the actual IP address. Here, use 198.168.8.8 as an example );

DefaultAddress 198.168.8.8

2. Modify the host name/etc/hosts

Vi/etc/hosts

198.168.8.8 MyVPS

After saving and exiting, enter:

Service proftpd start
OK. The proftpd is successfully started.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.