CentOS 7 : unable to start vsftpd service

While starting or restarting the vsftpd service you might get below error on an RHEL 7 system.

# systemctl restart vsftpd.service
   Job for vsftpd.service failed. See 'systemctl status vsftpd.service' and 'journalctl -xn' for details.

 

If it is the first time you are starting vsftpd you might have to update few parameters in the configuration file /etc/vsftpd/vsftpd.conf for it to work. Follow the steps below to get the vsftpd service working.

 

1. Update below parameters in /etc/vsftpd/vsftpd.conf file. By default the parameter listen has a value “NO” assigned to it and parameter listen_ipv6 is uncommented.

listen=YES             # default is NO
#listen_ipv6=YES       # default is uncommented

 

2. Restart vsftpd service once you have made the above changes.

# systemctl restart vsftpd.service

 

3. Make sure there no syntax error in the vsftpd configuration file – /etc/vsftpd/vsftpd.conf. Run the vsftpd command and verify the functionality.

# vsftpd
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I configure a ip range in CentOS7?

You have to use a range file Edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and make...

Adding a Public IPv6 Address to a Linux Server (CentOS 7)

To configure an additional public IPv6 address in CentOS 7, proceed as follows:...

How To Install EPEL Repository On CentOS And RHEL 7

How to install EPEL for Centos 7 [root@localhost ~]# cat  /etc/centos-release CentOS Linux...

Common Commands (CentOS 7)

Basic Configuration Query or System Locale...

Install LAMP Stack on CentOS 7

Install LAMP Stack on CentOS 7 One of the most simple and barebones solutions you can have for...