Rss

  • youtube
  • linkedin
  • google

Error when starting Amavisd-new

Two days ago I'm trying to install the software for my new server that will host this blog, my personal projects and my e-mail server.
I'm using as a base this HOWTO.

I had a lot of problems in installation and in particular an error when starting Amavisd-new

Problem in Amavis::DKIM code: Can't locate Crypt/OpenSSL/RSA.pm in @INC

Googando I saw different ways to solve and no work. That's when I realized something silly, but that's making perfect sense. The packages mentioned, Perl-Mail-DKIM and perl-Crypt-OpenSSL-RSA., pointed to EL5 while the package Amavis pointed to EL6.
Checked that the DAG of rpmforge was using EL5 and correct for my Centos 6.3 was to use the DAG EL6. To correct this item and update packages, VOI-la. Everything worked beautifully.

Follow the steps to the fix

first import the key for the repository
rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
Then uninstall the current (use yum search rpmforge-release to find out the correct name of the package), Download the RPM file and make the installation.

> yum remove rpmforge-release-0.5.2-2.el5.rf.x86_64
> wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
> rpm -i rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

The last step is to synchronize the distribution, that will cause the packages to be replaced by existing in EL5 EL6.
> yum distribution-synchronization

From this point, If there is already done the installation of all packages previously, they should not show this error.

I hope it helped you.

Useful links
http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-f0c3ecee3dbb407e4eed79a56ec0ae92d1398e01

Comments (4)

  1. Olá Marcos.
    Não sei se você é o mesmo marcos desse fórum http://phpbrasil.com/phorum/read.php?1,181614

    Acontece que acabei olhando seu código e vi que você conhece muito de expressão regular em php, gostaria que você fizesse um parecido com aquele, caso saiba como, responda ao meu email, galera.org@gmail.com

    Abraços

  2. Alberto

    Bom dia Marcos,

    Também vou abusar de sua paciência! Encontrei no site phpbrasil algumas resposta suas em relação a certificação digital, percebi que você tem experiência no assunto (http://phpbrasil.com/phorum/read.php?1,179263,189979#msg-189979). Se for possível, posso lhe fazer algumas perguntas via e-mail, sobre carregamento de certificado instalado A1?

    Se for possível você poderia retornar no meu e-mail: alberto@pmibrasil.eti.br

    Agradeço a atenção.

    Abraços.

  3. Fabiano da Silva

    Olha só quero agradecer tenho aprendido muito com suas respostas no phpbrasil, toda vez que precisava tinha duvidas lá e vc ja tinha ajudado, amigo sou seu fã, abraços e obrigado por nos ajudar. abraços

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.