Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-2008, 04:49 AM
Junior Member
 
Posts: 5
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!
Reply With Quote
  #2 (permalink)  
Old 04-03-2008, 05:04 AM
Moderator
 
Posts: 7,928
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 ?
__________________
Reply With Quote
  #3 (permalink)  
Old 04-03-2008, 05:22 AM
Junior Member
 
Posts: 5
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) ...
Reply With Quote
  #4 (permalink)  
Old 04-03-2008, 09:26 PM
Moderator
 
Posts: 6,237
Default

Try putting this in your /etc/profile
export MALLOC_CHECK_=1
Reply With Quote
  #5 (permalink)  
Old 04-03-2008, 09:43 PM
Moderator
 
Posts: 6,237
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.)
Reply With Quote
  #6 (permalink)  
Old 04-04-2008, 12:20 AM
Junior Member
 
Posts: 5
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.
Reply With Quote
  #7 (permalink)  
Old 04-04-2008, 06:17 AM
Junior Member
 
Posts: 5
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!
Reply With Quote
  #8 (permalink)  
Old 04-07-2008, 01:57 PM
Junior Member
 
Posts: 5
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):

Quote:
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:

Quote:
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!
Reply With Quote
  #9 (permalink)  
Old 04-08-2008, 12:06 AM
Moderator
 
Posts: 7,928
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..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.