SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
backup failed (cant find Compress::Zlib)
Author Message
Post backup failed (cant find Compress::Zlib) 
Hi backupers!

I have migrated my backuppc from Ubuntu to CentOS but after the installation when I tried to do the first backup, the backup failed  with this message "backup failed (can't find Compress::Zlib)". I have already installed the last perl-Compress-Zlib, so I dont know wich is the problem. Any clue?



Regards

Post backup failed (cant find Compress::Zlib) 
On Wed, Feb 1, 2012 at 2:08 PM, Estanislao López Morgan
<estanux < at > gmail.com> wrote:
Hi backupers!

I have migrated my backuppc from Ubuntu to CentOS but after the installation
when I tried to do the first backup, the backup failed  with this message
"backup failed (can't find Compress::Zlib)". I have already installed the
last perl-Compress-Zlib, so I dont know wich is the problem. Any clue?

I've seen this before, but not on a current CentOS install. Is this
something old or with a mix of CPAN and rpm perl modules? I think it
really has to do with Scalar::Util, so forcing a reinstall of that
might fix it.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post backup failed (cant find Compress::Zlib) 
Thanks for answer. I tried what you told me but installing perl-Scalar-List-Utils (using yum) have conflicts with some files of the perl-4:5.10.1-119.el6_1.1.i686. In particular with
         file /usr/share/man/man3/List::Util.3pm.gz
         file /usr/share/man/man3/List::Util::XS.3pm.gz
         file /usr/share/man/man3/Scalar::Util.3pm.gz
I deleted them manualy because if you remove perl package (the whole one) backuppc web server, doesn't work. But that did not fix my problem. 


Maybe you are wondering why don't use CPAN, well I was not able to make it work correctly. When I run cpan install Scalar::Util, It does not make the "make" part during the compilation. 


I am thinking in changing CentOS version (I am using 6.2 currently). Do you know some CentOS distro with this bug repaired?



Regards


On Wed, Feb 1, 2012 at 5:52 PM, Les Mikesell <lesmikesell < at > gmail.com ([email]lesmikesell < at > gmail.com[/email])> wrote:
On Wed, Feb 1, 2012 at 2:08 PM, Estanislao López Morgan
<estanux < at > gmail.com ([email]estanux < at > gmail.com[/email])> wrote:
Hi backupers!

I have migrated my backuppc from Ubuntu to CentOS but after the installation
when I tried to do the first backup, the backup failed  with this message
"backup failed (can't find Compress::Zlib)". I have already installed the
last perl-Compress-Zlib, so I dont know wich is the problem. Any clue?



I've seen this before, but not on a current CentOS install.  Is this
something old or with a mix of CPAN and rpm perl modules?  I think it
really has to do with Scalar::Util, so forcing a reinstall of that
might fix it.

--
  Les Mikesell
    lesmikesell < at > gmail.com ([email]lesmikesell < at > gmail.com[/email])

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Post backup failed (cant find Compress::Zlib) 
On Fri, Feb 3, 2012 at 12:27 PM, Estanislao López Morgan
<estanux < at > gmail.com> wrote:
Thanks for answer. I tried what you told me but installing
perl-Scalar-List-Utils (using yum) have conflicts with some files of the
perl-4:5.10.1-119.el6_1.1.i686. In particular with
         file /usr/share/man/man3/List::Util.3pm.gz
         file /usr/share/man/man3/List::Util::XS.3pm.gz
         file /usr/share/man/man3/Scalar::Util.3pm.gz
I deleted them manualy because if you remove perl package (the whole one)
backuppc web server, doesn't work. But that did not fix my problem.

Do you use third-party yum repositories other than EPEL? If not, and
you are up to date, I don't think you should have any conflicts.
There were some issues reported recently on the Centos list but I
thought everything was good now.

Maybe you are wondering why don't use CPAN, well I was not able to make it
work correctly. When I run cpan install Scalar::Util, It does not make the
"make" part during the compilation.

No, it is generally a bad idea to mix CPAN and RPM components. If you
are getting yum/rpm conflicts you should figure out where you got the
conflicting package and report it to the maintainer.

I am thinking in changing CentOS version (I am using 6.2 currently). Do you
know some CentOS distro with this bug repaired?

