Re: [BackupPC-users] SCGI + systemd Problem

2017-04-13 Thread Nicholas Hall
I opened an issue on Github along with a pull request https://github.com/backuppc/backuppc/issues/95 On Wed, Apr 12, 2017 at 1:15 PM Nicholas Hall wrote: > Here's status. It looks about the same other than that benign log entry > about the PID > > # systemctl status backuppc > ● backuppc.servi

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Nicholas Hall
Here's status. It looks about the same other than that benign log entry about the PID # systemctl status backuppc ● backuppc.service - BackupPC server Loaded: loaded (/etc/systemd/system/backuppc.service; enabled) Active: active (running) since Wed 2017-04-12 18:13:58 UTC; 7s ago Process:

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Richard Shaw
On Wed, Apr 12, 2017 at 1:06 PM, Nicholas Hall wrote: > Good question! > > I have an update: everything works fine when started via systemd when I > change the unit file to Type=forking. Wondering how reproducible the > problem is on other platforms... > I was going to ask about that but said,

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Nicholas Hall
Good question! I have an update: everything works fine when started via systemd when I change the unit file to Type=forking. Wondering how reproducible the problem is on other platforms... # /etc/systemd/system/backuppc.service [Unit] Description=BackupPC server After=syslog.target local-fs.targ

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Richard Shaw
Hmm... nothing jumping out at me there... I don't use SCGI so I'm not familiar with it but systemd works fine on my CentOS 7 and Fedora boxes... Now one thing to consider is that when systemd runs a process it's not in a shell and doesn't get a standard environment... Are there any environment var

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Nicholas Hall
On Wed, Apr 12, 2017 at 12:15 PM Richard Shaw wrote: > May not help any but what about: > > (after systemd startup) > # systemctl status backuppc > > # systemctl cat backuppc > # systemctl status backuppc ● backuppc.service - BackupPC server Loaded: loaded (/etc/systemd/system/backuppc.servi

Re: [BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Richard Shaw
May not help any but what about: (after systemd startup) # systemctl status backuppc and # systemctl cat backuppc Thanks, Richard -- Check out the vibrant tech community on one of the world's most engaging tech sites, S

[BackupPC-users] SCGI + systemd Problem

2017-04-12 Thread Nicholas Hall
Hi, I provisioned a new backuppc server (built from git tag 4.1.1) on Debian 8. I'm using the systemd unit file for starting the BackupPC daemon. Problem is the SCGI listener doesn't respond when BackupPC is started via systemctl. Any thoughts? Below you will find the failure case via systemd,