[Pluto-help] stallo di konqueror in download - PROBLEM SOLVING HOW-TO

MaNdRiCuS mandricus a libero.it
Ven 19 Apr 2002 15:04:10 CEST


[> Grazie del consiglio, in effetti penso sia utile, viste le caratteristiche
> che offre...altro che download manager...
> Ho letto la man ed ho provato, senza utilizzare il .conf, a dare il comando
> wget -r ftp://ftp... .iso (cioè l'url iso della mandrake 8.2)...
> Arriva subito al comando List...
> Poi si blocca un pò dicendo:
> - Errore nella risposta del server. Chiudo la connessione di controllo...
> oppure
>
> File inesistente (gulp!)
>
> Che ppò esse??
> Giuseppe

hmmm.
interessante, vediamo di capire quale può essere il problema.....

Giuseppe, non ti spaventare per la lunghezza, ti chiedo di leggere il 

PICCOLO "PROBLEM SOLVING HOW-TO"
Ovvero ...come cercare di capire quando una cosa non funziona, perché non 
funziona.
Tranqqui, non devi leggere tutto, anzi, c'è ben poco da leggere, sono quasi 
tutti copia-incolla dalla bash per farti capire i ragionamenti seguiti da kme 
per arrivare a questi iso della mandrake...

sarracco a wcslinux sarracco]$ wget 
ftp://ftp.cesnet.cz/OS/Linux/Mandrake/mandrak
e/ISO/Mandrake82-cd1-insti586.iso
--14:38:34--  
ftp://ftp.cesnet.cz/OS/Linux/Mandrake/mandrake/ISO/Mandrake82-cd1-
insti586.iso
           => `Mandrake82-cd1-insti586.iso'
Mi sto connettendo a ftp.cesnet.cz:21...connesso!
Accesso come utente anonymous ... Login eseguito!
==> SYST ... fatto.   ==> PWD ... fatto.
==> TYPE I ... fatto.  ==> CWD /OS/Linux/Mandrake/mandrake/ISO ...
La directory `OS/Linux/Mandrake/mandrake/ISO' non esiste.

eh beh...cacchio, dice prorpio che ilo file non esiste. Qui mi puzza 
qualcosa...direi che ci scappa un ftp testuale.

[sarracco a wcslinux sarracco]$ ftp ftp.cesnet.cz
Connected to ftp.cesnet.cz (195.113.144.229).
220 Cesnet FTP server  ftp.cesnet.cz welcomes you
Name (ftp.cesnet.cz:sarracco): anonymous
331 Anonymous login ok, send your complete email address as your password.
Password:
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd OS
250 CWD command successful.
ftp> cd Linux
250 CWD command successful.

hmmm a quanto pare in ftp nelle directory mi fa entrare.......però c'è 
qualcosa che non mi convince....sento puzza di link simbolici, e questi 
potrebbero essere la causa del mancato funzionamento di wget
torniamo alla root directory e andiamo a controllare

ftp> cd ..
250 CWD command successful.
ftp> cd ..
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (195,113,144,229,194,242).
150 Opening ASCII mode data connection for file list
drwxr-xr-x   8 mm       mm           4096 Mar 23  1998 Fonts
drwxr-xr-x   6 mm       mm           4096 Mar  6  1998 International
drwxr-xr-x   5 mm       mm           4096 May  3  1999 Libs
drwxr-xr-x   2 mm       mm           4096 Mar 22 15:34 MIRRORS
drwxr-xr-x   7 mm       mm           4096 May 13  1999 MultiMedia
drwxr-xr-x   4 mm       mm           4096 May 27  2001 Network
drwxr-xr-x   4 mm       mm           4096 May 27  2001 OS
drwxr-xr-x   3 mm       mm           4096 Feb  5 15:09 local
-rw-r--r--   1 mm       mm       152987420 Apr 18 22:24 ls-alR
-rw-r--r--   1 mm       mm       12307968 Apr 18 22:29 ls-alR.bz2
-rw-r--r--   1 mm       mm       17721967 Apr 18 22:29 ls-alR.gz
lrwxrwxrwx   1 mm       mm              6 Sep 11  2001 ls-lR -> ls-alR
drwxr-xr-x   2 mm       mm           4096 May 27  2001 pub
drwx------   4 mm       mm           4096 Mar  8 13:49 tmp
226 Transfer complete.

k, a quanto pare nessun link simbolico. iniziamo a scendere

