제어 프로세스가 오류 코드와 함께 종료되었기 때문에 vsftpd.service에 대한 작업이 실패했습니다.

제어 프로세스가 오류 코드와 함께 종료되었기 때문에 vsftpd.service에 대한 작업이 실패했습니다.

재부팅할 수 없습니다 vsftpd.

[root@localhost vsftpd]# service vsftpd restart 
Redirecting to /bin/systemctl restart  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 -l확인하는 데 사용합니다:

[root@localhost ~]# systemctl status vsftpd -l
● vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2017-06-18 17:14:15 CST; 2h 49min ago
  Process: 33103 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=1/FAILURE)

Jun 18 17:14:12 localhost.localdomain systemd[1]: Starting Vsftpd ftp daemon...
Jun 18 17:14:15 localhost.localdomain systemd[1]: vsftpd.service: control process exited, code=exited status=1
Jun 18 17:14:15 localhost.localdomain systemd[1]: Failed to start Vsftpd ftp daemon.
Jun 18 17:14:15 localhost.localdomain systemd[1]: Unit vsftpd.service entered failed state.
Jun 18 17:14:15 localhost.localdomain systemd[1]: vsftpd.service failed.

내 경우에는 다음과 같이 /etc/vsftpd/vsftpd.conf변경했습니다.

listen=YES
listen_ipv6=NO

나는 사용 journalctl -xe하고 다음을 얻습니다.

[root@localhost vsftpd]# journalctl -xe
                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p

                                                      (pkla-check-authorization:
                                                      '
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: Error evaluating authoriza
Jun 18 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49-p



                                      (pkla-check-authorization:
                                                  '

6월 18일 20:09:46 localhost.localdomain polkitd[33643]: 인증 평가 오류 6월 18일 20:09:46 localhost.localdomain polkitd[33643]: /etc/polkit-1/rules.d/49 -p

                                                  (pkla-check-authorization:
                                                  '

6월 18일 20:09:46 localhost.localdomain polkitd[33643]: 인증 평가 중 오류 발생

답변1

vsftpd 구성 파일에 따르면

# "listen" 지시문이 활성화되면 vsftpd는 독립형 모드로 실행되며
# IPv4 소켓에서 수신 대기합니다. 이 명령은 동시에 사용할 수 없습니다
# Listen_ipv6 지시문을 사용합니다.

따라서 주석을 달고 listen_ipv6=NO다시 시도하십시오.

답변2

저도 같은 문제가 있어서 아래 단계를 따랐어요

  1. 복사vsftpd.conf
  2. listen=NO로 변경listen=YES
  3. listen_ipv6=YES 로 변경listen_ipv6=NO
  4. 문서 저장
  5. vsftp 다시 시작

관련 정보