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 (1) Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2005, 04:54 AM
Senior Member
 
Posts: 74
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
Reply With Quote
  #2 (permalink)  
Old 11-18-2005, 06:22 AM
Senior Member
 
Posts: 74
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
Reply With Quote
  #3 (permalink)  
Old 11-18-2005, 06:37 AM
Senior Member
 
Posts: 74
Default

There is deff space avalible

Blocks: Total: 12500000 Free: 12423293 Available: 12423293 Size: 4096
Inodes: Total: 900000 Free: 881528
Reply With Quote
  #4 (permalink)  
Old 11-23-2005, 12:55 AM
Intermediate Member
 
Posts: 20
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.
Reply With Quote
  #5 (permalink)  
Old 11-28-2005, 07:38 AM
Senior Member
 
Posts: 74
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!
Reply With Quote
  #6 (permalink)  
Old 11-28-2005, 07:41 AM
Senior Member
 
Posts: 74
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 !
Reply With Quote
  #7 (permalink)  
Old 11-30-2005, 10:01 AM
Intermediate Member
 
Posts: 20
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?
Reply With Quote
  #8 (permalink)  
Old 02-02-2006, 09:11 AM
Senior Member
 
Posts: 74
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,
http://www.zimbra.com/forums/showthread.php?t=1351
Reply With Quote
  #9 (permalink)  
Old 02-02-2006, 09:26 AM
Senior Member
 
Posts: 74
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
Reply With Quote
  #10 (permalink)  
Old 02-02-2006, 10:42 AM
Zimbra Employee
 
Posts: 4,784
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.
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0