ftp> cd OS
250 CWD command successful.
ftp> ls
227 Entering Passive Mode (195,113,144,229,194,255).
150 Opening ASCII mode data connection for file list
drwxrwxr-x   2 mm       mm           4096 May 27  2001 BSD
drwxr-xr-x   2 mm       mm           4096 May 24  2001 Linux
226 Transfer complete.

anche qui niente. scendiamo ancora

ftp> cd Linux
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (195,113,144,229,195,7).
150 Opening ASCII mode data connection for file list
lrwxrwxrwx   1 mm       mm             41 May 24  2001 Caldera -> 
../../MIRRORS/
ftp.calderasystems.com/pub/
lrwxrwxrwx   1 mm       mm             43 May 24  2001 CorelLinux -> 
../../MIRRO
RS/ftp.corel.com/pub/CorelLinux/
lrwxrwxrwx   1 mm       mm             36 May 24  2001 Debian -> 
../../MIRRORS/f
tp.debian.org/debian/
lrwxrwxrwx   1 mm       mm             31 May 24  2001 Debian-non-US -> 
../../MI
RRORS/nonus.debian.org/
lrwxrwxrwx   1 mm       mm             46 May 24  2001 Kernel -> 
../../MIRRORS/f
tp.kernel.org/pub/linux/kernel/
lrwxrwxrwx   1 mm       mm             54 May 24  2001 Linux-mac68k -> 
../../MIR
RORS/ftp.mac.linux-m68k.org/pub/linux-mac68k/
lrwxrwxrwx   1 mm       mm             36 May 24  2001 LinuxSGI -> 
../../MIRRORS
/ftp.linux.sgi.com/pub/
lrwxrwxrwx   1 mm       mm             51 May 24  2001 Mandrake -> 
../../MIRRORS
/ftp.sunet.se/pub/Linux/distributions/
lrwxrwxrwx   1 mm       mm             42 May 24  2001 RTLinux -> 
../../MIRRORS/
ftp.rtlinux.com/pub/rtlinux/
lrwxrwxrwx   1 mm       mm             33 May 24  2001 RedHat -> 
../../MIRRORS/f
tp.redhat.com/pub/
lrwxrwxrwx   1 mm       mm             36 May 24  2001 SGI-Linux -> 
../../MIRROR
S/ftp.linux.sgi.com/pub/
lrwxrwxrwx   1 mm       mm             45 May 24  2001 Slackware -> 
../../MIRROR
S/ftp.freesoftware.com/slackware/
lrwxrwxrwx   1 mm       mm             45 May 24  2001 StampedeLinux -> 
../../MI
RRORS/ftp.stampede.org/stampedelinux/
lrwxrwxrwx   1 mm       mm             36 May 24  2001 SuSE -> 
../../MIRRORS/ftp
.suse.com/pub/suse/
lrwxrwxrwx   1 mm       mm             39 May 24  2001 Tsx-11 -> 
../../MIRRORS/t
sx-11.mit.edu/pub/linux/
226 Transfer complete.
ftp>

A-HA! Ecco l'inghippo. I file non sono su questo ftp , ma ci sono 
semplicemente dei link simbolici che puntano ad altri ftp. Notiamo le 
freccette? Credo che la causa del problema sia questa. 
Visto che il della mandrake punta a ftp.sunet.se, mi sembra d'obbligo un giro 
su questo ftp.