I have a couple of 6.2 systems with backuppc from EPEL and have not
seen any similar problems. They were probably installed as 6.1 and
updated via yum, but I don't think I updated at exactly the time perl
package conflicts were mentioned for CentOS. Try a yum update, then
a 'reinstall' of any packages where you suspect problems. Centos is
normally very, very stable, so I wouldn't give up on it yet.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post backup failed (cant find Compress::Zlib) 
Les Mikesell <lesmikesell < at > gmail.com> wrote on 02/03/2012 02:26:08 PM:

I am thinking in changing CentOS version (I am using 6.2 currently). Do you
know some CentOS distro with this bug repaired?

I have a couple of 6.2 systems with backuppc from EPEL and have not
seen any similar problems.

I have recently installed a few BackupPC systems on CentOS 6.2-minimal. I used the following RPM's:

NOTE: This list found by running yum localinstall BackupPC-3.2.1-6.el6.x86_64.rpm and finding the packages it could not find, all from EPEL
wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-File-RsyncP-0.68-6.el6.x86_64.rpm
yum -y localinstall perl-File-RsyncP-0.68-6.el6.x86_64.rpm
wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-Net-FTP-AutoReconnect-0.3-3.el6.noarch.rpm
yum -y localinstall perl-Net-FTP-AutoReconnect-0.3-3.el6.noarch.rpm
wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-Net-FTP-RetrHandle-0.2-3.el6.noarch.rpm
yum -y localinstall perl-Net-FTP-RetrHandle-0.2-3.el6.noarch.rpm
Download BackupPC RPM for RHEL 6:
wget http://download.fedora.redhat.com/pub/epel/6/x86_64/BackupPC-3.2.1-6.el6.x86_64.rpm
yum localinstall BackupPC-3.2.1-6.el6.x86_64.rpm
================================================================================
Installing:
BackupPC x86_64 3.2.1-6.el6 /BackupPC-3.2.1-6.el6.x86_64
2.3 M
Installing for dependencies:
apr x86_64 1.3.9-3.el6_1.2 base 123 k
apr-util x86_64 1.3.9-3.el6_0.1 base 87 k
apr-util-ldap x86_64 1.3.9-3.el6_0.1 base 15 k
httpd x86_64 2.2.15-15.el6.centos base 809 k
httpd-tools x86_64 2.2.15-15.el6.centos base 70 k
mailcap noarch 2.1.31-2.el6 base 27 k
perl-Archive-Zip noarch 1.30-2.el6 base 107 k
perl-CGI x86_64 3.51-119.el6_1.1 base 206 k
perl-Class-Singleton noarch 1.4-6.el6 base 17 k
perl-Compress-Raw-Zlib x86_64 2.023-119.el6_1.1 base 67 k
perl-Compress-Zlib x86_64 2.020-119.el6_1.1 base 43 k
perl-DateTime x86_64 1:0.5300-1.el6 base 2.0 M
perl-DateTime-Format-Mail noarch 0.3001-6.el6 base 159 k
perl-DateTime-Format-W3CDTF noarch 0.04-8.el6 base 17 k
perl-HTML-Parser x86_64 3.64-2.el6 base 109 k
perl-HTML-Tagset noarch 3.20-4.el6 base 17 k
perl-IO-Compress-Base x86_64 2.020-119.el6_1.1 base 66 k
perl-IO-Compress-Zlib x86_64 2.020-119.el6_1.1 base 133 k
perl-List-MoreUtils x86_64 0.22-10.el6 base 53 k
perl-Params-Validate x86_64 0.92-3.el6 base 75 k
perl-Time-modules noarch 2006.0814-5.el6 base 38 k
perl-URI noarch 1.40-2.el6 base 117 k
perl-XML-Parser x86_64 2.36-7.el6 base 224 k
perl-XML-RSS noarch 1.45-2.el6 base 59 k
perl-libwww-perl noarch 5.833-2.el6 base 387 k
================================================================================
y (Install 26 packages, including Apache HTTPd)

Works perfectly. Again, from a clean CentOS 6.2 minimal install.

