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.