List Info

Thread: can not restart with zlib error




can not restart with zlib error
user name
2008-03-12 20:18:35
I have amavisd since long time ago,
today, I've altered some x-spam tag values in
/etc/amavisd.conf;
when I tried to restart, I get this error:

how do I reinstall zlib ??
how it went missing...?

# service amavisd status
amavisd (pid 19876 19734 2671) is running...
amavis-milter is stopped

# service amavisd restart
Shutting down Mail Virus Scanner (amavisd):                [
 OK  ]
Starting Mail Virus Scanner (amavisd): ERROR: MISSING
REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.
                                                          
[FAILED]
# service amavisd start
Starting Mail Virus Scanner (amavisd): ERROR: MISSING
REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.
                                                          
[FAILED]
# service amavisd stop
Shutting down Mail Virus Scanner (amavisd):               
[FAILED]

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.


-- 
Voytek


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
user name
2008-03-12 20:21:11
On Thu, March 13, 2008 12:18 pm, Voytek Eymont wrote:


I've tried updating zlib as follows, but, no luck:

----
# rpm -Uvh perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
Preparing...               
###########################################
[100%]
   1:perl-Compress-Raw-Zlib
###########################################
[100%]
# amavisd --debug
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.
# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.

uname -a
Linux  2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007 i686
i686



-----

-- 
Voytek


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
user name
2008-03-12 20:57:25
Voytek,

Voytek Eymont wrote:
> On Thu, March 13, 2008 12:18 pm, Voytek Eymont wrote:
> 
> I've tried updating zlib as follows, but, no luck:
> 
> # rpm -Uvh
perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
> Preparing...               
###########################################
> [100%]
>    1:perl-Compress-Raw-Zlib
###########################################
> [100%]
> # amavisd --debug
> ERROR: MISSING REQUIRED BASIC MODULES:
>   Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.
> # amavisd --version
> ERROR: MISSING REQUIRED BASIC MODULES:
>   Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.
> 
> uname -a
> Linux  2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007
i686 i686

Make sure to also update perl-Scalar-List-Utils or itgs
equivalent on 
your distro.

MrC

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
country flaguser name
United States
2008-03-12 20:55:58
On Thu, 13 Mar 2008, Voytek Eymont wrote:

> # service amavisd restart
> Shutting down Mail Virus Scanner (amavisd):            
   [  OK  ]
> Starting Mail Virus Scanner (amavisd): ERROR: MISSING
REQUIRED BASIC MODULES:
>  Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.

I'd use cpan as root and do this once in cpan:

install Compress::Zlib

If it asks for prerequesites to Compress::Zlib, allow cpan
to install
it.

-- 
John Evans
Administrator of kilnar.com

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
user name
2008-03-12 21:35:40
On Thu, March 13, 2008 12:55 pm, John Evans wrote:

> I'd use cpan as root and do this once in cpan:
> install Compress::Zlib
> If it asks for prerequesites to Compress::Zlib, allow
cpan to install
> it.

thanks, John, thanks, MrC

--
 cpan> install Scalar::Util
Scalar::Util is up to date.

but when I try ZLIB, I get:

---
<<lot of stuff scrolling off followed by>>


.Use of uninitialized value in concatenation (.) or string
at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm
line 30.
t/08encoding......1/30
#     Failed test (t/08encoding.t at line 33)
#     Tried to use 'Compress::Zlib'.
#     Error:   is only avaliable with the XS version at
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib
.pm line 9
# BEGIN failed--compilation aborted at t/08encoding.t line
33.
# Compilation failed in require at (eval 33) line 2.
# BEGIN failed--compilation aborted at (eval 33) line 2.
Bareword "Compress::Zlib::zlib_version" not
allowed while "strict subs" in
use at t/08encoding.t line 40.
Bareword "ZLIB_VERSION" not allowed while
"strict subs" in use at
t/08encoding.t line 40.
Execution of t/08encoding.t aborted due to compilation
errors.
# Looks like you planned 30 tests but only ran 2.
# Looks like your test died just after 2.
t/08encoding...... Dubious, test returned 255 (wstat 65280,
0xff00)
 Failed 29/30 subtests
