HAProxy Installation problem

Discussion in 'Installation/Configuration' started by Paladinemishakal, Nov 6, 2008.

  1. Paladinemishakal

    Paladinemishakal New Member

    Hi,

    I am installing HAProxy on Debian Etch and got this error when trying to get the packages from Lenny.

    ----------------------------------------------------------------------
    sudo apt-get update
    Get:1 http://ftp2.de.debian.org etch Release.gpg [386B]
    Get:2 http://ftp2.de.debian.org lenny Release.gpg [189B]
    Get:3 http://security.debian.org etch/updates Release.gpg [189B]
    Get:4 http://ftp2.de.debian.org etch Release [58.2kB]
    Hit http://security.debian.org etch/updates Release
    Ign http://security.debian.org etch/updates/main Packages/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
    Ign http://security.debian.org etch/updates/main Sources/DiffIndex
    Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
    Hit http://ftp2.de.debian.org lenny Release
    Hit http://security.debian.org etch/updates/main Packages
    Hit http://security.debian.org etch/updates/contrib Packages
    Hit http://security.debian.org etch/updates/main Sources
    Get:5 http://ftp2.de.debian.org etch/main Packages [4284kB]
    Hit http://security.debian.org etch/updates/contrib Sources
    Get:6 http://ftp2.de.debian.org etch/main Sources [1218kB]
    Hit http://ftp2.de.debian.org lenny/main Packages/DiffIndex
    Fetched 5561kB in 32s (169kB/s)
    Reading package lists... Error!
    E: Dynamic MMap ran out of room
    E: Error occurred while processing wackamole (NewVersion1)
    E: Problem with MergeList /var/lib/apt/lists/ftp2.de.debian.org_debian_dists_lenny_main_binary-i386_Packages
    E: The package lists or status file could not be parsed or opened.
    ----------------------------------------------------------------------

    This is my apt sources.list
    ------------------------------------------------------------
    deb http://ftp2.de.debian.org/debian/ etch main
    deb-src http://ftp2.de.debian.org/debian/ etch main

    deb http://ftp2.de.debian.org/debian/ lenny main

    deb http://security.debian.org/ etch/updates main contrib
    deb-src http://security.debian.org/ etch/updates main contrib
    -------------------------------------------------------------

    This is my apt preferences
    ----------------------------
    Package: *
    Pin: release a=etch
    Pin-Priority: 700

    Package: *
    Pin: release a=lenny
    Pin-Priority: 650
    ----------------------------

    Can I still proceed with the HAProxy installation according to the instruction? What is the problem with the error?

    Regards.
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Open /etc/apt/apt.conf and put the following line into it:
    Code:
    APT::Cache-Limit "100000000";
    Then run
    Code:
    apt-get update
     
  3. Paladinemishakal

    Paladinemishakal New Member

    HAProxy + Nginx

    Hi Falko,

    Thanks for the info. I ended up building HAProxy from souce :) and following your tutorial after that. Great tutorial you have there.

    From your tutorial, you make use of Apache2. As I am also looking at using Nginx to replace Apache2, I found out that the Nginx does not have the ability to exclude the logging of the "check.txt" done by HAProxy. Does anyone know how do I work around this issue? Beside the fact that I still want logging to be enabled but without the constant logging of the "checks" from HAProxy.

    Regards.
     

Share This Page