[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: configuracion de vpopmail



* Cuenta la leyenda que Andres Ovalle [kill-9@ns] rm  -rf / (kill-9@blueplanet.cl) escribió:
> Starting vchkpw pop daemon: qmail-pop3/etc/init.d/vchkpw: xrealloc:
> /home/packages/bash/bash-2.05b/print_cmd.c:1156: cannot reallocate 256
> bytes (0 bytes allocated)
> dpkg: error processing vchkpw (--configure):
>  subprocess post-installation script returned error exit status 2
> Errors were encountered while processing:
>  vchkpw
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> metal:~# 
> 
> luego de eso mire en /etc/init.d el archivo de inicializacion vchkpw
> pero no encuentro el error, igual hice lo que sale ahi puse dpkg
> --configure vchkpw y me salio lo siguiente...
> 
> metal:~# dpkg --configure vchkpw
> Setting up vchkpw (3.1.2-11) ...
> Starting vchkpw pop daemon: qmail-pop3sh: error while loading shared
> libraries: libc.so.6: failed to map segment from shared object: Cannot
> allocate memory
> .

Yo lo he "solucionado" de una manera bastaaante fea, tocando el
script de inicio (/etc/init.d/vchkpw)

..
case "$1" in
  start)
    echo -n "Starting vchkpw pop daemon: qmail-pop3"
# vvvvvvvvvvvvvvvvvvvvvv
    ulimit -v 4096
# ^^^^^^^^^^^^^^^^^^^^^^
    sh -c "start-stop-daemon --start --quiet --user root \
        --exec $DAEMON -- \
        -H -R 0 pop-3 \
        /usr/sbin/qmail-popup "$HOSTNAME" /usr/sbin/vchkpw \
        /usr/sbin/qmail-pop3d Maildir &"
    echo "."
    ;;
..

Fijate si asi te anda....

En realidad me considero lo suficientemente burro como para no
considerar esto un bug y si un problema de configuracion mia, si alguien
aporta con una verdadera solucion, por favor posteen!!

-- 
Saludos,

Germán



Reply to: