Error al actualizar

  • Cada vez que intento actualizar el sistema me da el error de clamav-milter, y no puedo ni actualizar el sistema (Debian Wheezy) ni el panel que estoy en la version 1.1.13, todo fue a raiz del plugin de clamav


    Esto muestra al ejecutar perl imscp-autoinstall


    [ERROR]


    autoinstaller::Adapter::DebianAdapter::installPreRequiredPackages: Reading package lists...
    Building dependency tree...
    Reading state information...
    aptitude is already the newest version.
    debconf-utils is already the newest version.
    dialog is already the newest version.
    liblist-moreutils-perl is already the newest version.
    libxml-simple-perl is already the newest version.
    resolvconf is already the newest version.
    rsync is already the newest version.
    wget is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up clamav-milter (0.98.7+dfsg-0+deb7u1) ...
    clamav-milter: Can not continue with PidFile not set ... failed!
    invoke-rc.d: initscript clamav-milter, action "start" failed.
    dpkg: error processing clamav-milter (--configure):
    subprocess installed post-installation script returned error exit status 6
    Errors were encountered while processing:
    clamav-milter
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    iMSCP::Debug::END: Exit code: 100

  • @mrpink


    Can you help here?


    @Puntonetsvb


    Be aware that normally, we don't give support for older i-MSCP series.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Please execute

    Code
    1. apt-get purge clamav-milter
    2. apt-get install clamav-milter

    and then please try again.

  • apt-get purge clamav-milter


    dpkg: error al procesar clamav-milter (--purge):
    El paquete está en un estado muy malo e inconsistente - debe reinstalarlo
    antes de intentar desinstalarlo.
    Se encontraron errores al procesar:
    clamav-milter
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Try this and if you get any errors, please post them here:


    Code
    1. apt-get -f install
  • Something on your system is broken.


    If you want I could check and fix it, just send me the credentials via PM.

  • Muchas gracias a mrpink por su inestimable ayuda, me solucionaste el problema, pero al actualizar, a 1.1.22 (a las de la versión 1.2.* me tiraba un error y no para probar actualice a esta, al editar un dominio me tira:


    Dear admin,An exception has been thrown in file/var/www/imscp/gui/library/iMSCP/Config/Handler.php at line 87:=================================================================Configuration variable `PHPINI_ALLOW_URL_FOPEN` is missing.=================================================================Debug backtrace:---------------File: /var/www/imscp/gui/library/iMSCP/Config/Handler.php at line 74Method: iMSCP_Config_Handler::get()File: /var/www/imscp/gui/library/iMSCP/PHPini.php at line 146Method: iMSCP_Config_Handler::__get()File: /var/www/imscp/gui/library/iMSCP/PHPini.php at line 99Method: iMSCP_PHPini::loadDefaultData()File: /var/www/imscp/gui/library/iMSCP/PHPini.php at line 129Method: iMSCP_PHPini::__construct()File: /var/www/imscp/gui/public/reseller/domain_edit.php at line 253Method: iMSCP_PHPini::getInstance()File: /var/www/imscp/gui/public/reseller/domain_edit.php at line 1145Function: reseller_getData()

  • @Puntonetsvb


    With 1.2.x, you cannot get such error because the PHPINI_ALLOW_URL_FOPEN variable has been removed. Even more, the
    /var/www/imscp/gui/public/reseller/domain_edit.php file has only 1083 lines in 1.2.x ;) I don't know how you have updated but for sure, you don't use 1.2.x.


    @mrpink What you have done exactly?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206