Problems installing Zimbra on Debian 3.1

Discussion in 'HOWTO-Related Questions' started by sender, Mar 20, 2007.

  1. sender

    sender New Member

    I followed "How To Install Zimbra Collaboration Suite (ZCS) On Ubuntu" here (thanx for providing this howto!).

    Everything goes great until halfway step 3. After I answer 'yes' to 'The system will be modified. Continue?' I get this error :

    Code:
    Installing packages
    
        zimbra-core......zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb...FAILED
    ###ERROR###
    
    zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb installation failed
    
    Installation cancelled
    
    I downloaded the most recent Debian package from the Zimbra Sourceforge page (not corrupted). The setup is a standard clean Debian Sarge install, with correct MX-record.

    I don't know where to go from this error, I couln't find a solution on the Zimbra forums or here.

    Did anyone succeed installing Zimbra on Debian Sarge? Any thoughts on how I can solve this?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    uname -a
    ?
    Did you try to install Zimbra as root?

    What happens if you try to install zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb manually?
    Code:
    dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb
     
  3. sender

    sender New Member

    Thank you for your reply.

    Linux h1199365.stratoserver.net 2.6.9-023stab039.1-smp #1 SMP Thu Dec 28 23:51:23 MSK 2006 i686 GNU/Linux

    Yes.


    This is the output:
    Code:
    h1199365:/usr/src/zcs/packages# dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb
    (Reading database ... 35363 files and directories currently installed.)
    Preparing to replace zimbra-core 4.5.3_GA_733.DEBIAN3.1 (using zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb) ...
    Unpacking replacement zimbra-core ...
    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/perdition-1.17': No such file or directory
    chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
    mkdir: cannot create directory `/opt/zimbra/ssl': File exists
    mkdir: cannot create directory `/opt/zimbra/.ssh': File exists
    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
    
     
  4. sender

    sender New Member

    I just tried to install an earlier version of the zimbra debian install (zcs-4.5.2_GA_699.DEBIAN3.1.tgz) but this resulted in the same installation error :
    Code:
    zimbra-core......zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb...FAILED
    ###ERROR###
    
    zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb installation failed
    In reply to your uname -a question.. could zimbra not be compatible with the i686 architecture?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    It is. I wanted to see if maybe you have a x86_64 system...

    Can you delete the Zimbra directory:
    Code:
    rm -fr /opt/zimbra
    and try the installation again from the beginning?
     
  6. sender

    sender New Member

    I deleted the Zimbra directory and tried both the ./install.sh and dpkg -i zimbra-core_4.5.3_GA_733.DEBIAN3.1_i386.deb.

    The first still asks if I want to upgrade (both yes and no finally end up in the same error as before). Do I need to remove more files?

    The second give me this error now:
    Code:
    h1199365:/usr/src/zcs/packages# dpkg -i zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb
    (Reading database ... 35362 files and directories currently installed.)
    Preparing to replace zimbra-core 4.5.2_GA_699.DEBIAN3.1 (using zimbra-core_4.5.2_GA_699.DEBIAN3.1_i386.deb) ...
    Unpacking replacement zimbra-core ...
    Setting up zimbra-core (4.5.2_GA_699.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
    
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    df -h
    ?
     
  8. sender

    sender New Member

    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/vzfs              10G  1.6G  8.5G  16% /
    tmpfs                1011M  4.0K 1011M   1% /dev/shm
    
    Thanx for the help.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Ok, no disk space problem then. But I see you don't have any swap.
    What are the output of
    Code:
    top
    and
    Code:
    cat /proc/meminfo
    ?
     
  10. sender

    sender New Member

    top:
    Code:
    top - 16:54:48 up 4 days, 22:48,  1 user,  load average: 0.00, 0.00, 0.00
    Tasks:  54 total,   1 running,  53 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.3% us,  0.3% sy,  0.0% ni, 99.3% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   2070132k total,  2003564k used,    66568k free,   132020k buffers
    Swap:  3068392k total,    11712k used,  3056680k free,  1049100k cached
    
    cat /proc/meminfo
    Code:
    h1199365:~# cat /proc/meminfo
    MemTotal:      2070132 kB
    MemFree:         65416 kB
    Buffers:        132252 kB
    Cached:        1049072 kB
    SwapCached:       1944 kB
    Active:        1547264 kB
    Inactive:       346964 kB
    HighTotal:     1178560 kB
    HighFree:        17280 kB
    LowTotal:       891572 kB
    LowFree:         48136 kB
    SwapTotal:     3068392 kB
    SwapFree:      3056680 kB
    Dirty:             808 kB
    Writeback:           0 kB
    Mapped:         814776 kB
    Slab:            87728 kB
    CommitLimit:   4103456 kB
    Committed_AS:  2202712 kB
    PageTables:       7252 kB
    VmallocTotal:   106488 kB
    VmallocUsed:      8856 kB
    VmallocChunk:    97564 kB
    
    It's a Strato VDS.
    Can the error while installing a .deb be due to insufficient free mem? BTW: isn't there a logfile with information on the error?
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Memory seems to be fine.

    Maybe Zimbra has a problem with your virtual server, as this error message suggests:
    But I don't know why... :confused:
     
  12. sender

    sender New Member

    Isn't VM here the Java VM?
    Code:
    Could not create the Java virtual machine.
     

Share This Page