PDA

View Full Version : wget issues


CrapBot
11-15-2006, 11:28 AM
Hey,
Not sure if this is a wget problem or not. I tried to download a 170mb file from a local webserver on my lan. It works fine for the first 20mb or so, but then it stalls and after a few minutes I get

21% [+++====> ] 39,339,680 452.30K/s ETA 05:20
SIGHUP received.
(null): Read-only file system; disabling logging.

I am in the /media/mmc1 directory, using a 2gb memory card on the latest version of the 2006 OS, version 2 that is.

Any ideas ? I have to say, the general instability of the 770 is starting to become frustrating.

dino
11-15-2006, 02:06 PM
Some things to check:
Are you loosing your network connection?
Is wget creating a temporary file on your / filesystem and your running out of memory?
Can you copy a file as the "user" ( not root ) to the same location?

From log.c of wget (http://www.holycraplions.com/scripts/c/wget/log.c)

if (!logfp)
{
/* Eek! Opening the alternate log file has failed. Nothing we
can do but disable printing completely. */
fprintf (stderr, _("%s: %s; disabling logging.\n"),
logfile, strerror (errno));
inhibit_logging = 1;
}
else

Maybe wget can't write the log file. You may want to run wget as root.