
Configurei meu sistema operacional suse guest para executar um servidor web e um ftp, mas não consigo abrir uma conexão ftp do meu host. Só consigo abrir uma conexão http. Meu cliente FTP me dá:
STATUS:> [26.04.2012 13:15:20] Liste "" wird abgerufen...
STATUS:> [26.04.2012 13:15:20] Verbindung zum FTP-Server wird hergestellt...
192.168.92.128:21 (ip = 192.168.92.128)...
STATUS:> [26.04.2012 13:15:20] Socket verbunden. Warte auf Willkommensnachricht...
[26.04.2012 13:15:20] 500 OOPS: could not bind listening IPv6 socket
FEHLER:> [26.04.2012 13:15:20] Syntaxfehler: Befehl nicht erkannt.
netstat -a no meu sistema operacional convidado me dá isto:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
udp 0 0 *:mdns *:*
udp 0 0 *:56897 *:*
udp 0 0 *:27213 *:*
udp 0 0 *:ipp *:*
udp 0 0 *:34000 *:*
udp 0 0 *:dhcpv6-client *:*
Como posso saber quais credenciais preciso inserir para me conectar ao meu servidor FTP? Quando abro uma sessão FTP com anônimo, recebo este erro:
STATUS:> [26.04.2012 13:48:18] Liste "" wird abgerufen...
STATUS:> [26.04.2012 13:48:18] Verbindung zum FTP-Server wird hergestellt...
192.168.92.128:21 (ip = 192.168.92.128)...
STATUS:> [26.04.2012 13:48:18] Socket verbunden. Warte auf Willkommensnachricht...
[26.04.2012 13:48:18] 220 Willkommensnachricht
STATUS:> [26.04.2012 13:48:18] Verbunden. Authentifizierung läuft...
BEFEHL:> [26.04.2012 13:48:18] USER anonymous
[26.04.2012 13:48:18] 331 Please specify the password.
BEFEHL:> [26.04.2012 13:48:18] PASS *****
[26.04.2012 13:48:18] 500 OOPS: vsftpd: refusing to run with writable root
inside chroot()
Responder1
Esse último "OOPS" exige que você, como administrador do site FTP, altere as permissões na raiz do site FTP no seu convidado do openSUSE. Você pode aplicar chmod a-w
a ele. Só é necessário remover a permissão de gravação no diretório superior do site (sem opção -R)