
17th April 2007, 08:01
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
reoback problems on debian 3.1
hello,
I successfully installed and configured reoback. I made a testrun (manually) and everything worked fine. The backup was made, everything ok.
Then I noticed that when reoback ran as cronjob it kind of "hung" - the cronjob was set for 3 o'clock and late i nteh evenign I noticed a high CPU load. I checked and found out tar was still running.
My first idea was that maybe the reason was that I had configured reoback to backup / with just a few exceptions. So I reconfigured and specified each directory separately and did a testrun again. It run fine, a little smoother, basically a full backup took 1 1/2 hours the transfer itsself 30mins... but today I just noticed tar was still running... and reoback.pl and run_reoback.sh are also running.
So here I am - what can I check, how can I enable some logging to find out why it does not run when used with cron?
here is my cronjob: 3 3 * * * /etc/reoback/run_reoback.sh | mail -s "reoback" postmaster@mydomain
|

18th April 2007, 19:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
What's in /etc/reoback/run_reoback.sh? Did you use full paths for all commands in that script? The PATH variable might be different in a cron job and on the shell.
|

18th April 2007, 23:14
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
basically this is its content, except for the shebang...
Quote:
# Location of the configuration file.
config="/etc/reoback/settings.conf"
# Change to reflect where REOBack is installed
reoback="/usr/bin/reoback.pl"
# Do not modify this line.
$reoback $config
|
I started the manual run like this: reoback.pl /etc/reoback/settings.conf ... maybe I should change the run_reoback.sh from full path to this ?
|

19th April 2007, 14:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
You can try and add a PATH variable at the beginning of the run_reoback.sh script (in line 2, right after the shebang), e.g.
Code:
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
|

7th May 2007, 01:16
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
the run_reoback.sh look like this now:
Quote:
#!/bin/sh
PATH=/usr/bin
################################################## ##########################
# REOBack - run_reoback.sh
# $Id: run_reoback.sh,v 1.4 2002/03/23 14:45:42 techno91 Exp $
################################################## ##########################
#
|
I also re-enabled the cronjob so I will report back tomorrow with the result of this modification.
|

7th May 2007, 10:51
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
first feedback:
Quote:
Performing full backup via FTP
Last full backup: Mon May 7 03:03:01 2007
Archiving in progress...
Working on root_folder...
Archiving root_folder...
Transferring archive: h898552.serverkompetenz.net-root_folder-full--.1.tgz...FAILED! :
Working on bin...
Archiving bin...
Transferring archive: h898552.serverkompetenz.net-bin-full--.1.tgz...FAILED! :
Working on boot...
Archiving boot...
Transferring archive: h898552.serverkompetenz.net-boot-full--.1.tgz...FAILED! :
Working on etc...
Archiving etc...
Transferring archive: h898552.serverkompetenz.net-etc-full--.1.tgz...FAILED! :
Working on home...
Archiving home...
Transferring archive: h898552.serverkompetenz.net-home-full--.1.tgz...FAILED! :
Working on lib...
Archiving lib...
Transferring archive: h898552.serverkompetenz.net-lib-full--.1.tgz...FAILED! :
Working on root...
Archiving root...
Transferring archive: h898552.serverkompetenz.net-root-full--.1.tgz...FAILED! :
Working on sbin...
Archiving sbin...
Transferring archive: h898552.serverkompetenz.net-sbin-full--.1.tgz...FAILED! :
Working on usr...
Archiving usr...
Transferring archive: h898552.serverkompetenz.net-usr-full--.1.tgz...FAILED! :
Working on var...
Archiving var...
Transferring archive: h898552.serverkompetenz.net-var-full--.1.tgz...FAILED! :
All local archives were removed.
Total transfer time: 7.00 seconds(s).
Overall backup time: 4.48 minute(s).
|
second one :-)
Quote:
- original message -
Subject: Cron <root@h898552> /etc/reoback/run_reoback.sh | mail -s "reoback" postmaster@web-designerz.de
From: root@h898552.serverkompetenz.net (Cron Daemon)
Date: 07.05.2007 01:07
Can't exec "date": No such file or directory at /usr/bin/reoback.pl line 42.
Can't exec "date": No such file or directory at /usr/bin/reoback.pl line 43.
Can't exec "date": No such file or directory at /usr/bin/reoback.pl line 44.
Use of uninitialized value in scalar chomp at /usr/bin/reoback.pl line 407.
Use of uninitialized value in scalar chomp at /usr/bin/reoback.pl line 408.
Use of uninitialized value in scalar chomp at /usr/bin/reoback.pl line 409.
Can't exec "cat": No such file or directory at /usr/bin/reoback.pl line 422.
Use of uninitialized value in split at /usr/bin/reoback.pl line 422.
Use of uninitialized value in addition (+) at /usr/bin/reoback.pl line 425.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 80.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 81.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 82.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-root_folder-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-bin-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-boot-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-etc-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-home-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-lib-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-root-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-sbin-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-usr-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
Use of uninitialized value in concatenation (.) or string at /usr/bin/reoback.pl line 588.
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 199.
Cannot open Local file /var/lib/reoback/backups/h898552.serverkompetenz.net-var-full--.1.tgz: No such file or directory at /usr/bin/reoback.pl line 229
readline() on closed filehandle PROC at /usr/bin/reoback.pl line 857.
|
looks like I need to include all the paths falko quoted above, right?
|

7th May 2007, 13:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Quote:
|
Originally Posted by Tenaka
looks like I need to include all the paths falko quoted above, right?
|
Yes, correct.
|

8th May 2007, 07:59
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
no luck. the cron job started this morning at 3:00 am and is still running.
|

8th May 2007, 16:11
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Any error messages?
What exactly is in your script now?
|

8th May 2007, 17:28
|
|
Senior Member
|
|
Join Date: Sep 2005
Posts: 1,186
Thanks: 60
Thanked 13 Times in 11 Posts
|
|
I put the whole path into it like you quoted above. there were no error messages, as I had to kill the still runnign scripts. they were consuming too much cpu-time
you also have details regarding this in a PM
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 12:56.
|
|
Recent comments
3 hours 44 min ago
13 hours 12 min ago
14 hours 1 min ago
17 hours 35 min ago
21 hours 59 min ago
22 hours 21 min ago
1 day 30 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 16 hours ago