On 16/03/16 23:37, Marko Scurk wrote:
> I am runnung backuppc on debian jessie:
>
> Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29)
> x86_64 GNU/Linux
>
> backuppc 3.3.0-2 amd64
>
> and everything was fine. I was adding new hosts *.pl files and updating
> /etc/backuppc/hosts file, and I forgot that some backup was running.
>
> First I done:
>
> /etc/init.d/backuppc reload
>
> to see new hosts, then when it didn't show i done
>
> /etc/init.d/backuppc restart
>
> and I got server 500 internal error and i cannot start backuppc any more.
>
> Restarted server but no result from that.
>
> Not much messagges in logs:
>
> /etc/backuppc# /etc/init.d/backuppc start
> [....] Starting backuppc (via systemctl): backuppc.serviceJob for
> backuppc.service failed. See 'systemctl status backuppc.service' and
> 'journalctl -xn' for details.
> failed!
>
>
> Mar 16 13:31:25 dig backuppc[2489]: Starting backuppc...No language setting
> Mar 16 13:31:25 dig backuppc[2489]: BackupPC::Lib->new failed
> Mar 16 13:31:25 dig systemd[1]: backuppc.service: control process exited,
> code=exited status=13
> Mar 16 13:31:25 dig systemd[1]: Failed to start LSB: Launch backuppc server.
> Mar 16 13:31:25 dig systemd[1]: Unit backuppc.service entered failed state.
>
>
> /etc/backuppc# systemctl status backuppc.service
> ● backuppc.service - LSB: Launch backuppc server
> Loaded: loaded (/etc/init.d/backuppc)
> Active: failed (Result: exit-code) since Wed 2016-03-16 13:31:25 CET;
> 1min 54s ago
> Process: 2489 ExecStart=/etc/init.d/backuppc start (code=exited, status=13)
>
> Mar 16 13:31:25 dig backuppc[2489]: Starting backuppc...No language setting
> Mar 16 13:31:25 dig backuppc[2489]: BackupPC::Lib->new failed
> Mar 16 13:31:25 dig systemd[1]: backuppc.service: control process exited,
> code=exited status=13
> Mar 16 13:31:25 dig systemd[1]: Failed to start LSB: Launch backuppc server.
> Mar 16 13:31:25 dig systemd[1]: Unit backuppc.service entered failed state.
>
>
>
> /etc/backuppc# journalctl -xn
>
> Mar 16 13:31:25 dig backuppc[2489]: Starting backuppc...No language setting
> Mar 16 13:31:25 dig backuppc[2489]: BackupPC::Lib->new failed
> Mar 16 13:31:25 dig systemd[1]: backuppc.service: control process exited,
> code=exited status=13
> Mar 16 13:31:25 dig systemd[1]: Failed to start LSB: Launch backuppc server.
> -- Subject: Unit backuppc.service has failed
> -- Defined-By: systemd
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> --
> -- Unit backuppc.service has failed.
> --
> -- The result is failed.
> Mar 16 13:31:25 dig systemd[1]: Unit backuppc.service entered failed state.
>
> I don't know where to look, how to debug this?
>
> Regards.
>
Probably you have a syntax error or permissions error on one of your
config files. First check the backuppc user has read access to
everything in your config directory.
Secondly, run perl -cw config.pl (run perl and check/compile the file
without executing it) and repeat for each of the other config files. Do
"ls -lrt" (list and sort by modification time, with the most recently
modified at the bottom) and focus on the files that were modified most
recently.
Otherwise, try
su - -s /bin/bash backuppc
Then start backuppc manually:
/usr/lib/backuppc/bin/BackupPC
You might at least get more information/error messages. Worst case, try
strace /usr/lib/backuppc/bin/BackupPC and post the output.
Hope this helps.
Regards,
Adam
--
Adam Goryachev Website Managers www.websitemanagers.com.au
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
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/
|