EC2でRed Hat Enterprise Linux release 8.0 のサーバーを立てております。
sudo systemctl restart vsftpd.service でvsftpdを再起動しようとしたのですがエラーが出るようになりました。
$ sudo systemctl start vsftpd.service Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details.
上記のエラーメッセージに従い、systemctl status vsftpd.serviceを実行して見た所、下記のようなエラーが出ました。
$ systemctl status vsftpd.service ● vsftpd.service - Vsftpd ftp daemon Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2019-07-18 20:17:55 JST; 18s ago Process: 17792 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=1/FAILURE) Jul 18 20:17:52 ip-172-31-4-201.ap-northeast-1.compute.internal systemd[1]: Starting Vsftpd ftp daemon... Jul 18 20:17:55 ip-172-31-4-201.ap-northeast-1.compute.internal systemd[1]: vsftpd.service: Control process exited, code=exited status=1 Jul 18 20:17:55 ip-172-31-4-201.ap-northeast-1.compute.internal systemd[1]: vsftpd.service: Failed with result 'exit-code'. Jul 18 20:17:55 ip-172-31-4-201.ap-northeast-1.compute.internal systemd[1]: Failed to start Vsftpd ftp daemon.
この場合、よくある回答としてはおそらくvsftpd.confに間違いがあるので/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf を実行するとエラーが出るというものなのですが、こちらを実行しても何もエラーが出ませんでした。
調査方法として他にどのようなことを調べればよろしいでしょうか?
回答2件
あなたの回答
tips
プレビュー