• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 7 : unable to start vsftpd service

By admin

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

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. How to monitor the status of dm-multipathing and multipath devices (path groups) in Linux
  2. CentOS / RHEL 4 : How to install and configure FTP server (vsftpd)
  3. How to Setup SSH keys for “passwordless” ssh login in Linux
  4. CentOS / RHEL : How to change password hashing algorithm
  5. How to exclude a file/directory from auditd rules
  6. What are “segfault” messages in /var/log/messages file
  7. How to Boot into Rescue Mode or Emergency Mode Through Systemd in CentOS/RHEL 7 and 8
  8. Understanding chroot Jail
  9. CentOS / RHEL 6,7 : How to increase system log message verbosity (rsyslogd)
  10. CentOS / RHEL 7 : How to change the verbosity of debug logs during booting

You May Also Like

Primary Sidebar

Recent Posts

  • How to Disable IPv6 on Ubuntu 18.04 Bionic Beaver Linux
  • How to Capture More Logs in /var/log/dmesg for CentOS/RHEL
  • Unable to Start RDMA Services on CentOS/RHEL 7
  • How to rename a KVM VM with virsh
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary