Results 1 to 8 of 8

Thread: Installing Zimbra on VPS

  1. #1
    mkolbjor is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Question Installing Zimbra on VPS

    Hi all, first I'd like to say that Zimbra is a really awsome product, keep up the good work!

    I'm trying to install Zimbra on a VPS, which of course is difficult. I've googled for hours on all sorts tweaks and hacks to get in installed properly, but still no go

    I have a VPS on euroVPS, with 512 MB guaranteed and 1024 MB burst RAM. Only planning on running it with less than 10 users. But I can't get it to install properly, which is odd when I see people running Zimbra with 256 MB ram?

    The install goes well all until the end, I'll paste part of the log from where things start to go wrong, of course the java is acting up:

    Code:
    *** Running as zimbra user: /opt/zimbra/bin/zmprov -l mcf zimbraComponentAvailable ''
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    *** Running as zimbra user: zmlocalconfig -u trial_expiration_date
    Error: key trial_expiration_date is not set
    Notification skipped
    Starting servers...
    *** Running as zimbra user: /opt/zimbra/bin/zmcontrol start
    Host e-post.cc
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    done.
    checking isEnabled zimbra-store
    zimbra-store is enabled
    Checking for deprecated zimlets...
    Getting local config zimbra_ldap_password
    ldap bind done for uid=zimbra,cn=admins,cn=zimbra
    processing ldap search results
    done.
    Installing zimlets...
    
            com_zimbra_cert_manager
    *** Running as zimbra user: /opt/zimbra/bin/zmzimletctl -l deploy zimlets/com_zimbra_cert_manager.zip
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    
    [...]
    From what I can tell, because the initial LDAP VM fails, then the rest fails too. Java is a hungry thing, looks at the server's total amount of RAM, but as far as I have read, I can limit how much memory it consumes at a time.

    Is there anything I can do (except getting more RAM heh) to hack it? Send in some paramaters? Compile it myself? Install manually? install parts at a time?

    I appreciate any help, would love to get it working, I'll even make a how-to if I do

  2. #2
    mkolbjor is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Unhappy

    I've managed to get the installer to complete, if I chose "no" on the "start servers after install" option, but then the Tomcat acts up, it doesn't get installed and nothing works. Isin't it possible to run a command to do do those tasks afterards which would have been done if I chose to start the server in the script?

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,491
    Rep Power
    56

    Default

    You are way below the required RAM for a Zimbra installation that's why you are getting problems. We recommend 2GB for a working production server, increase the RAM on your VPS and that should remove the problems.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    konrad is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    23
    Rep Power
    9

    Default

    Quote Originally Posted by phoenix View Post
    You are way below the required RAM for a Zimbra installation that's why you are getting problems. We recommend 2GB for a working production server, increase the RAM on your VPS and that should remove the problems.
    Personally I had no issues at all installing 4.5.x 32bit with only 576 MB of RAM. It's also running quit well (not much swapping) as long as you reduce the number of amavis and apache processes. But then it all depends on the number of users you have...

    Maybe you could check these:
    - make sure you're using 32bit OS (64bit is more memory hungry)
    - temporarly increase the amount of ram on your VPS just to install
    - install 4.5 then upgrade to 5.0, or just stay with 4.5

  5. #5
    mkolbjor is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default

    Quote Originally Posted by phoenix View Post
    You are way below the required RAM for a Zimbra installation that's why you are getting problems. We recommend 2GB for a working production server, increase the RAM on your VPS and that should remove the problems.
    Wish I could get more RAM, but how come people run it with 512 MB RAM?

  6. #6
    mkolbjor is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default

    Quote Originally Posted by konrad View Post
    Personally I had no issues at all installing 4.5.x 32bit with only 576 MB of RAM. It's also running quit well (not much swapping) as long as you reduce the number of amavis and apache processes. But then it all depends on the number of users you have...

    Maybe you could check these:
    - make sure you're using 32bit OS (64bit is more memory hungry)
    - temporarly increase the amount of ram on your VPS just to install
    - install 4.5 then upgrade to 5.0, or just stay with 4.5
    - I am using 32bit
    - euroVPS won't do that
    - Tried with 4.5 still same problem

    I can run without antivirus, antispam, but they are started by default and eats like 1/3 of my system, also did not install Logger.

  7. #7
    mkolbjor is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default

    I have 2 VPS accounts, can't I put the LDAP server on one and the rest on the other?

  8. #8
    phvt is offline Member
    Join Date
    Jan 2008
    Posts
    10
    Rep Power
    7

    Default

    Quote Originally Posted by mkolbjor View Post
    I can run without antivirus, antispam, but they are started by default and eats like 1/3 of my system, also did not install Logger.
    My Zimbra 5.0 test server is a VPS similar to yours at another provider. It works fine. I would absolutely use the menu-driven installation to disable AV/AS startup--just look through the menu and toggle those off. I do have logger running, but I think I need to axe that to stay below 500Mb. Good luck!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. upgrade woes -made into new thread
    By JustinHarlow in forum Installation
    Replies: 18
    Last Post: 06-08-2007, 12:11 PM
  3. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  4. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  5. zimbra-core missing
    By kinaole in forum Developers
    Replies: 1
    Last Post: 10-02-2006, 11:59 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
  •