t/14gzopen........Use of uninitialized value in
concatenation (.) or
string at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm
line
30.
t/14gzopen........1/251
#     Failed test (t/14gzopen.t at line 25)
#     Tried to use 'Compress::Zlib'.
#     Error:   is only avaliable with the XS version at
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib
.pm line 9
# BEGIN failed--compilation aborted at t/14gzopen.t line
25.
# Compilation failed in require at (eval 33) line 2.
# BEGIN failed--compilation aborted at (eval 33) line 2.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 49.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 53.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 56.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 59.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 66.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 94.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 97.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 100.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 104.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 111.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 111.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 117.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 118.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 480.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 481.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 499.
Global symbol "$gzerrno" requires explicit package
name at t/14gzopen.t
line 502.
Bareword "Compress::Zlib::zlib_version" not
allowed while "strict subs" in
use at t/14gzopen.t line 38.
Bareword "ZLIB_VERSION" not allowed while
"strict subs" in use at
t/14gzopen.t line 38.
Bareword "Z_FINISH" not allowed while "strict
subs" in use at t/14gzopen.t
line 98.
Bareword "Z_STREAM_END" not allowed while
"strict subs" in use at
t/14gzopen.t line 110.
Bareword "Z_STREAM_END" not allowed while
"strict subs" in use at
t/14gzopen.t line 111.
Bareword "Z_STREAM_ERROR" not allowed while
"strict subs" in use at
t/14gzopen.t line 446.
Bareword "Z_STREAM_ERROR" not allowed while
"strict subs" in use at
t/14gzopen.t line 461.
Execution of t/14gzopen.t aborted due to compilation
errors.
# Looks like you planned 251 tests but only ran 3.
# Looks like your test died just after 3.
t/14gzopen........ Dubious, test returned 255 (wstat 65280,
0xff00)
 Failed 249/251 subtests
t/99pod...........ok

Test Summary Report
-------------------
t/000prereq.t (Wstat: 1024 Tests: 7 Failed: 4)
  Failed tests:  2-4, 6
  Non-zero exit status: 4