[sarracco a wcslinux sarracco]$ ftp ftp.sunet.se
Trying 194.71.11.20...
Connected to ftp.sunet.se (194.71.11.20).
220-####################################################################
220-### Try accessing us on the World Wide Web! http://ftp.sunet.se/ ###
220-###                                                              ###
220-### http://ftp.sunet.se/pub/ to browse...                        ###
220-###                                                              ###
220-### http://ftp.sunet.se:8000/ftpsearch to search for filenames   ###
220-###                                                              ###
220-### http://ftp.sunet.se/mnogo/search.php to freetext search      ###
220-###                                                              ###
220-####################################################################
220-
220--> Please login with user anonymous or ftp to access our archive <-
220-
220 ftp.sunet.se FTP server ready.
Name (ftp.sunet.se:sarracco): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-
230-             Swedish University Network SUNET
230-                   Archive ftp.sunet.se
230-
230-Welcome to the ftp.sunet.se MkIII++ archive, which now resides on a
230-couple of SUN Ultraservers running Solaris.
230-
230-You are user number 624 out of a possible total of 1000 in your class.
230-
230-You may now also use WWW (http://ftp.sunet.se/) or e-mail to
230-ftpmail a ftp.sunet.se to access this archive. See README.access.methods
230-for more info on this.
230-
230-
230-This system may be used 24 hours a day, 7 days a week.  The local
230-time is Fri Apr 19 14:48:23 2002.
230-
230-All transfers are logged with your host name and whatever you entered
230-for the password.
230-
230-DISCLAIMER: Neither Uppsala University nor SUNET are liable for any use, 
storage or
230-transmission of any files stored on this archive.
230-
230-If you have any problems or comments about this archive, please send
230-them via e-mail to archive a ftp.sunet.se. Please also let us know if
230-there is something we don't have that you think we should!
230-
230-Please read the file README.access.methods
230-  it was last modified on Fri Aug 20 08:04:33 1999 - 972 days ago
230-Please read the file README.compression
230-  it was last modified on Wed Nov 24 09:05:40 1999 - 876 days ago
230-Please read the file README.locate
230-  it was last modified on Sat Aug 26 12:40:14 1995 - 2426 days ago
230-Please read the file README.rsync
230-  it was last modified on Tue Aug 24 16:09:01 1999 - 968 days ago
230-Please read the file README.uploads
230-  it was last modified on Tue Aug 10 13:59:27 1999 - 982 days ago
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.

k, allora andiamo a cercare queste iso della mandrake


ftp> cd pub
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,197,4)
150 Opening ASCII mode data connection for /bin/ls.
total 94
lrwxrwxrwx   1 0        0              10 Mar 13  2001 FreeBSD -> os/FreeBSD
drwxrwxr-x  15 1137     ftpadm        512 Jan 30  2001 Internet-documents
lrwxrwxrwx   1 1137     ftpadm         15 Feb 18 17:30 Linux -> 
../pub/os/Linux
drwxrwxr-x   3 1137     ftpadm        512 Aug 25  1999 NT
lrwxrwxrwx   1 0        0               9 Mar 13  2001 NetBSD -> os/NetBSD
lrwxrwxrwx   1 0        0               3 Mar 13  2001 
Networked.Information.Retrieval -> nir
lrwxrwxrwx   1 0        0               6 Mar 13  2001 OS2 -> os/OS2
drwxrwxr-x   3 1137     ftpadm        512 Feb 22 11:35 Office
lrwxrwxrwx   1 0        0              10 Mar 13  2001 OpenBSD -> os/OpenBSD
drwxrwxr-x   5 1137     ftpadm        512 Mar 29  1998 Science
drwxr-xr-x  25 1137     ftpadm       8192 Sep 18  2001 X11
lrwxrwxrwx   1 0        0              11 Mar 13  2001 XFree86 -> X11/XFree86
drwxr-xr-x   3 9596     ftpadm         96 Aug  7  2000 amiga
lrwxrwxrwx   1 0        0              12 Nov 30 12:06 aminet -> amiga/aminet
drwxrwxr-x  16 1137     ftpadm        512 Feb 18 16:54 benchmark
drwxrwxr-x   2 1137     ftpadm         96 Mar 13  2001 comics
drwxrwxr-x  10 1137     ftpadm        512 Jan 31  2000 conferencing
lrwxrwxrwx   1 1137     ftpadm         14 May  4  2001 database -> 
unix/databases
drwxrwxr-x   3 1137     ftpadm        512 Jan 29  2001 demos
drwxrwxr-x   4 1137     ftpadm        512 Sep 30  1997 doc
drwxrwxr-x  11 1137     ftpadm        512 Sep  8  1999 etext
drwxrwxr-x   6 1137     ftpadm       8192 Jan 15 01:07 etext.rx
drwxrwxr-x   6 1137     ftpadm        512 Aug  7  2001 games
drwxr-xr-x 218 1137     ftpadm       8192 Apr 18 19:50 gnu
drwxrwxr-x  28 1137     ftpadm       1024 Aug 19  2000 gopher
drwxrwxr-x   8 1137     ftpadm        512 Jan 30  2001 groupware
lrwxrwxrwx   1 0        0               7 Mar 13  2001 kde -> X11/kde
drwxrwxr-x  12 1137     ftpadm       8192 Oct  9  2000 lang
drwxrwxr-x   3 1137     ftpadm         96 Jan 17 12:29 library
drwxrwxr-x  13 1137     ftpadm        512 Mar 11 10:18 mac
drwxrwxr-x   4 1137     ftpadm        512 Jun 12  1996 mime
drwxrwxr-x  39 1137     ftpadm       1024 Feb  4 04:21 molbio
drwxrwxr-x   9 1137     ftpadm        512 Dec 20  2000 multimedia
drwxrwxr-x   5 1137     ftpadm        512 Jul 15  1997 music
drwxrwxr-x  20 1137     ftpadm        512 Sep  8  1999 network
drwxrwxr-x   9 1137     ftpadm        512 Jun 30  2001 news
drwxrwxr-x  12 1137     ftpadm        512 May  4  2001 nir
drwxrwxr-x  20 1137     ftpadm       2048 May 20  2001 non-gnu
drwxrwxr-x   4 0        ftpadm        512 Feb 18 17:08 os
drwxrwxr-x  30 0        ftpadm       1024 Mar 30 14:07 pc
drwxrwxr-x  39 1137     ftpadm       8192 May 14  2001 pictures
drwxrwxr-x   2 1137     ftpadm         96 Jun 17  1998 radio
drwxrwsr-x   3 1137     ftpadm        512 May 24  1998 scanner
drwxr-xr-x  13 1137     ftpadm       8192 Apr 19 03:58 security
drwxr-xr-x  15 1137     ftpadm       8192 Apr 19 04:50 simtelnet
drwxrwxr-x   9 1137     ftpadm        512 Mar 16  2000 text-processing
drwxrwxr-x   7 1137     ftpadm        512 Jan 30  2001 tv+movies
drwxrwxr-x  12 1137     ftpadm       8192 Aug 21  2000 unix
drwxrwxr-x   4 1137     ftpadm        512 Jan 27  1997 usenet
drwxrwxr-x   7 1137     ftpadm         96 Mar 22  2001 vendor
drwxrwxr-x  26 1137     ftpadm        512 Feb 15 09:02 www
drwxrwxr-x   4 1137     ftpadm        512 Aug 16  2000 x500
lrwxrwxrwx   1 0        0              10 Mar 13  2001 z39.50 -> nir/z39.50
226 Transfer complete.

