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 03-08-2007, 01:01 PM
Starter Member
 
Posts: 2
Default Installation fails on vServer / Debian 3.1

Hi Folks,
I'm trying to set up Zimbra in a virtual Environment with at least 256Mb RAM.
As I read in several other Threads, this seems to be very problematic.

The installation fails, when the install.sh tries to setup the Zimbra-core-deb.

Quote from the install-log:
Quote:
COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.savecon
fig/config.save
-su: line 1: zmlocalconfig: command not found
COMMAND: zmcontrol shutdown
-su: line 1: zmcontrol: command not found
Selecting previously deselected package zimbra-core.
(Reading database ... 20877 files and directories currently installed.)
Unpacking zimbra-core (from .../zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb) ...
Setting up zimbra-core (4.5.3_GA_733.DEBIAN3.1) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/s[a-su-z]*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
dpkg: error processing zimbra-core (--install):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
zimbra-core
As I found out in this Thread, it seems to be a common error on virtual Servers:
Quote:
Could not reserve enough space for object heap
Could not create the Java virtual machine.
The problem is, that I cannot modify the zmshutil file as described, because at the moment of installation it is packed in the core-deb.
Any suggestions?

I don't know how to handle this error either:
Quote:
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/s[a-su-z]*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory

Thanks for your help,

Tobias
Reply With Quote
  #2 (permalink)  
Old 03-08-2007, 01:38 PM
Zimbra Consultant & Moderator
 
Posts: 19,639
Default

Welcome to the forums.

Your memory allocation is way below the required minimum, you should increase it or you will continue to have problems.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 03-08-2007, 01:58 PM
Starter Member
 
Posts: 2
Default

That's what I worried about, but I hoped that I would be able to install Zimbra at least. Especially, because I don't need max performance, Zimbra should only be used for two or three people.

Is there a possibility to reduce the amount of needed memory _before_ installation?


Tobias
Reply With Quote
  #4 (permalink)  
Old 03-09-2007, 12:31 AM
Senior Member
 
Posts: 72
Default

Tobias,

do a 2 part install:

1. install only the software with the switch -s
2. do the necessary modifications
3. run /opt/zimbra/libexec/zmsetup.sh

In fact this is what happens in install.sh without th -s switch.

Have in mind that you nead at least 512 K available memory in the vserver. I used this with good performance on a rootds of vserver.de.

Friedmar
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.