
Configuré mi sistema operativo invitado Suse para ejecutar un servidor web y un ftp, pero no puedo abrir una conexión ftp desde mi host. Sólo puedo abrir una conexión http. Mi cliente ftp me da:
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 en mi sistema operativo invitado me da esto:
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 *:*
¿Cómo puedo saber qué credenciales necesito ingresar para conectarme con mi servidor ftp? Cuando abro una sesión ftp con anónimo me da este error:
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()
Respuesta1
Ese último "OOPS" requiere que usted, como administrador del sitio ftp, cambie los permisos en la raíz del sitio ftp en su invitado openSUSE. Puedes postularte chmod a-w
. Sólo es necesario eliminar el permiso de escritura en el directorio superior del sitio (sin opción -R)