LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2004, 04:53 PM   #1
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
linux file handling errors


I ran into trouble twice today over (maybe) corrupted files.

The trouble was that the errors I was getting from Linux, or better said, bash, didn't really tell me too much.

In both cases there was talk of "unexpected end of file" and "input/output errors".

Are there any diagnostic tools available for situations like these.

In both cases they were tar.gx files, although in the first case, I was farily sure it was going to be messed up inside. However, bash didn't let me get near it, not being able to copy it to another directory even.

In the second case, I was permitted to extract the file, but it stopped half way, and it could well be due to lack of HD space.

Nevertheless, the errors were particularly uninformative. Are there any tools which aid in finding out the exact problem with corrupted files, and maybe saving bits of them?
 
Old 07-26-2004, 05:31 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
were these files programs of one sort or another? if so, they might have an md5sum you could check after download to ensure that they are not corrupted. about the errors, if you could copy them verbosley, and paste them into a post, or possibly a text file for referencing then you could google them, or search for answers here, or post them. i'm unaware of any specific tool to diagnose errors, although, there may be one. hope this helps.
good luck.

Last edited by Peacedog; 07-26-2004 at 05:32 PM.
 
  


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
errors while handling sys_unlink dypgrp Linux - General 0 02-01-2005 09:57 AM
Exception handling compilation errors ashwinipahuja Programming 6 07-03-2004 06:46 AM
c file handling on linux suchi_s Programming 5 06-23-2004 09:01 AM
c file handling on linux suchi_s LQ Suggestions & Feedback 1 06-23-2004 01:48 AM
File handling in Linux Prommy Programming 7 07-21-2003 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:02 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