[BackupPC-users] Can't find Lib.pm
Hello- I’m having a very annoying problem with the CGI interface. I’ve dug around the archives, and all I see are suggestions to fix permissions. When I go to http://backman.xxx.net/cgi-bin/BackupPC_Admin, I get the following error: Software error: Can't locate BackupPC/Lib.pm in @INC (@INC contains: /backup/backuppc/lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /var/www/cgi-bin/BackupPC_Admin line 54.BEGIN failed--compilation aborted at /var/www/cgi-bin/BackupPC_Admin line 54. I have verified that /backup/backuppc/lib/BackupPC/Lib.pm DOES exist. And as a test, I made the permissions on the entire folder (/backup/backuppc/lib) 777. When I su to user backuppc (which is what apache runs under), I am able to access the above Lib.pm file. But when I run the script via the web browser, it obviously says it can’t find it. I’m running Red Hat Linux Enterprise 4, BackupPC 3.0.0 beta. Any suggestions? TIA, Bryan - 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___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] Can't find Lib.pm
You got a perl problem, you may have two installations of perl and backuppc cannot find the right one. Try: which perl Should be: /usr/bin/perl Then install the appropriate perl modules from cpan: /usr/bin/perl -MCPAN -e shell cpan> install Compress::Zlib Archive::Zip File::RsyncP Lowe, Bryan wrote: Hello- I’m having a very annoying problem with the CGI interface. I’ve dug around the archives, and all I see are suggestions to fix permissions. When I go to http://backman.xxx.net/cgi-bin/BackupPC_Admin, I get the following error: Software error: Can't locate BackupPC/Lib.pm in @INC (@INC contains: /backup/backuppc/lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib /perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /var/www/cgi-bin/BackupPC_Admin line 54. BEGIN failed--compilation aborted at /var/www/cgi-bin/BackupPC_Admin line 54. I have verified that /backup/backuppc/lib/BackupPC/Lib.pm DOES exist. And as a test, I made the permissions on the entire folder (/backup/backuppc/lib) 777. When I su to user backuppc (which is what apache runs under), I am able to access the above Lib.pm file. But when I run the script via the web browser, it obviously says it can’t find it. I’m running Red Hat Linux Enterprise 4, BackupPC 3.0.0 beta. Any suggestions? TIA, Bryan - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ -- Ken Gregoire Gordian Data Inc. www.gordiandata.com [EMAIL PROTECTED] - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] missing incrementals
Hi. I made recently a debian server with backuppc being a noob in linux, but with patience i did it. So in one host I have this situation. my boss want full backupc to last no less than 2 months and preferably would I have the possibility to burn to dvd an old backup, to put in the archive/vault... anyway, i put $Conf{FullKeepCnt} = 6; and {FullPeriod} = 6.97; Backup# Type Filled Start Date Duration/mins Age/days Server Backup Path 76 full yes 8/21 12:00 85.0 22.0 /var/lib/backuppc/pc/fb_nt/76 95 full yes 8/30 18:18 58.4 12.7 /var/lib/backuppc/pc/fb_nt/95 110 full yes 9/6 19:00 61.2 5.7 /var/lib/backuppc/pc/fb_nt/110 114 incr no 9/9 02:01 4.3 3.4 /var/lib/backuppc/pc/fb_nt/114 115 incr no 9/9 13:00 4.7 2.9 /var/lib/backuppc/pc/fb_nt/115 116 incr no 9/10 02:00 4.2 2.4 /var/lib/backuppc/pc/fb_nt/116 117 incr no 9/10 13:00 4.7 1.9 /var/lib/backuppc/pc/fb_nt/117 118 incr no 9/11 13:00 5.2 0.9 /var/lib/backuppc/pc/fb_nt/118 119 incr no 9/12 02:00 5.1 0.4 /var/lib/backuppc/pc/fb_nt/119 But now my boss looks at this and ask's me where did the incr from day 7 and 8 go? I didn't know either but i searched for documents modified in that date and they appear in the web interface but I don't know what happened... that might be something like hardlinks or so.. Do you have a way to explain this? And btw, excellent program you have here. thanks a lot. - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] missing incrementals
I think I'm having a similar situation (see my last email). What does it say about BackupPC or the hosts that fulls are working but not incrementals? Thanks, ck Original Message: - From: Filipe [EMAIL PROTECTED] Date: Tue, 12 Sep 2006 18:22:26 +0100 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] missing incrementals Hi. I made recently a debian server with backuppc being a noob in linux, but with patience i did it. So in one host I have this situation. my boss want full backupc to last no less than 2 months and preferably would I have the possibility to burn to dvd an old backup, to put in the archive/vault... anyway, i put $Conf{FullKeepCnt} = 6; and {FullPeriod} = 6.97; Backup# Type Filled Start Date Duration/mins Age/days Server Backup Path 76 full yes 8/21 12:00 85.0 22.0 /var/lib/backuppc/pc/fb_nt/76 95 full yes 8/30 18:18 58.4 12.7 /var/lib/backuppc/pc/fb_nt/95 110 full yes 9/6 19:00 61.2 5.7 /var/lib/backuppc/pc/fb_nt/110 114 incr no 9/9 02:01 4.3 3.4 /var/lib/backuppc/pc/fb_nt/114 115 incr no 9/9 13:00 4.7 2.9 /var/lib/backuppc/pc/fb_nt/115 116 incr no 9/10 02:00 4.2 2.4 /var/lib/backuppc/pc/fb_nt/116 117 incr no 9/10 13:00 4.7 1.9 /var/lib/backuppc/pc/fb_nt/117 118 incr no 9/11 13:00 5.2 0.9 /var/lib/backuppc/pc/fb_nt/118 119 incr no 9/12 02:00 5.1 0.4 /var/lib/backuppc/pc/fb_nt/119 But now my boss looks at this and ask's me where did the incr from day 7 and 8 go? I didn't know either but i searched for documents modified in that date and they appear in the web interface but I don't know what happened... that might be something like hardlinks or so.. Do you have a way to explain this? And btw, excellent program you have here. thanks a lot. - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/ mail2web - Check your email from the web at http://mail2web.com/ . - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] missing incrementals
On Tue, 2006-09-12 at 13:58 -0400, [EMAIL PROTECTED] wrote: > I think I'm having a similar situation (see my last email). What does it > say about BackupPC or the hosts that fulls are working but not incrementals? > > Thanks, > > ck > > > > Original Message: > - > From: Filipe [EMAIL PROTECTED] > Date: Tue, 12 Sep 2006 18:22:26 +0100 > To: backuppc-users@lists.sourceforge.net > Subject: [BackupPC-users] missing incrementals > > > Hi. > I made recently a debian server with backuppc being a noob in linux, but > with patience i did it. > > So in one host I have this situation. my boss want full backupc to last > no less than 2 months and preferably would I have the possibility to > burn to dvd an old backup, to put in the archive/vault... > anyway, i put $Conf{FullKeepCnt} = 6; and {FullPeriod} = 6.97; > > Backup# Type Filled Start Date Duration/mins > Age/days Server Backup Path > 76 full yes 8/21 12:00 85.0 22.0 > /var/lib/backuppc/pc/fb_nt/76 > 95 full yes 8/30 18:18 58.4 12.7 > /var/lib/backuppc/pc/fb_nt/95 > 110 full yes 9/6 19:00 61.2 5.7 > /var/lib/backuppc/pc/fb_nt/110 > 114 incr no 9/9 02:01 4.3 3.4 > /var/lib/backuppc/pc/fb_nt/114 > 115 incr no 9/9 13:00 4.7 2.9 > /var/lib/backuppc/pc/fb_nt/115 > 116 incr no 9/10 02:00 4.2 2.4 > /var/lib/backuppc/pc/fb_nt/116 > 117 incr no 9/10 13:00 4.7 1.9 > /var/lib/backuppc/pc/fb_nt/117 > 118 incr no 9/11 13:00 5.2 0.9 > /var/lib/backuppc/pc/fb_nt/118 > 119 incr no 9/12 02:00 5.1 0.4 > /var/lib/backuppc/pc/fb_nt/119 > > > But now my boss looks at this and ask's me where did the incr from day 7 > and 8 go? What is your $Conf{IncrKeepCnt}? > I didn't know either but i searched for documents modified in that date > and they appear in the web interface but I don't know what happened... > that might be something like hardlinks or so.. > Do you have a way to explain this? Incrementals are made based on change from the last full so you only need intermediate ones to find files that were newer than your full but subsequently changed or deleted. -- Les Mikesell [EMAIL PROTECTED] - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] missing incrementals
Les Mikesell escreveu: On Tue, 2006-09-12 at 13:58 -0400, [EMAIL PROTECTED] wrote: I think I'm having a similar situation (see my last email). What does it say about BackupPC or the hosts that fulls are working but not incrementals? Thanks, ck Original Message: - From: Filipe [EMAIL PROTECTED] Date: Tue, 12 Sep 2006 18:22:26 +0100 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] missing incrementals Hi. I made recently a debian server with backuppc being a noob in linux, but with patience i did it. So in one host I have this situation. my boss want full backupc to last no less than 2 months and preferably would I have the possibility to burn to dvd an old backup, to put in the archive/vault... anyway, i put $Conf{FullKeepCnt} = 6; and {FullPeriod} = 6.97; Backup# Type Filled Start Date Duration/mins Age/days Server Backup Path 76 full yes 8/21 12:00 85.0 22.0 /var/lib/backuppc/pc/fb_nt/76 95 full yes 8/30 18:18 58.4 12.7 /var/lib/backuppc/pc/fb_nt/95 110 full yes 9/6 19:00 61.2 5.7 /var/lib/backuppc/pc/fb_nt/110 114 incr no 9/9 02:01 4.3 3.4 /var/lib/backuppc/pc/fb_nt/114 115 incr no 9/9 13:00 4.7 2.9 /var/lib/backuppc/pc/fb_nt/115 116 incr no 9/10 02:00 4.2 2.4 /var/lib/backuppc/pc/fb_nt/116 117 incr no 9/10 13:00 4.7 1.9 /var/lib/backuppc/pc/fb_nt/117 118 incr no 9/11 13:00 5.2 0.9 /var/lib/backuppc/pc/fb_nt/118 119 incr no 9/12 02:00 5.1 0.4 /var/lib/backuppc/pc/fb_nt/119 But now my boss looks at this and ask's me where did the incr from day 7 and 8 go? What is your $Conf{IncrKeepCnt}? 6, i think I will put 14 cause I do 2 incr per day... but do I have to put 14 to fill the incr per full's, or what?! I didn't know either but i searched for documents modified in that date and they appear in the web interface but I don't know what happened... that might be something like hardlinks or so.. Do you have a way to explain this? Incrementals are made based on change from the last full so you only need intermediate ones to find files that were newer than your full but subsequently changed or deleted. I think I didn't explain correctly... there is the 111 incr that was deleted right? the files of that incr were deleted also? the question is this, if a file is modified after the 110 full, is kept in 111 incr, but 111 incr is no more, so where that file go?! - 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___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] missing incrementals
On Tue, 2006-09-12 at 17:29, Filipe wrote: > > > But now my boss looks at this and ask's me where did the incr from day 7 > > > and 8 go? > > > > > What is your $Conf{IncrKeepCnt}? > > > 6, i think I will put 14 cause I do 2 incr per day... but do I have to > put 14 to fill the incr per full's, or what?! Put in as many as you want to keep. 14 should keep your 2 a day between fulls but you could have more if you want longer to find files that were deleted. > > Incrementals are made based on change from the last full so you only > > need intermediate ones to find files that were newer than your full but > > subsequently changed or deleted. > > > > > I think I didn't explain correctly... > there is the 111 incr that was deleted right? the files of that incr > were deleted also? > the question is this, if a file is modified after the 110 full, is > kept in 111 incr, but 111 incr is no more, so where that file go?! Files are all linked into the pool and to any runs that contain them. If changed file is included in run 111 and is still there in run 112 it becomes another link which stays even when 111 is removed. The pool copy is deleted only after all the links to it have been removed. -- Les Mikesell [EMAIL PROTECTED] - 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 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/