Erro ao iniciar VSFTPD após instalação (RESOLVIDO)

1. Erro ao iniciar VSFTPD após instalação (RESOLVIDO)

Marcelo Santos
NsMarcelo

(usa CentOS)

Enviado em 27/12/2017 - 23:51h

Olá!
Instalei o VSFTPd em um servidor Centos 7 e logo após a instalação, tentei iniciar o serviço, mas o servidor me retorna a seguinte tela:

Job for vsftpd.service failed because the control process exited with error code. See "systemctl status vsftpd.service" and "journalctl -xe" for details. 


No systemctl status vsftpd.service, obtenho a seguinte saida:

● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-12-28 01:37:10 UTC; 1min 33s ago
Process: 17917 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=2)

Dec 28 01:37:10 badmachine systemd[1]: Starting Vsftpd ftp daemon...
Dec 28 01:37:10 badmachine systemd[1]: vsftpd.service: control process exited, code=exited status=2
Dec 28 01:37:10 badmachine systemd[1]: Failed to start Vsftpd ftp daemon.
Dec 28 01:37:10 badmachine systemd[1]: Unit vsftpd.service entered failed state.
Dec 28 01:37:10 badmachine systemd[1]: vsftpd.service failed.



No journalctl -xe exibe a seguinte saida:

Dec 28 01:16:07 badmachine su[17747]: pam_unix(su:session): session opened for user root by userx(uid=0)
Dec 28 01:16:21 badmachine polkitd[378]: Registered Authentication Agent for unix-process:17759:72417008 (system bus name :1.20272 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Dec 28 01:16:21 badmachine systemd[1]: Starting Vsftpd ftp daemon...
-- Subject: Unit vsftpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vsftpd.service has begun starting up.
Dec 28 01:16:22 badmachine systemd[1]: vsftpd.service: control process exited, code=exited status=2
Dec 28 01:16:22 badmachine systemd[1]: Failed to start Vsftpd ftp daemon.
-- Subject: Unit vsftpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit vsftpd.service has failed.
--
-- The result is failed.
Dec 28 01:16:22 badmachine systemd[1]: Unit vsftpd.service entered failed state.
Dec 28 01:16:22 badmachine systemd[1]: vsftpd.service failed.
Dec 28 01:16:22 badmachine polkitd[378]: Unregistered Authentication Agent for unix-process:17759:72417008 (system bus name :1.20272, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)


Alguém pode me ajudar? Já fiz e refiz a configuração no arquivo varias vezes vsftpd.conf, não sei onde procurar o erro.


  


2. Re: Erro ao iniciar VSFTPD após instalação (RESOLVIDO)

Marcelo Santos
NsMarcelo

(usa CentOS)

Enviado em 28/12/2017 - 03:35h

Resolvido
A linha listen_ipv6 no arquivo /etc/vsftpd/vsftpd.conf estava com a opção YES, após mudar para NO o servidor inicializou normalmente.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts