HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   HAProxy Installation problem (http://www.howtoforge.com/forums/showthread.php?t=28465)

Paladinemishakal 6th November 2008 09:19

HAProxy Installation problem
 
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.

falko 7th November 2008 12:51

Open /etc/apt/apt.conf and put the following line into it:
Code:

APT::Cache-Limit "100000000";
Then run
Code:

apt-get update

Paladinemishakal 11th November 2008 09:54

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.


All times are GMT +2. The time now is 15:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.