I have a minimal install of Centos in VirtualBox. I want to run a ftp service to share files between the host and my VM, and then learn about ftp servers.
I installed vsftpd and changed the vsftpd.conf file as bellow:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=O22
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port 2O=YES
xferlog_std format=YES
chroot_local_user=YES
listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
But, when I type
service vsftpd start
I get the following error:
> _Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details._
Is this issue happening due of a wrong config as showed above, or is it something else?
What can I do to start my ftp server?
**EDIT**
Output of systemctl status -l vsftpd.service
[user@localhost vsftpd]$ systemctl status -l vsftpd.service
vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service, disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2017-05-09 21:03:19 -03; 3min 2s ago
Process: 3047 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited status=2)
Mai 09 21:03:19 localhost.localdomain systemd: Starting Vsftpd ftp daemon...
Mai 09 21:03:19 localhost.localdomain systemd: vsftpd.service: control process exited, code=exited status=2
Mai 09 21:03:19 localhost.localdomain systemd: Failed to start Vsftpd ftp daemon.
Mai 09 21:03:19 localhost.localdomain systemd: Unit vsftpd.service entered failed state.
Mai 09 21:03:19 localhost.localdomain systemd: vsftpd.service failed.
[user@localhost vsftpd]$
Asked by tdmsoares
(147 rep)
May 11, 2017, 11:20 PM
Last activity: Mar 22, 2025, 03:43 AM
Last activity: Mar 22, 2025, 03:43 AM