LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-04-2003, 06:26 AM   #1
ken734
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
Broken Pipe Error


Could someone explain what a "Broken Pipe" error is?
 
Old 09-04-2003, 06:34 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
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?
 
Old 09-04-2003, 06:36 AM   #3
shermang
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 55

Rep: Reputation: 15
weird, I've had 'broken pipe' errors when DCCing in x-chat
 
Old 09-04-2003, 07:11 AM   #4
ken734
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 09-04-2003, 07:49 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Could there be some corruption in the directory? That's the only reason I can think of for one directory not to work....
 
Old 09-04-2003, 07:57 AM   #6
ken734
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 09-04-2003, 09:54 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Broken pipe? Nubian Linux - Newbie 2 08-16-2005 08:56 AM
Error whilst intalling 'libgtk2.0-dev', 'Broken Pipe'?! Eerath MEPIS 4 08-15-2005 09:47 AM
Broken Pipe error with rpmbuild in rh9 tuxfood Red Hat 1 05-21-2005 04:30 PM
Broken pipe error when sending data on LAN Tanc Linux - Networking 2 09-14-2003 05:16 AM
ls - Broken pipe vcheah Linux - Software 2 10-30-2002 08:10 PM

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

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