LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2005, 07:58 AM   #1
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Rep: Reputation: 15
Howto fix wget caused segfaults?


I did wget without enough space in the /home partition.
I got a segmentation fault.
I moved and deleted 2 files and had enough space.
I ran wget -c and still got a segmentation fault.
Why?
Can you please tell me what can I do to correct it?

x@lx:/home/56/linux/suse> sudo wget ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
Password:
--01:38:39-- ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
=> `SUSE-10.0-EvalDVD-x86_64-GM.iso'
Resolving suse.mirrors.tds.net... 216.165.129.140
Connecting to suse.mirrors.tds.net|216.165.129.140|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/suse/i386/10.0/iso ... done.
==> PASV ... done. ==> RETR SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
Length: 3,687,276,544 (3.4G) (unauthoritative)

77% [===========================================================> ] 2,875,334,656 211.04K/s ETA 26:18

03:12:14 (502.36 KB/s) - Data connection: Connection reset by peer; Segmentation fault
x@lx:/home/getWwget> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 3327564 17644588 16% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 36124856 1618628 96% /home
x@lx:/home/getWwget> cd /home
... I did mv on an iso file to another partition and rm on another.
x@lx:/home> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 7715080 13257072 37% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 29198668 8544816 78% /home
x@lx:/home>
...
x@lx:/home>
x@lx:/home/getWwget> sudo wget -c ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
--06:24:57-- ftp://suse.mirrors.tds.net/pub/suse/...-x86_64-GM.iso
=> `SUSE-10.0-EvalDVD-x86_64-GM.iso'
Resolving suse.mirrors.tds.net... 216.165.129.140
Connecting to suse.mirrors.tds.net|216.165.129.140|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/suse/i386/10.0/iso ... done.
==> SIZE SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
==> PASV ... done. ==> REST 2875334656 ... done.
==> RETR SUSE-10.0-EvalDVD-x86_64-GM.iso ... done.
Length: 3,687,276,544 (3.4G), 811,941,888 (774M) remaining

100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=================>] 3,687,276,544 503.80K/s ETA 00:00


Segmentation fault
x@lx:/home/getWwget>
x@lx:/home/getWwget> df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 20972152 7715080 13257072 37% /
tmpfs 258004 0 258004 0% /dev/shm
/dev/hda6 37743484 30026904 7716580 80% /home
x@lx:/home/getWwget>


Last edited by suguru; 10-09-2005 at 08:08 AM.
 
Old 10-10-2005, 05:28 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Have you conisdered the possibility of faulty hardware?
Nothing in your logs suggests that this would be caused
by wget itself, but faulty RAM can make any old app (even
the most robust tools) segfault. That aside, knowing the
distro you're using, knowing which version of wget, and
whether it came with the distro or wgets origin would be
quite handy ...


Cheers,
Tink
 
Old 10-12-2005, 12:57 PM   #3
suguru
Member
 
Registered: Dec 2003
Location: Voluntarily move into diaster relief areas.
Distribution: Upgraded from Suse 10 to Ubuntu.
Posts: 104

Original Poster
Rep: Reputation: 15
Problem showed up Wget with Suse 9.3

Thanks Tink for your insight.
I was using the wget that came with the Suse 9.3 that was downloaded.
I finally got a Suse 10 download on another computer. I will probably try
to install it.
I learned that booting knoppix 3.9 or 4.0 and then doing wget on a
DVD is not a good idea. This wrote about 2.4 GB then gave a segfault
every time while using comcast. It seemed like a timer went off that
pulled down from about 500 K/s to 0 K/s then died a minute or two
later.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bootloader problem. I know how it was caused, but I dont know how to fix it! Eerath Linux - General 1 07-24-2005 10:30 AM
HOWTo restart downloading with wget ashwin_cse Red Hat 5 08-26-2004 10:07 AM
howto a window fix on background ? leukozyt Linux - General 2 11-13-2003 04:41 AM
wget howto help please macewan Programming 2 01-17-2003 05:58 AM
DVDROM-device points to the wrong hd.. howto fix? Debianewb Linux - Hardware 2 10-28-2002 07:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration