Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Anybody install Zimbra onto openvz or virtuozzo

  1. #1
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default Anybody install Zimbra onto openvz or virtuozzo

    Hello,

    I love the Zimbra project, great work guys.

    I've installed it onto 3 physical machines without much trouble, now I'm testing it with a Virtual Server.

    We are currently using OpenVZ (OpenSource version of Virtuozzo)

    I've tried installing Zimbra V2 onto a couple CentOS Virtual servers, and both times I get this error when installing.

    from /tmp/installog...

    Preparing packages for installation...
    zimbra-core-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbra.cf.in: No such file or directory
    Could not create the Java virtual machine.
    /opt/zimbra/bin/zmshutil: line 50: Error: command not found
    Preparing packages for installation...
    zimbra-ldap-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbraldap.cf: No such file or directory
    Preparing packages for installation...
    zimbra-logger-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbralogger.cf: No such file or directory
    Preparing packages for installation...
    zimbra-mta-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbramta.cf: No such file or directory
    Preparing packages for installation...
    installing package zimbra-snmp-3.0.0_M2_740.RHEL4-20051114171614 needs 6MB on the / filesystem


    I think it may have something to do with how Zimbra installation is addressing the filesystem. I know this is beyond the normal setup, but if anyone has experience with OpenVZ/Zimbra, help would be much appreciated.

    Thanks

  2. #2
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    After reading the forums for OpenVZ it seems this may be a result if the disk quotas are not configured for the virtual server.

    I've set the disk quota for 50Gigs for the virtual server.

    This gets the Zimbra installation further, but it still stops at the installation.

    Preparing packages for installation...
    zimbra-core-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbra.cf.in: No such file or directory
    Could not create the Java virtual machine.
    /opt/zimbra/bin/zmshutil: line 50: Error: command not found
    Preparing packages for installation...
    zimbra-ldap-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbraldap.cf: No such file or directory
    Preparing packages for installation...
    zimbra-logger-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbralogger.cf: No such file or directory
    Preparing packages for installation...
    zimbra-mta-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbramta.cf: No such file or directory
    Preparing packages for installation...
    zimbra-snmp-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbrasnmp.cf: No such file or directory
    Preparing packages for installation...
    zimbra-store-3.0.0_M2_740.RHEL4-20051114171614
    cat: /opt/zimbra/zimbramon/zimbramail.cf: 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.
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    error: %post(zimbra-store-3.0.0_M2_740.RHEL4-20051114171614.i386) scriptlet failed, exit status 1

  3. #3
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    There is deff space avalible

    Blocks: Total: 12500000 Free: 12423293 Available: 12423293 Size: 4096
    Inodes: Total: 900000 Free: 881528

  4. #4
    exothermic is offline Intermediate Member
    Join Date
    Nov 2005
    Posts
    20
    Rep Power
    9

    Default

    This is more of a memory area, issue. I'm not sure about openvz, but I just scaled my virturozo VE and it fixed this issue.
    Last edited by exothermic; 11-24-2005 at 02:07 AM.

  5. #5
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    Thankyou for your reply.

    I think you are right, it prob is a memory issue. You say you scaled your server? Does this distribute the memory equally to each virtual machine or on demand? How did you do this?

    I realize this is not in the scope of Zimbra, but any information provided can help people down the same road in the future.

    Thanks!

  6. #6
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    I'm such an idiot some times, just checked the memory on the physical server that I'm testing on. It's only got 256mb ! I thought it was 2GB.

    No wonder zimbra won't install !

  7. #7
    exothermic is offline Intermediate Member
    Join Date
    Nov 2005
    Posts
    20
    Rep Power
    9

    Default

    You are also going to run into the NPTL problem unless you compile bdb from scratch, if you do, I would love to know how you did it. Also what distro are you installing this on?

  8. #8
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    Ok, I'm trying to set this up again on a faster server.

    this time it's a 3Ghz+ Cpu /w 2GB Ram & 300 GB HD (Raid5)

    Running CentOS 4.2 as the base OS and then a virtual server with CentOS 4.2 as well.

    I've setup the disk quota with 150GB allocated to the Zimbra virtal server and 1GB of RAM.

    Installed a clean copy of Zimbra Beta3 M4 and it looks like there wasn't any errors.

    The problem I'm having is "Mailbox" is not starting, even though it says it is after a zmcontrol start. Seems to be just like this other posting,
    Mailbox and logger not starting - SLES9 M3 Beta436

  9. #9
    mintra is offline Special Member
    Join Date
    Nov 2005
    Location
    UK
    Posts
    117
    Rep Power
    9

    Default

    # su - zimbra -c"zmcontrol status"

    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    mta Running
    snmp Running
    spell Running

    ------

    su - zimbra -c"zmcontrol stop"
    Host 201.thescarmantrust.org
    Stopping antispam...Done
    Stopping antivirus...Done
    Stopping ldap...Done
    Stopping logger...Done
    Stopping mailbox...Done
    Stopping mta...FAILED
    /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/sbin/saslauthd: no process killed


    Stopping snmp...Done
    Stopping spell...Done
    ------------------

    I think it is a memory and MySQL Issue

    /opt/zimbra/log/mysqld.log

    060202 16:07:27 mysqld started
    060202 16:07:27 InnoDB: Fatal error: cannot allocate 633356288 bytes of
    InnoDB: memory with malloc! Total allocated memory
    InnoDB: by InnoDB 4878496 bytes. Operating system errno: 12
    InnoDB: Cannot continue operation!
    InnoDB: Check if you should increase the swap file or
    InnoDB: ulimits of your operating system.
    InnoDB: On FreeBSD check you have compiled the OS with
    InnoDB: a big enough maximum process size.
    InnoDB: Fatal error: cannot allocate the memory for the buffer pool
    060202 16:07:27 [ERROR] Can't init databases
    060202 16:07:27 [ERROR] Aborting

    060202 16:07:27 [Note] /opt/zimbra/mysql/bin/mysqld: Shutdown complete

    060202 16:07:28 mysqld ended

    060202 16:10:46 mysqld started
    060202 16:10:46 InnoDB: Started; log sequence number 0 77845
    /opt/zimbra/mysql/bin/mysqld: ready for connections.
    Version: '4.1.10a-standard-log' socket: '/opt/zimbra/db/mysql.sock' port: 7306 MySQL Community Edition - Standard (GPL)
    A mysqld process already exists at Thu Feb 2 16:11:46 GMT 2006

  10. #10
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Seems there is something wrong still... Any reason you just don't install Zimbra on a machines primary OS? In general most people havn't had good success with virtual machines.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. QUE Failure
    By tbullock in forum Administrators
    Replies: 31
    Last Post: 07-30-2008, 12:17 PM
  2. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  3. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  4. Mail logs
    By Rick Baker in forum Installation
    Replies: 8
    Last Post: 01-17-2006, 04:33 PM
  5. OS X Server 10.4.3 install issues
    By jono in forum Installation
    Replies: 10
    Last Post: 11-22-2005, 09:43 PM

Posting Permissions

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