BackupPC-users

Re: [BackupPC-users] BackupPC fails to start in daemon mode on Ubuntu 14.04

2015-05-12 10:13:48
Subject: Re: [BackupPC-users] BackupPC fails to start in daemon mode on Ubuntu 14.04
From: Stephen <stephen AT physics.unc DOT edu>
To: Stoyan Stoyanov <stoyansbg AT gmail DOT com>
Date: Tue, 12 May 2015 10:11:33 -0400
Hi Stoyan,

Not sure if it is the same problem as you're having, but I had a similar symptom when using the default 'debian-backuppc' init script on Ubuntu 14.04; I am using BackupPC 4.0.0a3.

By default the directory where the pid file is stored (/var/run/BackupPC) doesn't exist. The attached file shows my diff to the init script. The script in 3.3.0 may need the same or similar changes.

Hth,
Stephen

On Mon, 11 May 2015, Stoyan Stoyanov wrote:

Hello,

After upgrading from Ubuntu 12.04 (backuppc 3.2.1-2ubuntu1.1) to Ubuntu
14.04 (backuppc 3.3.0-1ubuntu1), BackupPC no longer starts in daemon mode.
It runs fine in foreground though. I tried with a fresh server install and
still the same thing. The child dies immediately after being forked and
exits when the parent process exits. Here's what it looks like if I add
"sleep 60;" right after forking the child process and before the parent
exiting "exit if ($pid);"

backuppc 16074 15421  0 15:55 pts/30   00:00:00 /usr/bin/perl -w
/usr/share/backuppc/bin/BackupPC -d
backuppc 16076 16074  0 15:55 pts/30   00:00:00 [BackupPC] <defunct>

Same piece of code works fine if extracted and used by itself. Is there
anyone running BackupPC on Ubuntu 14.04 having the same problem?

Thanks,
Stoyan

Attachment: debian-backuppc.diff
Description: Diff for debian-backuppc from BPC 4.0.0a3

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
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/