|
Re: rsnapshot not finding Perl libs on SLES9: msg#00027sysutils.backup.rsnapshot.general
On Wed, Jul 12, 2006 at 02:45:12PM +0200, Alex G?nsche wrote: > I'm trying to install and run rsnapshot (v1.2.9-1, installed from > the .rpm) on a SLES9 machine with a dual core processor. SLES == SuSE, yes? In which case, you'll be pleased to know that someone from SuSE emailed me today to say that he was packaging rsnapshot for the most recent version of the distribution. > Onfortunately, > rsnapshot doesn't run. Launching "strace rsnapshot daily" shows that > there are lots of Perl modules not being found in the expected path. It > searches in /usr/lib/perl5/5.8.3/i586-linux-thread-multi/ while many > libs are in /usr/lib/perl5/5.8.3/. I attached the strace output below. > ... > open("/usr/lib/perl5/5.8.3/i586-linux-thread-multi/DirHandle.pm", > O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) > ... > open("/usr/lib/perl5/5.8.3/DirHandle.pm", O_RDONLY|O_LARGEFILE) = 4 Here, perl is going through its search path for modules, and first trying .../i586-linux-thread-multi (and failing) then trying .../5.8.3 and succeeding. This is normal behaviour, and is just like how your shell tries (and fails several times) to find executables in all sorts of places before finally finding the right place in your $PATH. > I also cannot just copy the > modules over... this might have unexpected consequencies, and the Perl > install is very important for other software running on this machine. rsnapshot only requires modules which are distributed as part of perl 5.8.3 itself so that shouldn't be a problem. It can *optionally* use some other modules, which is why your strace contained so many failures to open the Lchown module, but that isn't essential for rsnapshot to run. > What could be the reason for the failure? Are there packages missing or > wrongly installed? This is a rather fresh install, especially the Perl > parts are "out of the box". >From the strace it looks like you have configured rsnapshot to do hourly, daily and weekly backups, so hourlies are your first level of backup, dailies second, and weekly third. rsnapshot only does its linking and syncing for the first level backups. For second level backups, all it does is rotate backups and make a first level backup into a second level backup. If there are no first level backups, a second level backup has nothing to do and so exits. Assuming my diagnosis is correct, you need to run 'rsnapshot hourly' a few times, until you have a complete set of hourlies, and then run 'rsnapshot daily'. To confirm that this is the case, can you please send the results of this command to the list: grep ^[^#]. /etc/rsnapshot.conf -- David Cantrell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | rsnapshot not finding Perl libs on SLES9: 00027, Alex Günsche |
|---|---|
| Next by Date: | ssh_args: 00027, Cole Tuininga |
| Previous by Thread: | rsnapshot not finding Perl libs on SLES9i: 00027, Alex Günsche |
| Next by Thread: | Re: rsnapshot not finding Perl libs on SLES9: 00027, Alex Günsche |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |