I get this error when I want to restart the ftp service of my private server rocky linux 8, I have already added an ftp user, changed the ftp password and the ftp is active, but when I restart it to confirm the changes in the ftp server and be able to use it, I get this:
systemctl restart vsftpd
Job for vsftpd.service failed because the control process exited with error code.
See “systemctl status vsftpd.service” and “journalctl -xe” for details.
Do you know what it could be?
Did you check the “end” of journalctl output as it told you to?
Usually means problems with the changes you made in the configuration file vsftpd.conf. Incorrect format, incorrect entries, things like that. The /var/log/vsftpd.log or wherever is located should help, or check /var/log/messages as well for entries related to vsftpd.
I had the same problem, you added something to the vsftpd.conf it doesn’t like. Put a hash # in front of all the lines you altered or added and restart. If it works remove the # until it doesn’t and you’ve found the problem.
With mine it was a - instead of a =