#1  
Old 6th November 2008, 09:19
Paladinemishakal Paladinemishakal is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Default 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.
Reply With Quote
Sponsored Links
  #2  
Old 7th November 2008, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Open /etc/apt/apt.conf and put the following line into it:
Code:
APT::Cache-Limit "100000000";
Then run
Code:
apt-get update
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th November 2008, 09:54
Paladinemishakal Paladinemishakal is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
 
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zivios Ubuntu howto - Openldap installation problem vcorreia HOWTO-Related Questions 3 24th September 2008 15:21
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
mysql problem during installation kenlec Installation/Configuration 1 10th December 2007 21:52
Installation of ISPConfig problem mcroteau105 Installation/Configuration 2 14th May 2007 21:38
Installation Problem _InFeCtOr Installation/Configuration 5 8th August 2005 15:34


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


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