On 08/12 05:46 , Holger Parplies wrote: > Carl Wilhelm Soderstrom wrote on 2011-08-11 13:16:38 -0500 [[BackupPC-users] > BackupPC spontaneous server exit with SIGPIPE]: > > BackupPC 3.1.0 on Debian, kernel is 2.6.32, filesystem is xfs. > > > > I have a BackupPC server that has twice now had the BackupPC server process > > spontaneously exit. It *did* shut down nicely, interestingly enough. The > > server log (/var/lib/backuppc/log/LOG) is this: > > [...] > > 2011-08-11 09:00:01 Next wakeup is 2011-08-11 10:00:00 > > 2011-08-11 09:51:47 Got signal PIPE... cleaning up > > as you probably know SIGPIPE means that the server is trying to write to a > socket that has been closed by the peer. BackupPC doesn't expect that > situation and doesn't attempt to handle it, because it only ever replies to > messages just received (from so-called "clients"; it doesn't seem to ever > write to backup jobs!) and new incoming connections, and the software speaking > to the daemon (BackupPC_serverMesg) doesn't close the socket without waiting > for a reply. I suppose it would be easy to implement a malicious "client" that > causes the server to crash, and apparently some error condition can also lead > to this.
Our current theory is that it's a bad RAID controller that keeps resetting itself. It somehow doesn't seem to cause filesystem corruption; but there are errors in the backuppc logs which make me think that the files are occasionally disappearing unexpectedly. If the socket goes away, then as I understand your explanation above, this would seem to be a good reason for BackupPC to die. 2011-08-11 13:26:07 ERROR: opendir (/var/lib/backuppc/pc/gypsy.example.com/683/fcDrive/fDocuments and Settings/fsjones/fApplication Data/fMacromedia/fFlash Player/fmacromedia.com/fsupport/fflashplayer/fsys/f#media.nbcwashington.com) failed 2011-08-11 13:26:08 ERROR: opendir (/var/lib/backuppc/pc/gypsy.example.com/681/fcDrive/fDocuments and Settings/fsjones/fApplication Data/fMacromedia/fFlash Player/fmacromedia.com/fsupport/fflashplayer/fsys/f#www.keloland.com) failed 2011-08-11 13:36:34 Got signal TERM... cleaning up -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
