Results 1 to 9 of 9

Thread: Problem installing on Ubuntu

  1. #1
    fordprefect is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    Default Problem installing on Ubuntu

    Hi,

    I am trying to install zimbra OpenSource 5.0.4 on a VPS running Ubuntu 6.06.2 LTS. I am logged in as root.
    it gives me the following error:
    .......................................
    Installing packages

    zimbra-core......zimbra-core_5.0.4_GA_2101.UBUNTU6_i386.deb...*** glibc detected *** free(): invalid pointer: 0xb7e71310 ***
    FAILED
    ###ERROR###
    ...................................

    Anybody an idea what the problem might be?

    Thanks and greetings!

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Welcome to the forums

    Have you installed all the perquisites according to the following documentation Ubuntu 6.06 Server (Dapper Drake) Beginner's Install Guide - Zimbra :: Wiki ?

  3. #3
    fordprefect is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    Default

    thanks!

    yep, did all that. DNS is fine, MX is configured and I got all the packages. Below you find the log of that.

    Greetings!

    ...................................
    apt-get install ca-certificates curl fetchmail gcc-3.3-base gettext libcurl3 libexpat1 libgmp3c2 libidn11 libpcre3 libstdc++5 libxml2 openssl perl perl-doc perl-modules sgml-base xml-core
    Reading package lists... Done
    Building dependency tree... Done
    ca-certificates is already the newest version.
    fetchmail is already the newest version.
    gettext is already the newest version.
    libcurl3 is already the newest version.
    libexpat1 is already the newest version.
    libidn11 is already the newest version.
    libpcre3 is already the newest version.
    libxml2 is already the newest version.
    openssl is already the newest version.
    perl is already the newest version.
    perl-modules is already the newest version.
    sgml-base is already the newest version.
    Suggested packages:
    groff debhelper
    The following NEW packages will be installed:
    curl gcc-3.3-base libgmp3c2 libstdc++5 perl-doc xml-core
    0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
    Need to get 8155kB of archives.
    After unpacking 14.6MB of additional disk space will be used.
    Get:1 ftp://ftp.hosteurope.de dapper-security/main curl 7.15.1-1ubuntu2.1 [168kB]
    Get:2 ftp://ftp.hosteurope.de dapper/main gcc-3.3-base 1:3.3.6-10 [150kB]
    Get:3 ftp://ftp.hosteurope.de dapper/main libgmp3c2 4.1.4-11ubuntu2 [312kB]
    Get:4 ftp://ftp.hosteurope.de dapper/main libstdc++5 1:3.3.6-10 [296kB]
    Get:5 ftp://ftp.hosteurope.de dapper-security/main perl-doc 5.8.7-10ubuntu1.1 [7208kB]
    Get:6 ftp://ftp.hosteurope.de dapper/main xml-core 0.09 [21.4kB]
    Fetched 8155kB in 1s (4758kB/s)
    Selecting previously deselected package curl.
    (Reading database ... 53659 files and directories currently installed.)
    Unpacking curl (from .../curl_7.15.1-1ubuntu2.1_i386.deb) ...
    Selecting previously deselected package gcc-3.3-base.
    Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-10_i386.deb) ...
    Selecting previously deselected package libgmp3c2.
    Unpacking libgmp3c2 (from .../libgmp3c2_4.1.4-11ubuntu2_i386.deb) ...
    Selecting previously deselected package libstdc++5.
    Unpacking libstdc++5 (from .../libstdc++5_1%3a3.3.6-10_i386.deb) ...
    Selecting previously deselected package perl-doc.
    Unpacking perl-doc (from .../perl-doc_5.8.7-10ubuntu1.1_all.deb) ...
    Adding `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
    Selecting previously deselected package xml-core.
    Unpacking xml-core (from .../archives/xml-core_0.09_all.deb) ...
    Setting up curl (7.15.1-1ubuntu2.1) ...
    Setting up gcc-3.3-base (3.3.6-10) ...
    Setting up libgmp3c2 (4.1.4-11ubuntu2) ...

    Setting up libstdc++5 (3.3.6-10) ...

    Setting up perl-doc (5.8.7-10ubuntu1.1) ...

    Setting up xml-core (0.09) ...

  4. #4
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    Try putting this in your /etc/profile
    export MALLOC_CHECK_=1

  5. #5
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    I'm shying away from recommending running like that as a permanent fix because it's technically slower & memory leaks can result; by setting it to 1 it will continue while still spitting out the error, 0 will just totally ignore. Hopefully we'll be able to recreate your environment; but I'll make a small wager that virtual private server doesn't have much RAM, or it's shared/burst RAM as opposed to dedicated? (Provider & package/plan you're on would be useful info.)

  6. #6
    fordprefect is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    Default

    Hi thanks for the help, I also checked with my provider and it seems it reached the RAM hardlimit, which is 1GB. I just upgraded to 2GB and will try again and let you know.

  7. #7
    fordprefect is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    Default

    Hi again,

    now the system runs on 2 GB ram (on a vps) and I get almost to the end of the installation before I get the ***glibc detected**** again.
    The installation continues till the end though, and I also get the "Configuration complete - press return to exit"

    However I am not able to conncet to zimbra at all, neither on port 80 nor on port 7071.
    Any idea?

    Also I am wondering whether there is any way to tell zimbra there are only 2 GB available, cause my guess is, that it sees more in the hardware, but since it is a VPS it can only access a part of it, that might cause confusion (I already installed it on a zimbra with only 256 MB RAM succesfully!)

    Thanks!

  8. #8
    fordprefect is offline Junior Member
    Join Date
    Apr 2008
    Posts
    5
    Rep Power
    7

    Default thats the story so far:

    ok, the error resulted form too little usable RAM (1GB dedicated/ 2 GB burst).
    I managed to install zimbra, disabeling the option "start servers". The installation is successfull now, no error.
    Starting the servers however is too much for the server. I found several threads explaining how I can modify the resources available, see here. For me the follwoing happens (unaltered values directly after installation):

    zimbra@zimbra:~$ zmlocalconfig |grep mem
    data_source_max_literal_mem_size = 2097152
    mailboxd_java_heap_memory_percent = 18
    mysql_memory_percent = 19
    which seems alright, still it fails when I start the servers (during the start of "mailbox").
    I tried altering the percentage used for java:

    zimbra@zimbra:~$ zmlocalconfig mailboxd_java_heap_memory_percent "12"
    Warning: null valued key '12'
    mailboxd_java_heap_memory_percent = 18
    Anybody an idea how to proceed with that?

    Thanks for the help!

  9. #9
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Code:
    zmlocalconfig -e mailboxd_java_heap_memory_percent=12
    Wiki is your friend Performance Tuning - JVM Options
    Last edited by uxbod; 04-08-2008 at 12:08 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 14
    Last Post: 05-30-2013, 01:47 PM
  2. Error installing version 5.0 in Ubuntu 6.06
    By frosich in forum Installation
    Replies: 5
    Last Post: 09-20-2008, 12:06 AM
  3. Problem installing Desktop on Ubuntu
    By azeem in forum Installation Help
    Replies: 2
    Last Post: 05-29-2007, 06:04 AM
  4. Problem installing on Ubuntu
    By snuffelt in forum Installation
    Replies: 3
    Last Post: 03-01-2007, 03:09 PM
  5. Problem installing Zimbra in Ubuntu
    By alexmc in forum Installation
    Replies: 3
    Last Post: 01-12-2007, 09:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •