Thanks. Honestly I have no preconceptions about what the problem is.
The output from "journalctl -S yesterday -u backuppc.service" is (I've
just pasted the last section as it repeats, but you'll get the idea.)
The "No language setting and BackupPC::Lib->new failed" are soft
failures that I've been aware of for some time but haven't stopped
anything running.
Mar 28 17:03:04 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 4.
Mar 28 17:03:04 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:04 backuppc systemd[1]: Started BackupPC server.
Mar 28 17:03:05 backuppc BackupPC[109471]: No language setting
Mar 28 17:03:05 backuppc BackupPC[109471]: BackupPC::Lib->new failed
Mar 28 17:03:05 backuppc systemd[1]: backuppc.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Mar 28 17:03:05 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:06 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 5.
Mar 28 17:03:06 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:06 backuppc systemd[1]: Started BackupPC server.
Mar 28 17:03:06 backuppc BackupPC[109472]: No language setting
Mar 28 17:03:06 backuppc BackupPC[109472]: BackupPC::Lib->new failed
Mar 28 17:03:06 backuppc systemd[1]: backuppc.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Mar 28 17:03:06 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:07 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 6.
Mar 28 17:03:07 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:07 backuppc systemd[1]: Started BackupPC server.
Mar 28 17:03:07 backuppc BackupPC[109473]: No language setting
Mar 28 17:03:07 backuppc BackupPC[109473]: BackupPC::Lib->new failed
Mar 28 17:03:07 backuppc systemd[1]: backuppc.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Mar 28 17:03:07 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:08 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 7.
Mar 28 17:03:08 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:08 backuppc systemd[1]: Started BackupPC server.
Mar 28 17:03:08 backuppc BackupPC[109477]: No language setting
Mar 28 17:03:08 backuppc BackupPC[109477]: BackupPC::Lib->new failed
Mar 28 17:03:08 backuppc systemd[1]: backuppc.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Mar 28 17:03:08 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:09 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 8.
Mar 28 17:03:09 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:09 backuppc systemd[1]: Started BackupPC server.
Mar 28 17:03:10 backuppc BackupPC[109479]: No language setting
Mar 28 17:03:10 backuppc BackupPC[109479]: BackupPC::Lib->new failed
Mar 28 17:03:10 backuppc systemd[1]: backuppc.service: Main process
exited, code=exited, status=2/INVALIDARGUMENT
Mar 28 17:03:10 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Scheduled restart
job, restart counter is at 9.
Mar 28 17:03:11 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Start request
repeated too quickly.
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:11 backuppc systemd[1]: Failed to start BackupPC server.
On 28/03/2025 20:48, Kim Scarborough wrote:
You seem to be thinking this is a systemd issue, but it's not. That's
just a symptom.
What does "journalctl -S yesterday -u backuppc.service" say?
On 3/28/25 2:22 PM, George King wrote:
I have had an instance of Backuppc running on Ubuntu for years but
have run into a problem which I cannot solve. I had a hardware
problem with my mdadm RAID6 array which I resolved but I've been
unable to restart backuppc.service since. All the other services
start fine but I get the "Error: Unable to connect to BackupPC
server" when I look for the Host Summary page.
The current config is Backuppc 4.4.0 on Ubuntu 22.04.05LTS. The
system disks are RAID1 and the RAID6 array is for
/var/lib/backuppc/ So the hardware problem with the RAID6 array was
unrelated to the system files.
The systemctl status is
× backuppc.service - BackupPC server
Loaded: loaded (/lib/systemd/system/backuppc.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2025-03-28
17:03:11 GMT; 1min 53s ago
Process: 109479 ExecStart=/usr/share/backuppc/bin/BackupPC
(code=exited, status=2)
Main PID: 109479 (code=exited, status=2)
CPU: 94ms
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Scheduled
restart job, restart counter is at 9.
Mar 28 17:03:11 backuppc systemd[1]: Stopped BackupPC server.
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Start request
repeated too quickly.
Mar 28 17:03:11 backuppc systemd[1]: backuppc.service: Failed with
result 'exit-code'.
Mar 28 17:03:11 backuppc systemd[1]: Failed to start BackupPC server.
I've tried a few changes - e.g. to the /etc/systemd/system/multi-
user.target.wants/backuppc.service RestartSec value but they made no
difference so they have all been reverted to the previous (and
longstanding) working configuration.
Grateful for any help. The RAID6 array is at 90% - which is another
issue for me to address - but that has never previously stopped the
backuppc service running, so I think, irrelevant.
thanks, George
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/