A tarefa para vsftpd.service falhou porque o processo de controle foi encerrado com o código de erro

1

Não consigo reiniciar o 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.

Eu uso o systemctl status vsftpd -l para verificar:

[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.

E fique atento, no meu /etc/vsftpd/vsftpd.conf , mudei o:

listen=YES
listen_ipv6=NO

Eu uso o journalctl -xe , recebo as informações abaixo:

[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:
                                                  '

Jun 18 20:09:46 localhost.localdomain polkitd [33643]: Erro ao avaliar 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]: Erro ao avaliar authoriza li

    
por three-blocks 18.06.2017 / 11:24

1 resposta

0

De acordo com o arquivo de configuração vsftpd

# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.

então comente listen_ipv6=NO e tente novamente.

    
por 12.10.2018 / 16:52