direi che la directory pertinente mi sembra os, mi ricorda qualcosa come 
"operative systems" non trovi :-)?

ftp> cd os
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,4,110)
150 Opening ASCII mode data connection for /bin/ls.
total 26
drwxrwxr-x  12 1137     ftpadm        512 Aug 18  2000 BeOS
drwxrwxr-x  12 1137     ftpadm       8192 Apr  4 09:46 FreeBSD
drwxrwxr-x   7 1137     ftpadm        512 Feb 18 17:09 Linux
drwxr-xr-x  17 1137     ftpadm       8192 Sep 10  2001 NetBSD
drwxrwxr-x   3 1137     ftpadm         96 Sep 14  1999 OS2
drwxrwxr-x  15 1137     ftpadm       8192 Apr 19 04:34 OpenBSD
drwxrwxr-x   3 1137     ftpadm         96 Jan 16 03:34 Win32
226 Transfer complete.

troppo scontato.


ftp> cd Linux
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,231,185)
150 Opening ASCII mode data connection for /bin/ls.
total 2376
-rw-rw-r--   1 1137     1          109303 Mar 10  2001 .SHARERS
-rw-rw-r--   1 1137     1         2291341 Mar 10  2001 .SUMS
drwxrwxr-x  19 1137     ftpadm        512 Jan 15 09:15 alsa
drwxrwxr-x   2 1137     ftpadm        512 Apr 19 09:05 cmu-snmp
drwxrwxr-x   6 1137     ftpadm        512 Mar 25 10:21 distributions
drwxrwxr-x  12 1137     ftpadm        512 Jan 15 03:54 funet
lrwxrwxrwx   1 1137     ftpadm         24 Feb 13 10:40 ip-routing -> 
../../network/ip-routing
drwxrwsr-x   4 1137     ftpadm        512 Feb 15 14:38 kernel.org
lrwxrwxrwx   1 1137     ftpadm         42 Feb 13 10:40 kernels -> 
../../../pub/Linux/kernel.org/linux/kernel
drwxr-xr-x   5 1137     ftpadm        512 Sep  5  1999 swe-doc
226 Transfer complete.

direi che ci interessa "distributions"

