Results 1 to 9 of 9

Thread: Zimbra Installation Problems --> CentOS v4 Template --> OpenVZ on CentOS v4

  1. #1
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    Angry Zimbra Installation Problems --> CentOS v4 Template --> OpenVZ on CentOS v4

    Hello,

    I am attempting to install Zimbra on a basic CentOS v4 virtual machine.

    All of the FOUND required components show up during the script.

    I get past the usual script and I get this:

    This platform is CentOS4
    Packages found: zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144.i386.rpm
    This may or may not work

    After I proceed I get this:


    zimbra-core......zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144.i386.rpm...FAILED
    ###ERROR###

    zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144.i386.rpm installation failed

    Installation cancelled

    I had Zimbra working before with RHEL v4. Can i just change the /etc/redhat-release file temporarily for the install, or is that not causing the problem?

    Please Help.
    Thanks in Advance.

  2. #2
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    The redhat-release file is not the cause of your problem. I run the RHEL4 version on CentOS4, as do many other people. I've never changed the redhat-release file; I simply proceed past the warning message. I'm pretty sure that's what most others do as well. Look in the /tmp directory for the Zimbra install log and see if it provides any further clues on what is stopping your install.

  3. #3
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    Default Java Virtual Machine

    I found this in a log file: Do I need to install Java or tomcat? Doesn't Zimbra come with this in apache?


    Preparing packages for installation...
    zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    error: %post(zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144.i386) scriptlet failed, exit status 1

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Allocate the virtual machine more memory.
    It ran out.

    The recommended size is 1gb

  5. #5
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    Default Allocated KMEMSIZE="2211840:2359296" - Still get same error

    I set the /etc/sysconfig/vz-scripts/101.conf

    KMEMSIZE="2211840:2359296"

    still getting same error. This is so odd. I really need to get this working soon.

    Any ideas, Please. Thanks.

    I'll paste bin some logs in a minute.

    Thanks,
    Andrew

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    run a free -m from within the vm

  7. #7
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    Default Memory Problems

    I set it down to this
    KMEMSIZE="1000000:1000000"


    Inside VE: free -m
    total used free shared buffers cached
    Mem: 2022 1799 223 0 97 1557
    -/+ buffers/cache: 144 1877
    Swap: 1992 0 1992


    Inside the Host: free -m

    total used free shared buffers cached
    Mem: 2022 1799 222 0 97 1557
    -/+ buffers/cache: 145 1876
    Swap: 1992 0 1992



    What in the world is happening here?

    I have 2Gigs of RAM on my machine, what should my settings be?


    Now when I type ls it gives:
    -bash: fork: Cannot allocate memory

    So you must be right! What should my settings be?


    Thanks

  8. #8
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    What do you have running in that vm?
    Looks like a lot. You may want to turn some stuff off.

  9. #9
    Join Date
    Jun 2007
    Posts
    13
    Rep Power
    8

    Default Memory Settings

    It seems that it is a memory issue. I've tried changing the kmemory option in my VE configuration file, and it didn't seem to do anything.

    Here is my VE config

    Code:
    #  Copyright (C) 2000-2007 SWsoft. All rights reserved.
    #
    #  This program is free software; you can redistribute it and/or modify
    #  it under the terms of the GNU General Public License as published by
    #  the Free Software Foundation; either version 2 of the License, or
    #  (at your option) any later version.
    #
    #  This program is distributed in the hope that it will be useful,
    #  but WITHOUT ANY WARRANTY; without even the implied warranty of
    #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    #  GNU General Public License for more details.
    #
    #  You should have received a copy of the GNU General Public License
    #  along with this program; if not, write to the Free Software
    #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    #
    
    ONBOOT="yes"
    
    # UBC parameters (in form of barrier:limit)
    # Primary parameters
    AVNUMPROC="40:40"
    NUMPROC="65:65"
    NUMTCPSOCK="80:80"
    NUMOTHERSOCK="80:80"
    VMGUARPAGES="65536:98304"
    # Secondary parameters
    KMEMSIZE="1000000:1000000"
    TCPSNDBUF="319488:524288"
    TCPRCVBUF="319488:524288"
    OTHERSOCKBUF="132096:336896"
    DGRAMRCVBUF="132096:132096"
    OOMGUARPAGES="6144:2147483647"
    # Auxiliary parameters
    LOCKEDPAGES="32:32"
    SHMPAGES="8192:8192"
    PRIVVMPAGES="49152:53575"
    NUMFILE="2048:2048"
    NUMFLOCK="100:110"
    NUMPTY="16:16"
    NUMSIGINFO="256:256"
    DCACHESIZE="1048576:1097728"
    
    PHYSPAGES="0:2147483647"
    NUMIPTENT="128:128"
    
    # Disk quota parameters (in form of softlimit:hardlimit)
    DISKSPACE="1048576:1153434"
    DISKINODES="200000:220000"
    QUOTATIME="0"
    
    # CPU fair sheduler parameter
    CPUUNITS="1000"
    VE_ROOT="/vz/root/$VEID"
    VE_PRIVATE="/vz/private/$VEID"
    OSTEMPLATE="centos-4-i386-default"
    ORIGIN_SAMPLE="vps.basic"
    HOSTNAME="mail.enlightec.com"
    NETIF=""
    NAMESERVER="216.185.111.10"
    IP_ADDRESS="74.53.200.xxx"
    NETDEV=""







    Here are some logs:

    /tmp/hs_err_pid8060.log
    Code:
    #
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #
    #  Internal Error (434F44452255464645520E4350500060), pid=8060, tid=3085563584
    #
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_08-b03 mixed mode)
    
    ---------------  T H R E A D  ---------------
    
    Current thread (0x0805cc68):  JavaThread  [_thread_in_vm, id=8060]
    
    Stack: [0xbfdfe000,0xbfffe000),  sp=0xbfffafa0,  free space=2035k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V  [libjvm.so+0x3251c3]
    V  [libjvm.so+0x124499]
    V  [libjvm.so+0xf9979]
    V  [libjvm.so+0xba19d]
    V  [libjvm.so+0xba31a]
    V  [libjvm.so+0x6dc7e]
    V  [libjvm.so+0x155b92]
    V  [libjvm.so+0x2f799f]
    V  [libjvm.so+0x1a470c]
    C  [java+0x32cc]
    C  [java+0x15a4]  calloc+0x39c
    C  [libc.so.6+0x14de3]  __libc_start_main+0xd3
    
    
    ---------------  P R O C E S S  ---------------
    
    Java Threads: ( => current thread )
    
    Other Threads:
    
    VM state:not at safepoint (not fully initilizated)
    
    VM Mutex/Monitor currently owned by a thread: None
    
    Heap
     def new generation   total 576K, used 0K [0xaa650000, 0xaa6f0000, 0xaab30000)
      eden space 512K,   0% used [0xaa650000, 0xaa650000, 0xaa6d0000)
      from space 64K,   0% used [0xaa6d0000, 0xaa6d0000, 0xaa6e0000)
      to   space 64K,   0% used [0xaa6e0000, 0xaa6e0000, 0xaa6f0000)
     tenured generation   total 1408K, used 0K [0xaab30000, 0xaac90000, 0xae650000)
       the space 1408K,   0% used [0xaab30000, 0xaab30000, 0xaab30200, 0xaac90000)
     compacting perm gen  total 8192K, used 407K [0xae650000, 0xaee50000, 0xb2650000
       the space 8192K,   4% used [0xae650000, 0xae6b5d60, 0xae6b5e00, 0xaee50000)
    No shared spaces configured.
    
    Dynamic libraries:
    08048000-08057000 r-xp 00000000 08:03 26738895   /opt/zimbra/jdk1.5.0_08/bin/jav
    a
    08057000-08059000 rwxp 0000e000 08:03 26738895   /opt/zimbra/jdk1.5.0_08/bin/jav
    a
    08059000-080a3000 rwxp 08059000 00:00 0
    aa300000-aa322000 rwxp aa300000 00:00 0
    aa322000-aa400000 --xp aa322000 00:00 0
    aa5d0000-aa5d5000 rwxp aa5d0000 00:00 0
    aa5d5000-aa5f1000 rwxp aa5d5000 00:00 0
    aa5f1000-aa5f2000 rwxp aa5f1000 00:00 0
    aa5f2000-aa60f000 rwxp aa5f2000 00:00 0
    aa60f000-aa610000 rwxp aa60f000 00:00 0
    aa610000-aa611000 rwxp aa610000 00:00 0
    aa611000-aa613000 rwxp aa611000 00:00 0
    aa613000-aa62f000 rwxp aa613000 00:00 0
    aa62f000-aa633000 rwxp aa62f000 00:00 0
    aa633000-aa64f000 rwxp aa633000 00:00 0
    aa64f000-aa6f0000 rwxp aa64f000 00:00 0
    aa6f0000-aab30000 rwxp aa6f0000 00:00 0
    aab30000-aac90000 rwxp aab30000 00:00 0
    aac90000-ae650000 rwxp aac90000 00:00 0
    ae650000-aee50000 rwxp ae650000 00:00 0
    aee50000-b2650000 rwxp aee50000 00:00 0
    b2658000-b2659000 rwxp b2658000 00:00 0
    b2659000-b26d8000 rwxp b2659000 00:00 0
    b26d8000-b2708000 rwxp b26d8000 00:00 0
    b2710000-b46d8000 rwxp b2710000 00:00 0
    b46d8000-b4f48000 r-xs 00000000 08:03 26738962   /opt/zimbra/jdk1.5.0_08/jre/lib
    /charsets.jar
    b4f48000-b4f5d000 r-xs 00000000 08:03 26739081   /opt/zimbra/jdk1.5.0_08/jre/lib
    /jce.jar
    b4f5d000-b4fe2000 r-xs 00000000 08:03 26739082   /opt/zimbra/jdk1.5.0_08/jre/lib
    /jsse.jar
    b4fe2000-b504b000 rwxp b4fe2000 00:00 0
    b504b000-b7661000 r-xs 00000000 08:03 26739140   /opt/zimbra/jdk1.5.0_08/jre/lib
    /rt.jar
    b7661000-b7670000 r-xp 00000000 08:03 26739052   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/libzip.so
    b7670000-b7672000 rwxp 0000e000 08:03 26739052   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/libzip.so
    b7672000-b7693000 r-xp 00000000 08:03 26739032   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/libjava.so
    /i386/libjava.so
    b7695000-b76a0000 r-xp 00000000 08:03 26739051   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/libverify.so
    b76a0000-b76a1000 rwxp 0000b000 08:03 26739051   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/libverify.so
    b76a1000-b76a9000 rwxs 00000000 08:03 26853377   /tmp/hsperfdata_zimbra/8060
    b76a9000-b76b2000 r-xp 00000000 08:03 26591843   /lib/libnss_files-2.3.4.so
    b76b2000-b76b3000 r-xp 00008000 08:03 26591843   /lib/libnss_files-2.3.4.so
    b76b3000-b76b4000 rwxp 00009000 08:03 26591843   /lib/libnss_files-2.3.4.so
    b76b4000-b76c6000 r-xp 00000000 08:03 26591849   /lib/libnsl-2.3.4.so
    b76c6000-b76c7000 r-xp 00011000 08:03 26591849   /lib/libnsl-2.3.4.so
    b76c7000-b76c8000 rwxp 00012000 08:03 26591849   /lib/libnsl-2.3.4.so
    b76c8000-b76ca000 rwxp b76c8000 00:00 0
    b76cf000-b76d5000 r-xp 00000000 08:03 26739056   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/native_threads/libhpi.so
    b76d5000-b76d6000 rwxp 00006000 08:03 26739056   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/native_threads/libhpi.so
    b76d6000-b76f7000 r-xp 00000000 08:03 26591861   /lib/tls/libm-2.3.4.so
    b76f7000-b76f8000 r-xp 00020000 08:03 26591861   /lib/tls/libm-2.3.4.so
    b76f8000-b76f9000 rwxp 00021000 08:03 26591861   /lib/tls/libm-2.3.4.so
    b76fc000-b76fd000 rwxp b76fc000 00:00 0
    b76fd000-b76fe000 r-xp b76fd000 00:00 0
    b76fe000-b7a6a000 r-xp 00000000 08:03 26739015   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/client/libjvm.so
    b7a6a000-b7a89000 rwxp 0036b000 08:03 26739015   /opt/zimbra/jdk1.5.0_08/jre/lib
    /i386/client/libjvm.so
    b7a89000-b7ea0000 rwxp b7a89000 00:00 0
    
    VM Arguments:
    jvm_args: -Dzimbra.home=/opt/zimbra
    java_command: com.zimbra.common.localconfig.Main -q -m shell
    Launcher Type: SUN_STANDARD
    
    Environment Variables:
    JAVA_HOME=/opt/zimbra/java
    PATH=/opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/zimbra/postfix-2.2.9/sbin:/opt/z
    imbra/openldap/bin:/opt/zimbra/java/bin:/opt/zimbra/snmp/bin:/opt/zimbra/bin:/op
    t/zimbra/zimbramon:/opt/zimbra/postfix-2.2.9/sbin:/opt/zimbra/openldap/bin:/opt/
    zimbra/java/bin:/opt/zimbra/snmp/bin:/opt/zimbra/bin:/opt/zimbra/zimbramon:/opt/
    zimbra/postfix-2.2.9/sbin:/opt/zimbra/openldap/bin:/opt/zimbra/java/bin:/opt/zim
    bra/snmp/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
    USERNAME=zimbra
    LD_LIBRARY_PATH=/opt/zimbra/jdk1.5.0_08/jre/lib/i386/client:/opt/zimbra/jdk1.5.0
    _08/jre/lib/i386:/opt/zimbra/jdk1.5.0_08/jre/../lib/i386:/opt/zimbra/lib:/opt/zi
    mbra/lib:/opt/zimbra/lib:
    SHELL=/bin/bash
    
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x325bd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGBUS: [libjvm.so+0x325bd0], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGFPE: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGPIPE: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGILL: [libjvm.so+0x28a010], sa_mask[0]=0x7ffbfeff, sa_flags=0x14000004
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x28c460], sa_mask[0]=0x00000000, sa_flags=0x14000004
    SIGHUP: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGINT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGTERM: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    
    
    ---------------  S Y S T E M  ---------------
    
    OS:CentOS release 4.5 (Final)
    
    uname:Linux 2.6.9-023stab044.4-smp #1 SMP Mon May 28 23:18:17 MSD 2007 i686
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 10240k, CORE 0k, NPROC 16382, NOFILE 10000, AS infinity
    load average:0.40 0.17 0.06
    
    CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 2,
    cmov, cx8, fxsr, mmx, sse, sse2
    
    Memory: 4k page, physical 2070872k(692744k free), swap 2040244k(2040244k free)
    
    vm_info: Java HotSpot(TM) Client VM (1.5.0_08-b03) for linux-x86, built on Jun 2
    8 2006 01:40:21 by java_re with gcc 3.2.1-7a (J2SE release)
    /tmp/install.log.31765
    Code:
    Preparing packages for installation...
    zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    error: %post(zimbra-core-4.5.6_GA_1023.RHEL4-20070628083144.i386) scriptlet fail
    ed, exit status 1

    Please help me figure this out.

    Thanks,
    Andrew

Similar Threads

  1. Replies: 7
    Last Post: 01-24-2007, 10:03 PM
  2. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 09:39 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 PM
  5. Replies: 1
    Last Post: 11-23-2005, 12:35 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
  •