Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!
On 2018-02-12 12:18, Marc Gilliatt wrote: Thanks for the quick response. How do I update the config.pl file, please? I'm not sure what upgrade instructions you followed, which may have more specific notes, but the usual course of action when installing from the tarball is this: # When upgrading, use this instead: # ./configure.pl --batch --config-path /etc/BackupPC/config.pl I note that in one of the popular Ubuntu upgrade scripts, it's commented just like that, so it may have attempted to install as new. I'm not sure what happens when that's attempted and a config.pl already exists, but if the above doesn't work (remove the # at the beginning of the second line, obviously) then you might want to move your config.pl to a backup and try this: # When installing, use this ../configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --hostname backuppc --html-dir /var/www/html/BackupPC --html-dir-url /BackupPC --install-dir /usr/local/BackupPC Adjust the paths for your actual paths, of course. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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] Upgrading to backuppc-4.1.3 FAILED!
Thanks for the quick response. How do I update the config.pl file, please? From: Michael Stowe Sent: 12 February 2018 20:17 To: General list for user discussion, questions and support Cc: Marc Gilliatt Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED! On 2018-02-12 01:00, Marc Gilliatt wrote: I tried to download backuppc-4.1.3 tar file from the backuppc website. The upgrade went fine, I went through the upgrade steps and no error was shown, however, the backuppc.server won't start now? In the GUI, I'm getting. ERROR: UNABLE TO CONNECT TO BACKUPPC SERVER This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC server on backuppc01 port -1. The error was: unix connect: No such file or directory. Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin. And when I try to run "service backuppc restart", Im getting. Job for backuppc.service failed because the control process exited with error code. See “systemctl status backuppc.service” and “journalctl -xe” for details. And when I run "systemctl status backuppc.service", Im getting. backuppc.service – LSB: Launch backuppc server Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-01-31 09:33:33 GMT; 20s ago Docs: man:systemd-sysv-generator(8) Process: 29163 ExecStop=/etc/init.d/backuppc stop (code=exited, status=0/SUCCESS) Process: 29425 ExecStart=/etc/init.d/backuppc start (code=exited, status=1/FAILURE) Jan 31 09:33:33 backuppc01 systemd[1]: Starting LSB: Launch backuppc server… Jan 31 09:33:33 backuppc01 backuppc[29425]: * Starting backuppc... Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, please update /etc/backuppc/config.pl. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Control process exited, code=exited status=1 Jan 31 09:33:33 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc server. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Unit entered failed state. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Failed with result ‘exit-code’. I followed the upgrade instructions correctly. And when I go into the GUI INTERNAL SERVER ERROR The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.18 (Ubuntu) Server at backuppc01.dsdb.int Port 80 Before the upgrade, I was running smbd 4.3.11-Ubuntu and backuppc 3.3.1-2ubuntu3.3 Any ideas or suggestions on how to fix this, please? This is our only source of backing up our servers. I have no working backuppc now…any ideas, please? If I may draw your attention to these lines from your logs: Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, please update /etc/backuppc/config.pl. The settings in config.pl have changed. These will need to be updated before you will be able to start 4.x. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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] Upgrading to backuppc-4.1.3 FAILED!
On 2018-02-12 01:00, Marc Gilliatt wrote: I tried to download backuppc-4.1.3 tar file from the backuppc website. The upgrade went fine, I went through the upgrade steps and no error was shown, however, the backuppc.server won't start now? In the GUI, I'm getting. ERROR: UNABLE TO CONNECT TO BACKUPPC SERVER This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC server on backuppc01 port -1. The error was: unix connect: No such file or directory. Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin. And when I try to run "service backuppc restart", Im getting. Job for backuppc.service failed because the control process exited with error code. See "systemctl status backuppc.service" and "journalctl -xe" for details. And when I run "systemctl status backuppc.service", Im getting. backuppc.service - LSB: Launch backuppc server Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-01-31 09:33:33 GMT; 20s ago Docs: man:systemd-sysv-generator(8) Process: 29163 ExecStop=/etc/init.d/backuppc stop (code=exited, status=0/SUCCESS) Process: 29425 ExecStart=/etc/init.d/backuppc start (code=exited, status=1/FAILURE) Jan 31 09:33:33 backuppc01 systemd[1]: Starting LSB: Launch backuppc server... Jan 31 09:33:33 backuppc01 backuppc[29425]: * Starting backuppc... Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, please update /etc/backuppc/config.pl. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Control process exited, code=exited status=1 Jan 31 09:33:33 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc server. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Unit entered failed state. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Failed with result 'exit-code'. I followed the upgrade instructions correctly. And when I go into the GUI INTERNAL SERVER ERROR The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. - _Apache/2.4.18 (Ubuntu) Server at backuppc01.dsdb.int Port 80_ Before the upgrade, I was running smbd 4.3.11-Ubuntu and backuppc 3.3.1-2ubuntu3.3 Any ideas or suggestions on how to fix this, please? This is our only source of backing up our servers. I have no working backuppc now...any ideas, please? If I may draw your attention to these lines from your logs: Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, please update /etc/backuppc/config.pl. The settings in config.pl have changed. These will need to be updated before you will be able to start 4.x. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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] Upgrading to backuppc-4.1.3 FAILED!
I tried to download backuppc-4.1.3 tar file from the backuppc website. The upgrade went fine, I went through the upgrade steps and no error was shown, however, the backuppc.server won't start now? In the GUI, I'm getting. Error: Unable to connect to BackupPC server This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC server on backuppc01 port -1. The error was: unix connect: No such file or directory. Perhaps the BackupPC server is not running or there is a configuration error. Please report this to your Sys Admin. And when I try to run "service backuppc restart", Im getting. Job for backuppc.service failed because the control process exited with error code. See "systemctl status backuppc.service" and "journalctl -xe" for details. And when I run "systemctl status backuppc.service", Im getting. backuppc.service - LSB: Launch backuppc server Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-01-31 09:33:33 GMT; 20s ago Docs: man:systemd-sysv-generator(8) Process: 29163 ExecStop=/etc/init.d/backuppc stop (code=exited, status=0/SUCCESS) Process: 29425 ExecStart=/etc/init.d/backuppc start (code=exited, status=1/FAILURE) Jan 31 09:33:33 backuppc01 systemd[1]: Starting LSB: Launch backuppc server... Jan 31 09:33:33 backuppc01 backuppc[29425]: * Starting backuppc... Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, please update /etc/backuppc/config.pl. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Control process exited, code=exited status=1 Jan 31 09:33:33 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc server. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Unit entered failed state. Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Failed with result 'exit-code'. I followed the upgrade instructions correctly. And when I go into the GUI Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.18 (Ubuntu) Server at backuppc01.dsdb.int Port 80 Before the upgrade, I was running smbd 4.3.11-Ubuntu and backuppc 3.3.1-2ubuntu3.3 Any ideas or suggestions on how to fix this, please? This is our only source of backing up our servers. I have no working backuppc now...any ideas, please? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ 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/