I am running BackupPC 3.2.0. The line where it fails is:
if ( !defined($pid = open(CHILD, "-|")) ) {
So it looks like it is attempting to fork...
Stephen Gelman
Systems Administrator
On Apr 28, 2011, at 11:55 PM, Holger Parplies wrote:
> Hi,
>
> Stephen Gelman wrote on 2011-04-20 22:57:38 -0500 [[BackupPC-users] "Can't
> Fork" Crash on Nexenta (Solaris)]:
>> On Nexenta (which is essentially an OpenSolaris derivative), I seem to have
>> issues where BackupPC crashes every once and a while. When it crashes, the
>> log says:
>>
>> Can't fork at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1340.
>>
>> Any ideas how to prevent this?
>>
>> Stephen Gelman
>> Systems Administrator
>
> errm, have less processes running on your machine? What errno is that? Line
> 1340 contains a Perl 'return' statement, so that's strange (since you didn't
> mention it, you must be using BackupPC 3.2.0beta0, because that's the version
> I happened to check). Which log file? How come BackupPC writes something to
> the log if it crashes? BackupPC doesn't even *try* to fork via Lib.pm (only
> BackupPC_{dump,restore,archive} appear to use that), and failures to fork in
> the daemon are certainly not fatal (except for daemonizing on startup).
> Very strange.
>
> Oh, and we know what Nexenta is. That's the part you wouldn't have needed to
> explain.
>
> Regards,
> Holger
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|