ftp> cd distributions
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,157,45)
150 Opening ASCII mode data connection for /bin/ls.
total 82
drwx------   9 1137     ftpadm        512 Apr 19 01:47 bestlinux
drwxrwxr-x   8 1137     ftpadm       8192 Apr 19 01:52 debian
drwxrwsr-x   6 1137     ftpadm       8192 Apr  6 14:54 debian-iso
drwxrwxr-x   6 1137     ftpadm        512 Apr 19 01:32 debian-non-US
drwxr-xr-x   6 1137     ftpadm        512 Apr 15 22:00 gentoo
drwxr-xr-x   9 1137     ftpadm        512 Mar  8 08:26 linuxppc
drwxr-xr-x   6 1137     ftpadm       8192 Mar 18 16:25 mandrake
drwxrwxr-x   2 1137     ftpadm        512 Jan 19 03:26 mandrake-crypto
drwxr-xr-x   6 1137     ftpadm       8192 Apr 15 16:11 mandrake-devel
drwxr-xr-x   5 1137     ftpadm         96 Jun 11  2001 mandrake-iso
drwxr-xr-x  14 1137     ftpadm        512 Apr  3 01:58 mklinux
drwxr-xr-x   7 1137     ftpadm        512 Feb 14 13:52 mklinux.apple.com
drwxr-xr-x   3 1137     ftpadm        512 Mar 20 22:30 peanut
drwxr-xr-x  10 1137     ftpadm       8192 Dec 10 08:42 progeny
drwxrwxr-x   3 1137     ftpadm         96 Jan 23 15:29 redhat
drwxr-xr-x   7 1137     ftpadm       8192 Mar  7 20:26 redmond-linux
drwxr-xr-x   6 1137     ftpadm       8192 Apr 18 20:02 rootlinux
drwxr-xr-x   7 1137     ftpadm        512 Apr 19 01:13 slackware
drwxr-xr-x   5 1137     ftpadm       8192 Apr 18 10:14 suse
drwxr-xr-x   5 1137     ftpadm        512 Feb 13 10:13 ultrapenguin
drwxr-xr-x  12 1137     ftpadm       8192 Apr 14 01:47 yellowdog
226 Transfer complete.

eh beh 


ftp> cd mandrake-iso
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,55,77)
150 Opening ASCII mode data connection for /bin/ls.
total 16
drwxr-xr-x   2 1137     ftpadm       8192 Apr 12 18:19 i586
drwxr-xr-x   2 1137     ftpadm       8192 Mar 26 18:16 ppc
drwxr-xr-x   2 1137     ftpadm         96 Dec 28  2000 sparc
226 Transfer complete.

hai per caso una Sun con processoree SPARC a casa? No? :-) allora i586 è la 
dir giusta

ftp> cd i586
250 CWD command successful.
ftp> dir
227 Entering Passive Mode (194,71,11,20,25,77)
150 Opening ASCII mode data connection for /bin/ls.
total 1328352
-rw-r--r--   1 1137     ftpadm   679772160 Apr 12 17:43 
MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso
-rw-r--r--   1 1137     ftpadm   680427520 Apr 12 17:45 
MandrakeLinux-8.2-Prosuite-Download-CD2.i586.iso
-rw-r--r--   1 1137     ftpadm        166 Apr 12 18:10 md5sums.8.2-prosuite
-rw-r--r--   2 0        0             139 Aug 10  2001 md5sums.mandrakefreq
226 Transfer complete.

k, ricapitolando, i file che ci interessano sono in
ftp.sunet.se/pub/Linux/distributions/mandrake-iso/i586
andiamo a prenderci il primo cd, va....

[sarracco a wcslinux sarracco]$ wget 
ftp.sunet.se/pub/os/Linux/distributions/mandrake-iso/i586/MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso
--14:58:49--  
http://ftp.sunet.se/pub/os/Linux/distributions/mandrake-iso/i586/MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso
           => `MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso'
Mi sto connettendo a ftp.sunet.se:80...connesso!
HTTP richiesta inviata, aspetto la risposta... 302 Found
Location: 
http://ftp2.sunet.se:8080/pub/os/Linux/distributions/mandrake-iso/i586/MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso 
[segue]
--14:58:51--  
http://ftp2.sunet.se:8080/pub/os/Linux/distributions/mandrake-iso/i586/MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso
           => `MandrakeLinux-8.2-Prosuite-Download-CD1.i586.iso'
Mi sto connettendo a ftp2.sunet.se:8080...connesso!
HTTP richiesta inviata, aspetto la risposta... 200 OK
Lunghezza: 679,772,160 [application/octet-stream]

    0K .......... .......... ........ (cut.....qui wget sta facendo il suo 
dovere)

se lo devi lasciare in background, aggiungi -b alla fine...appena lanciato se 
ne andrà in background e potrai "sloggarti" dalla macchina e tornare a 
prendere il file quando avrà finito di scaricare.


Questo solo per far capire che a volte ci si perde in un bicchiere d'acqua.
Senza offesa.


MaNdRiCuS




More information about the pluto-help mailing list