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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-04-2003, 06:26 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 5
Rep:
|
Broken Pipe Error
Could someone explain what a "Broken Pipe" error is?
|
|
|
09-04-2003, 06:34 AM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Well, I did a quick search on www.google.com/linux and found on the second page (at the top) that a broken pipe means that one process finished before another. For example, tar aborts before bzip finishes.
To quote the page I saw,
Quote:
"There should have been another message before the broken pipe. Are you low on memory by any chance? Are your tar files more than 2GB? Those are the only things that come to mind."
|
Can you give more details of your problem, or this just a query?
|
|
|
09-04-2003, 06:36 AM
|
#3
|
Member
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 55
Rep:
|
weird, I've had 'broken pipe' errors when DCCing in x-chat 
|
|
|
09-04-2003, 07:11 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 5
Original Poster
Rep:
|
Thanks for your reply XavierP.
I was at someone elses computer when I got that error, but interesting is your example since in fact it was in a small script that was using tar with compression (tar -cvzf). The script accepted command line input for the directory to backup and the destination directory. The script worked, for the most part, but in one directory to backup I recieved the broken pipe error.
|
|
|
09-04-2003, 07:49 AM
|
#5
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Could there be some corruption in the directory? That's the only reason I can think of for one directory not to work....
|
|
|
09-04-2003, 07:57 AM
|
#6
|
LQ Newbie
Registered: Aug 2003
Posts: 5
Original Poster
Rep:
|
I think you must be right about the corruption. I can't test it now since I am not at that particular computer.
What would be the best way to try to rectify the problem? Running fsck?
Thanks again.
|
|
|
09-04-2003, 09:54 AM
|
#7
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
FSCK may help - I'm not overly sure.........man fsck will give you a list of options and switches. It seems you can scan a particular type of file!! Better than scandisk that's for sure.
|
|
|
All times are GMT -5. The time now is 12:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|