t/01version.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/03zlib-v1.t (Wstat: 65280 Tests: 4 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 402 tests but ran 4.
t/05examples.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/06gzsetp.t  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/08encoding.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 30 tests but ran 2.
t/14gzopen.t  (Wstat: 65280 Tests: 3 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 251 tests but ran 3.
Files=8, Tests=19,  2 wallclock secs ( 0.07 usr  0.02 sys + 
2.03 cusr 
0.26 csys =  2.38 CPU)
Result: FAIL
Failed 7/8 test programs. 8/19 subtests failed.
make: *** [test_dynamic] Error 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without
force
                                                            
                  cpan>

---


-- 
Voytek


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
country flaguser name
United States
2008-03-12 21:44:13
On Thu, Mar 13, 2008 at 01:35:40PM +1100, Voytek Eymont
wrote:
> On Thu, March 13, 2008 12:55 pm, John Evans wrote:
> > I'd use cpan as root and do this once in cpan:
> > install Compress::Zlib
> > If it asks for prerequesites to Compress::Zlib,
allow cpan to install
> > it.
> 
> thanks, John, thanks, MrC
> 
> --
>  cpan> install Scalar::Util
> Scalar::Util is up to date.
> 
> but when I try ZLIB, I get:
> 
> ---
> <<lot of stuff scrolling off followed by>>
> 
> .Use of uninitialized value in concatenation (.) or
string at
>
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm
line 30.
> t/08encoding......1/30
> #     Failed test (t/08encoding.t at line 33)
> #     Tried to use 'Compress::Zlib'.
> #     Error:   is only avaliable with the XS version
at
>
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib
.pm line 9
> # BEGIN failed--compilation aborted at t/08encoding.t
line 33.
> # Compilation failed in require at (eval 33) line 2.
> # BEGIN failed--compilation aborted at (eval 33) line
2.
> Bareword "Compress::Zlib::zlib_version" not
allowed while "strict subs" in
> use at t/08encoding.t line 40.
> Bareword "ZLIB_VERSION" not allowed while
"strict subs" in use at
> t/08encoding.t line 40.
> Execution of t/08encoding.t aborted due to compilation
errors.

  This sounds to me like your Compress::Zlib installation
somehow got
partially - but not completely - uninstalled.  Specifically
the error
above (under t/08encoding.t) seems to be saying that the XS
portion of
the code is missing.  CPAN is seeing it as installed
"enough" that it
doesn't try to reinstall it, but when it tries to run it as
a test it
fails.

  Try

  cpan> install Compress::Zlib

  with the "force" option (which I don't remember
the syntax for at the
moment.) 

  -- Clifton

-- 
    Clifton Royston  --  cliftonriandicomputing.com /
cliftonrlava.net
       President  - I and I Computing * http://www.iandicomput
ing.com/
 Custom programming, network design, systems and network
consulting services

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
country flaguser name
Austria
2008-03-13 01:33:29

It looks like you are running RHEL4. WHy don't you just
uninstall the perl 
module like this:

rpm -e perl-Compress-Zlib

if it won't do that use:

rpm -e --nodeps perl-Compress-Zlib

And then reinstall the package with

up2date -i perl-Compress-Zlib

or if you have the dag wieers repo:

yum install perl-Compress-Zlib


That way you stay compatible with the rest of your
installation. If you do 
want to use cpan (which is a good idea sometimes) then use
cpan2rpm for 
installing perl modules. Again that will keep your package
db in good 
order.

Hope this helps,

.peter

On Thu, 13 Mar 2008, Voytek Eymont wrote:

>
> On Thu, March 13, 2008 12:18 pm, Voytek Eymont wrote:
>
>
> I've tried updating zlib as follows, but, no luck:
>
> ----
> # rpm -Uvh
perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
> Preparing...               
###########################################
> [100%]
>   1:perl-Compress-Raw-Zlib
###########################################
> [100%]
> # amavisd --debug
> ERROR: MISSING REQUIRED BASIC MODULES:
>  Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.
> # amavisd --version
> ERROR: MISSING REQUIRED BASIC MODULES:
>  Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.
>
> uname -a
> Linux  2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007
i686 i686
>
>
>
> -----
>
> --
> Voytek
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-userlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user

> AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/ho
wto/
>

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
user name
2008-03-13 02:04:16
On Thu, March 13, 2008 5:33 pm, huetmannvioline.at wrote:

peter, thanks

> It looks like you are running RHEL4. WHy don't you just
uninstall the
> perl module like this:
> rpm -e perl-Compress-Zlib
> if it won't do that use:
> rpm -e --nodeps perl-Compress-Zlib

so far so good

> And then reinstall the package with
> up2date -i perl-Compress-Zlib
> or if you have the dag wieers repo:
> yum install perl-Compress-Zlib

yes, I use Dag Wieers rpms

> That way you stay compatible with the rest of your
installation. If you
> do want to use cpan (which is a good idea sometimes)
then use cpan2rpm for
>  installing perl modules. Again that will keep your
package db in good
> order.

but, I'm still failing....:

# rpm -e perl-Compress-Zlib
error: Failed dependencies:
        perl(Compress::Zlib) is needed by (installed)
perl-Archive-Zip-1.20-1.el4.rf.noarch
        perl(Compress::Zlib) is needed by (installed)
perl-Filter-1.34-1.el4.rf.i386
        perl(Compress::Zlib) is needed by (installed)
amavisd-new-2.5.2-1.el4.rf.i386
        perl(Compress::Zlib) >= 1.35 is needed by
(installed)
amavisd-new-2.5.2-1.el4.rf.i386

# rpm -e --nodeps perl-Compress-Zlib

# yum install perl-Compress-Zlib
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras         100% |=========================| 
951 B    00:00
update                    100% |=========================| 
951 B    00:00
base                      100% |=========================|
1.1 kB    00:00
addons                    100% |=========================| 
951 B    00:00
extras                    100% |=========================|
1.1 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages.
Please wait.
---> Downloading header for perl-Compress-Zlib to pack
into transaction set.
perl-Compress-Zlib-1.42-1 100% |=========================|
4.9 kB    00:00
---> Package perl-Compress-Zlib.i386 0:1.42-1.el4 set to
be updated
--> Running transaction check

Dependencies Resolved

============================================================
=================
 Package                 Arch       Version         
Repository        Size
============================================================
=================
Installing:
 perl-Compress-Zlib      i386       1.42-1.el4       base   
           54 k

Transaction Summary
============================================================
=================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 54 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): perl-Compress-Zlib 100% |=========================| 
54 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-Compress-Zlib          
######################### [1/1]

Installed: perl-Compress-Zlib.i386 0:1.42-1.el4
Complete!

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.
#


-- 
Voytek


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
country flaguser name
Austria
2008-03-13 02:11:15

Make sure, you hava only one Zlib.pm  in your perl folder.

i.e. something like this: (on my CentOS5)

/usr/lib/perl5/vendor_perl/5.8.8/Compress
/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autospli
t.ix


If you haev oter folders with older Compress/Zlib folders,
get rid of them 
or rename them. It looks like your amavisd is looking in the
wrong place.

It is best to only have one installation of the
perl-modules.

Hope this helps,

.peter


On Thu, 13 Mar 2008, Voytek Eymont wrote:

>
> On Thu, March 13, 2008 5:33 pm, huetmannvioline.at wrote:
>
> peter, thanks
>
>> It looks like you are running RHEL4. WHy don't you
just uninstall the
>> perl module like this:
>> rpm -e perl-Compress-Zlib
>> if it won't do that use:
>> rpm -e --nodeps perl-Compress-Zlib
>
> so far so good
>
>> And then reinstall the package with
>> up2date -i perl-Compress-Zlib
>> or if you have the dag wieers repo:
>> yum install perl-Compress-Zlib
>
> yes, I use Dag Wieers rpms
>
>> That way you stay compatible with the rest of your
installation. If you
>> do want to use cpan (which is a good idea
sometimes) then use cpan2rpm for
>>  installing perl modules. Again that will keep your
package db in good
>> order.
>
> but, I'm still failing....:
>
> # rpm -e perl-Compress-Zlib
> error: Failed dependencies:
>        perl(Compress::Zlib) is needed by (installed)
> perl-Archive-Zip-1.20-1.el4.rf.noarch
>        perl(Compress::Zlib) is needed by (installed)
> perl-Filter-1.34-1.el4.rf.i386
>        perl(Compress::Zlib) is needed by (installed)
> amavisd-new-2.5.2-1.el4.rf.i386
>        perl(Compress::Zlib) >= 1.35 is needed by
(installed)
> amavisd-new-2.5.2-1.el4.rf.i386
>
> # rpm -e --nodeps perl-Compress-Zlib
>
> # yum install perl-Compress-Zlib
> Loading "fastestmirror" plugin
> Setting up Install Process
> Setting up repositories
> kbs-CentOS-Extras         100%
|=========================|  951 B    00:00
> update                    100%
|=========================|  951 B    00:00
> base                      100%
|=========================| 1.1 kB    00:00
> addons                    100%
|=========================|  951 B    00:00
> extras                    100%
|=========================| 1.1 kB    00:00
> Loading mirror speeds from cached hostfile
> Reading repository metadata in from local files
> Parsing package install arguments
> Resolving Dependencies
> --> Populating transaction set with selected
packages. Please wait.
> ---> Downloading header for perl-Compress-Zlib to
pack into transaction set.
> perl-Compress-Zlib-1.42-1 100%
|=========================| 4.9 kB    00:00
> ---> Package perl-Compress-Zlib.i386 0:1.42-1.el4
set to be updated
> --> Running transaction check
>
> Dependencies Resolved
>
>
============================================================
=================
> Package                 Arch       Version         
Repository        Size
>
============================================================
=================
> Installing:
> perl-Compress-Zlib      i386       1.42-1.el4      
base               54 k
>
> Transaction Summary
>
============================================================
=================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 54 k
> Is this ok [y/N]: y
> Downloading Packages:
> (1/1): perl-Compress-Zlib 100%
|=========================|  54 kB    00:00
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>  Installing: perl-Compress-Zlib          
######################### [1/1]
>
> Installed: perl-Compress-Zlib.i386 0:1.42-1.el4
> Complete!
>
> # amavisd --version
> ERROR: MISSING REQUIRED BASIC MODULES:
>  Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd
line 171.
> #
>
>
> --
> Voytek
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-userlists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user

> AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/ho
wto/
>

------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: can not restart with zlib error
user name
2008-03-13 02:21:36
On Thu, March 13, 2008 1:44 pm, Clifton Royston wrote:
> On Thu, Mar 13, 2008 at 01:35:40PM +1100, Voytek Eymont
wrote:
>
>> On Thu, March 13, 2008 12:55 pm, John Evans wrote:

> cpan> install Compress::Zlib
>
> with the "force" option (which I don't
remember the syntax for at the
> moment.)

Clifton, thanks

trying:
perl -MCPAN
-e'force("install","Compress::Zlib");'

it seemed to have worked, as afterwards I get now:
                                                            
                   cpan>
install
Compress::Zlib
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 12 Mar 2008 05:30:55 GMT
Compress::Zlib is up to date.


BUT:

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line
171.
#





-- 
Voytek


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-10] [11-12]

about | contact  Other archives ( Real Estate discussion Medical topics )