If you're having problems, it is almost certainly because of other RPM's (and most likely, non-CentOS and non-EPEL RPM's) you've installed (or improperly uninstalled) before.

Tim Massey
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!

[url=Arial]http://www.OutOfTheBoxSolutions.com[/url]
[url=Arial]tmassey < at > obscorp.com[/url] 22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796

Post backup failed (cant find Compress::Zlib) 
On Fri, Feb 3, 2012 at 1:40 PM, Timothy J Massey <tmassey < at > obscorp.com ([email]tmassey < at > obscorp.com[/email])> wrote:
Les Mikesell <lesmikesell < at > gmail.com ([email]lesmikesell < at > gmail.com[/email])> wrote on 02/03/2012 02:26:08 PM:

I am thinking in changing CentOS version (I am using 6.2 currently). Do you
know some CentOS distro with this bug repaired?

I have a couple of 6.2 systems with backuppc from EPEL and have not
seen any similar problems.


I have recently installed a few BackupPC systems on CentOS 6.2-minimal.  I used the following RPM's:

NOTE:  This list found by running yum localinstall BackupPC-3.2.1-6.el6.x86_64.rpm and finding the packages it could not find, all from EPEL
        wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-File-RsyncP-0.68-6.el6.x86_64.rpm
        yum -y localinstall perl-File-RsyncP-0.68-6.el6.x86_64.rpm
        wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-Net-FTP-AutoReconnect-0.3-3.el6.noarch.rpm
        yum -y localinstall perl-Net-FTP-AutoReconnect-0.3-3.el6.noarch.rpm
        wget http://download.fedora.redhat.com/pub/epel/6/x86_64/perl-Net-FTP-RetrHandle-0.2-3.el6.noarch.rpm
        yum -y localinstall perl-Net-FTP-RetrHandle-0.2-3.el6.noarch.rpm
Download BackupPC RPM for RHEL 6:
        wget http://download.fedora.redhat.com/pub/epel/6/x86_64/BackupPC-3.2.1-6.el6.x86_64.rpm
        yum localinstall BackupPC-3.2.1-6.el6.x86_64.rpm

It is usually safe to just add the EPEL repo to your yum configuration as described here:
http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F
and then yum will sort out the dependencies itself.   The EPEL policy is to not replace/overwrite any upstream packages so it rarely causes any conflicts, but if you are concerned about that, after installing the epel-release package you can edit the /etc/yum.repos.d/epel.repo file and set enabled=0.  Then when you want something from there, add --enablerepo=epel on the yum command line when you install or update specific packages.  Most other 3rd party repos are not as careful about conflicts and are more dangerous to leave enabled for updates.


--
   Les Mikesell
    lesmikesell < at > gmail.com ([email]lesmikesell < at > gmail.com[/email])

Post backup failed (cant find Compress::Zlib) 
On Fri, Feb 3, 2012 at 3:27 PM, Les Mikesell <lesmikesell < at > gmail.com> wrote:
It is usually safe to just add the EPEL repo to your yum configuration as
described here:
http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F
and then yum will sort out the dependencies itself.   The EPEL policy is to
not replace/overwrite any upstream packages so it rarely causes any
conflicts, but if you are concerned about that, after installing the
epel-release package you can edit the /etc/yum.repos.d/epel.repo file and
set enabled=0.  Then when you want something from there, add
--enablerepo=epel on the yum command line when you install or update
specific packages.  Most other 3rd party repos are not as careful about
conflicts and are more dangerous to leave enabled for updates.

Just to add as an FYI, RPM Fusion's EPEL repository does not supply
packages that are already in Fedora's EPEL or RHEL base packages. AT
RPMS doesn't have a problem with providing duplicate packages.

Richard

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post backup failed (cant find Compress::Zlib) 
Thanks a lot, boys... I tried to all solutions but reinstall CentOS minimal. I think that I could have made some mix between packages rpm and cpan. I going to follow Timothy J Massey  steps, but in a i386 arquitecture, because this is what I have (saddly).
Have anyone  ever try that kind of packages from EPEL ?


Regards 


On Fri, Feb 3, 2012 at 6:42 PM, Richard Shaw <hobbes1069 < at > gmail.com ([email]hobbes1069 < at > gmail.com[/email])> wrote:
On Fri, Feb 3, 2012 at 3:27 PM, Les Mikesell <lesmikesell < at > gmail.com ([email]lesmikesell < at > gmail.com[/email])> wrote:
It is usually safe to just add the EPEL repo to your yum configuration as
described here:
http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F
and then yum will sort out the dependencies itself.   The EPEL policy is to
not replace/overwrite any upstream packages so it rarely causes any
conflicts, but if you are concerned about that, after installing the
epel-release package you can edit the /etc/yum.repos.d/epel.repo file and
set enabled=0.  Then when you want something from there, add
--enablerepo=epel on the yum command line when you install or update
specific packages.  Most other 3rd party repos are not as careful about
conflicts and are more dangerous to leave enabled for updates.


Just to add as an FYI, RPM Fusion's EPEL repository does not supply
packages that are already in Fedora's EPEL or RHEL base packages. AT
RPMS doesn't have a problem with providing duplicate packages.

Richard

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net ([email]BackupPC-users < at > lists.sourceforge.net[/email])
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/




Post backup failed (cant find Compress::Zlib) 
On Mon, Feb 6, 2012 at 12:11 PM, Estanislao López Morgan
<estanux < at > gmail.com> wrote:
Thanks a lot, boys... I tried to all solutions but reinstall CentOS minimal.
I think that I could have made some mix between packages rpm and cpan. I
going to follow Timothy J Massey  steps, but in a i386 arquitecture, because
this is what I have (saddly).
Have anyone  ever try that kind of packages from EPEL ?

I don't have a EL box handy but I did manage to install the stock
BackupPC 3.2.1 from Fedora EPEL into a mock CentOS 6 environment.
Although it's not a full system it does have to do all of the same RPM
dependency solving and I didn't have any issues.

Richard

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post backup failed (cant find Compress::Zlib) 
Here's the tail end of my yum transaction if you're curious to see
what packages are needed:


Installed:
BackupPC.x86_64 0:3.2.1-6.el6

Dependency Installed:
apr.x86_64 0:1.3.9-3.el6_1.2
apr-util.x86_64 0:1.3.9-3.el6_0.1
apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1
checkpolicy.x86_64 0:2.0.22-1.el6
dbus-glib.x86_64 0:0.86-5.el6
httpd.x86_64 0:2.2.15-15.el6.centos
httpd-tools.x86_64 0:2.2.15-15.el6.centos
libselinux-utils.x86_64 0:2.0.94-5.2.el6
libsemanage.x86_64 0:2.0.43-4.1.el6
libtalloc.x86_64 0:2.0.1-1.1.el6
libtdb.x86_64 0:1.2.1-3.el6
mailcap.noarch 0:2.1.31-2.el6
perl-Archive-Zip.noarch 0:1.30-2.el6
perl-CGI.x86_64 0:3.51-119.el6_1.1
perl-Class-Singleton.noarch 0:1.4-6.el6
perl-Compress-Raw-Zlib.x86_64 0:2.023-119.el6_1.1
perl-Compress-Zlib.x86_64 0:2.020-119.el6_1.1
perl-DateTime.x86_64 1:0.5300-1.el6
perl-DateTime-Format-Mail.noarch 0:0.3001-6.el6
perl-DateTime-Format-W3CDTF.noarch 0:0.04-8.el6
perl-File-RsyncP.x86_64 0:0.68-6.el6
perl-HTML-Parser.x86_64 0:3.64-2.el6
perl-HTML-Tagset.noarch 0:3.20-4.el6
perl-IO-Compress-Base.x86_64 0:2.020-119.el6_1.1
perl-IO-Compress-Zlib.x86_64 0:2.020-119.el6_1.1
perl-List-MoreUtils.x86_64 0:0.22-10.el6
perl-Net-FTP-AutoReconnect.noarch 0:0.3-3.el6
perl-Net-FTP-RetrHandle.noarch 0:0.2-3.el6
perl-Params-Validate.x86_64 0:0.92-3.el6
perl-Time-modules.noarch 0:2006.0814-5.el6
perl-URI.noarch 0:1.40-2.el6
perl-XML-Parser.x86_64 0:2.36-7.el6
perl-XML-RSS.noarch 0:1.45-2.el6
perl-libwww-perl.noarch 0:5.833-2.el6
policycoreutils.x86_64 0:2.0.83-19.18.el6
redhat-logos.noarch 0:60.0.14-10.el6.centos
rsync.x86_64 0:3.0.6-5.el6_0.1
samba-client.x86_64 0:3.5.10-114.el6
samba-common.x86_64 0:3.5.10-114.el6
samba-winbind-clients.x86_64 0:3.5.10-114.el6
ustr.x86_64 0:1.0.4-9.1.el6


Richard

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post backup failed (cant find Compress::Zlib) 
On Tue, Feb 7, 2012 at 2:12 AM, Richard Shaw <hobbes1069 < at > gmail.com ([email]hobbes1069 < at > gmail.com[/email])> wrote:
Here's the tail end of my yum transaction if you're curious to see what packages are needed:

Have you tried from a clean slate? I'd recommend starting with a complete from-scratch install via the netinstall and the "minimal" option, get all the underlying pre-requisites setup and working properly (SSH, rsync/tar/SMB etc), focus on setting up the yum-repo config, perhaps testing that with something small and unrelated, first, and only then bringing BPC into the picture.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB