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

2015-05-15 Thread Stoyan Stoyanov
Just FYI, the latest version of libnss-ldap (265-3ubuntu2) available for Ubuntu 15.04 does fix the problem. Stoyan On Thu, May 14, 2015 at 11:37 AM, Stoyan Stoyanov stoyan...@gmail.com wrote: Thanks, Tim! I never though of running strace on an interpreted program as I was trusting the

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

2015-05-14 Thread Stoyan Stoyanov
Thanks, Tim! I never though of running strace on an interpreted program as I was trusting the underlying infrastructure - interpreter, shared libraries, kernel - will work flawlessly. Anyway, if I remove ldap from the shadow database setting in /etc/nsswitch.conf, it works. No need to remove any

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

2015-05-14 Thread Tim Fletcher
On 2015-05-13 03:41, Stoyan Stoyanov wrote: Hi Holger, While it seems like a packaging issue, there are no bug reports on launchpad, so I thought maybe someone on this list stumbled upon this problem. Unfortunately, nothing gets recorded in the LOG file. I ran perl in debug mode, but

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

2015-05-12 Thread Stoyan Stoyanov
Hi Holger, While it seems like a packaging issue, there are no bug reports on launchpad, so I thought maybe someone on this list stumbled upon this problem. Unfortunately, nothing gets recorded in the LOG file. I ran perl in debug mode, but the program exits right after forking the child process

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

2015-05-12 Thread Holger Parplies
Hi, (many people wrote many things at many times, but I won't quote them due to top posting - sorry) ... while this seems to be an Ubuntu packaging problem, strictly, so really the wrong list, I do wonder if the relevant log file contains anything ... Regards, Holger

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

2015-05-12 Thread Stoyan Stoyanov
There is no RunDir setting. Here are all the *Dir settings: $Conf{TopDir} = '/var/lib/backuppc'; $Conf{ConfDir} = '/etc/backuppc'; $Conf{LogDir} = '/var/lib/backuppc/log'; $Conf{InstallDir} = '/usr/share/backuppc'; $Conf{CgiDir} = '/usr/share/backuppc/cgi-bin'; On Tue, May

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

2015-05-12 Thread Stephen
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

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

2015-05-12 Thread Stoyan Stoyanov
Thank you for your reply, Steven, but the init script doesn't seem to be the problem in this case. At this point, I'm invoking the BackupPC executable manually with the -d option and not creating a PID file. The init script though that comes with the Ubuntu package seems to do the right thing: if

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

2015-05-11 Thread Stoyan Stoyanov
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