Re: [BackupPC-users] Cannot start backuppc
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=/4140 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start backuppc
Adam Goryachev wrote: > 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=/4140 > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > Thank you very much for your replay. I needed fast reestablishing of backup service so I backup config files nad purge backuppc package, and then reinstall it, moved back config files and everything was working allright. So config files were without error. Very strange. Been using it for years and never had problem. Regards. -- Marko Scurk -- 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=/4140 ___ BackupPC-users
[BackupPC-users] Cannot start backuppc
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. -- MM -- 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=/4140 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start backuppc
On Thu, Mar 17, 2016 at 3:37 AM, Marko Scurkwrote: > >>> >>> 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. >>> Is there some reason you don't use the web interface for these tasks? -- Les Mikesell lesmikes...@gmail.com -- 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=/4140 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start backuppc
On Thu, Mar 17, 2016 at 2:09 PM, Marko Scurkwrote: > >> >> Is there some reason you don't use the web interface for these tasks? >> > > Its much easier to copy host pl file and change few parameters. There is > no such option in web interface. > Yes there is. If you add a new host with the web interface and use the newname=oldname syntax it will copy the old host's custom settings which you can then edit if it needs any changes. -- Les Mikesell lesmikes...@gmail.com -- 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=/4140 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Cannot start backuppc
I figured out the problem. When the folder got re-created the user and group for all the folders was root. I changed them to backuppc and everything seems to have started up. Thanks for the assistance. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start backuppc
Robert J. Phillips wrote: My raid drive failed that stores all the data. I have fixed this problem (rebuilt the raid and had to re-install the xfs file system). All the data is lost that was on the array. I am running the Beta 3.2.0 version of backuppc and I ran sudo perl configure.pl to let it rebuild the data folders. When I try to start backuppc I get an error that it cannot create a test hardlink between a file in /mnt/backup/pc and /mnt/backup/cpool. How do I fix it?? It is a problem with your filesystem. BackupPC must make hardlinks between this two directories. You are sure this two directories on the same drive/volume? Try to make a hardlink between this two directories. br Matthias -- Don't Panic -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start backuppc
How do I fix it?? In addition to the other response, start by showing us the output of df /mnt/backup/cpool /mnt/backup/pc -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of In Defense of Food -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Cannot start backuppc
My raid drive failed that stores all the data. I have fixed this problem (rebuilt the raid and had to re-install the xfs file system). All the data is lost that was on the array. I am running the Beta 3.2.0 version of backuppc and I ran sudo perl configure.pl to let it rebuild the data folders. When I try to start backuppc I get an error that it cannot create a test hardlink between a file in /mnt/backup/pc and /mnt/backup/cpool. How do I fix it?? -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start BackupPC in DNS-323 (ffp 0.5)
iazmin writes: I installed everything provided in http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/. So the perl version is 5.10-2 while for backuppc I am using 3.1.0 version. At line 1635 of bin/BackupPC, try replacing this: foreach my $host ( sort(HostSortCompare keys(%$Hosts)) ) { with this: foreach my $host ( sort HostSortCompare keys(%$Hosts) ) { Craig -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Cannot start BackupPC in DNS-323 (ffp 0.5)
Craig Barratt wrote: iazmin writes: I installed everything provided in http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/. So the perl version is 5.10-2 while for backuppc I am using 3.1.0 version. At line 1635 of bin/BackupPC, try replacing this: foreach my $host ( sort(HostSortCompare keys(%$Hosts)) ) { with this: foreach my $host ( sort HostSortCompare keys(%$Hosts) ) { Craig Love you! it just works! nbsp;/ffp/share/BackupPC/bin/BackupPC -d r...@nashawa#58;/mnt/usb/ffp/home/root# Thank Craig...any brief explanation for perl/linux nob like me wold be great to explain this[/code] +-- |This was sent by azminis...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Cannot start BackupPC in DNS-323 (ffp 0.5)
I am using ffp 0.5 on my D-Link DNS-323 NAS. I am using this wiki http://wiki.dns323.info/howto:backuppc to install backuppc. I am still unable to start the BackupPC to run on the device. The command that I use to start backupPC is: home/root# /ffp/usr/BackupPC/bin/BackupPC -d Bareword call not allowed while strict subs in use at /ffp/usr/BackupPC/bin/BackupPC line 1635. Execution of /ffp/usr/BackupPC/bin/BackupPC aborted due to compilation errors. The above result is the outcome afteerI tried to resolve using a method in http://forum.dsmg600.info/viewtopic.php?id=2264p=2 (post #35) I am still stuck +-- |This was sent by azminis...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Cannot start BackupPC in DNS-323 (ffp 0.5)
iazmin writes: I am using ffp 0.5 on my D-Link DNS-323 NAS. I am using this wiki http://wiki.dns323.info/howto:backuppc to install backuppc. I am still unable to start the BackupPC to run on the device. The command that I use to start backupPC is: home/root# /ffp/usr/BackupPC/bin/BackupPC -d Bareword call not allowed while strict subs in use at /ffp/usr/BackupPC/bin/BackupPC line 1635. Execution of /ffp/usr/BackupPC/bin/BackupPC aborted due to compilation errors. What version of BackupPC and perl are you running? Craig -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Cannot start BackupPC in DNS-323 (ffp 0.5)
Craig Barratt wrote: iazmin writes: I am using ffp 0.5 on my D-Link DNS-323 NAS. I am using this wiki http://wiki.dns323.info/howto:backuppc to install backuppc. I am still unable to start the BackupPC to run on the device. The command that I use to start backupPC is: home/root# /ffp/usr/BackupPC/bin/BackupPC -d Bareword call not allowed while strict subs in use at /ffp/usr/BackupPC/bin/BackupPC line 1635. Execution of /ffp/usr/BackupPC/bin/BackupPC aborted due to compilation errors. What version of BackupPC and perl are you running? Craig I installed everything provided in http://www.inreto.de/dns323/fun-plug/0.5/extra-packages/perl/. So the perl version is 5.10-2 while for backuppc I am using 3.1.0 version. +-- |This was sent by azminis...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/