Results 1 to 9 of 9

Thread: trying to install zcs 8.0.2 on ubuntu 12.04 - errors

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default trying to install zcs 8.0.2 on ubuntu 12.04 - errors

    Good morning board .
    I am trying to install zcs on an ubuntu machine.
    after issuing the install.sh command, the process stops with these messages

    Code:
    Installing:
        zimbra-core
        zimbra-ldap
        zimbra-logger
        zimbra-mta
        zimbra-snmp
        zimbra-store
        zimbra-apache
        zimbra-spell
        zimbra-memcached
        zimbra-proxy
    
    The system will be modified.  Continue? [N] y
    
    Removing /opt/zimbra
    Removing zimbra crontab entry...done.
    Cleaning up zimbra init scripts...done.
    Cleaning up /etc/ld.so.conf...done.
    Cleaning up /etc/logrotate.d/zimbra...done.
    Cleaning up /etc/security/limits.conf...done.
    
    Finished removing Zimbra Collaboration Server.
    
    Installing packages
    
        zimbra-core......zimbra-core_8.0.2.GA.5569.UBUNTU12.64_amd64.deb...FAILED
    ###ERROR###
    
    zimbra-core_8.0.2.GA.5569.UBUNTU12.64_amd64.deb installation failed
    
    Installation cancelled
    this is what i have inside the install.log
    Code:
    COMMAND: zmcontrol shutdown
    -su: zmcontrol: comando non trovato
    No directory, logging in with HOME=/
    Selecting previously unselected package zimbra-core.
    (Reading database ... 355244 files and directories currently installed.)
    Unpacking zimbra-core (from .../zimbra-core_8.0.2.GA.5569.UBUNTU12.64_amd64.deb) ...
    usermod: no changes
    Setting up zimbra-core (8.0.2.GA.5569.UBUNTU12.64) ...
    /var/lib/dpkg/info/zimbra-core.postinst: line 23: /opt/zimbra/libexec/get_plat_tag.sh: Permission denied
    /var/lib/dpkg/info/zimbra-core.postinst: line 206: /opt/zimbra/java/bin/java: Permission denied
    dpkg: error processing zimbra-core (--install):
     subprocess installed post-installation script returned error exit status 126
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     zimbra-core
    I mounted with --bind /opt/zimbra on a different disk, as i do not have space enough on the linux fs atm .

    Hope you can help.
    Bye for now and merr xmas!

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by devilman View Post
    I mounted with --bind /opt/zimbra on a different disk,...
    I don't use Ubuntu but is that the same as a symbolic link? If it is then you can't do that, you should mount it on the local FS or add an additional local HD for the mount point. BTW, if this is a single server then you do not need memcached or the proxy installed (they can cause problems).
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by phoenix View Post
    I don't use Ubuntu but is that the same as a symbolic link? If it is then you can't do that, you should mount it on the local FS or add an additional local HD for the mount point. BTW, if this is a single server then you do not need memcached or the proxy installed (they can cause problems).

    well, it should be a mount, not a symbolic link.
    This is an explanation :

    Using bind mounts, we can mount all, or even part of an already-mounted filesystem to another location, and have the filesystem accessible from both mount points at the same time! For example, you can use bind mounts to mount your existing root filesystem to /home/drobbins/nifty, as follows:
    # mount --bind / /home/drobbins/nifty
    Now, if you look inside /home/drobbins/nifty, you'll see your root filesystem (/home/drobbins/nifty/etc, /home/drobbins/nifty/opt, etc.). And if you modify a file on your root filesystem, you'll see the modifications in /home/drobbins/nifty as well. This is because they are one and the same filesystem; the kernel is simply mapping the filesystem to two different mount points for us. Note that when you mount a filesystem somewhere else, any filesystems that were mounted to mount points inside the bind-mounted filesystem will not be moved along. In other words
    what i did is more or less what you said :
    I have a bigger partition different from the unix partition, in that partition (the bigger) i created a dir "zimbra".
    The i issued
    mount --bind /pathtopartition/zimbra /opt/zimbra (I found this on another post somewhere in this forum, as i had that problem of not enough free space).

    What do you think, could this be the problem?

    I found somewhere in this forum an old post that spoke about problems of dpkg and packet names with underscore (and i indeed had to face this problem on a 10.4 machine, 32 bits, sometime ago)... could this be an idea?
    thanx for the help and bye for now.

  4. #4
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default

    No ideas?
    is it so strange ?
    how lucky am i?
    and...
    MERRY XMAS TO EVERYBODY !!!

  5. #5
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Let's get the obvious out of the way.

    Your installing the x64 version of zimbra to a x64 bit Ubuntu 12 machine right?

    What user are you running the install file as?

    Are all of the files extracted into a folder that has full permission (777) from the user your installing as?

  6. #6
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by Eclipse View Post
    Let's get the obvious out of the way.

    Your installing the x64 version of zimbra to a x64 bit Ubuntu 12 machine right?
    yes

    Quote Originally Posted by Eclipse View Post
    What user are you running the install file as?
    when you launch the install.sh not as root, it complains.
    You have to be root..

    Quote Originally Posted by Eclipse View Post
    Are all of the files extracted into a folder that has full permission (777) from the user your installing as?
    being root, I should not have permission problems, but i suspect you are right here.
    for some mysterious reasons, something wrong happens with permissions.
    probably the directory i mount /opt/zimbra in?

    Don't know how to solve...

    Code:
    COMMAND: zmcontrol shutdown
    -su: zmcontrol: comando non trovato
    Directory non presente, accesso con HOME=/
    Selecting previously unselected package zimbra-core.
    (Reading database ... 355244 files and directories currently installed.)
    Unpacking zimbra-core (from .../zimbra-core_8.0.2.GA.5569.UBUNTU12.64_amd64.deb) ...
    usermod: no changes
    Setting up zimbra-core (8.0.2.GA.5569.UBUNTU12.64) ...
    /var/lib/dpkg/info/zimbra-core.postinst: line 23: /opt/zimbra/libexec/get_plat_tag.sh: Permission denied
    /var/lib/dpkg/info/zimbra-core.postinst: line 206: /opt/zimbra/java/bin/java: Permission denied
    dpkg: error processing zimbra-core (--install):
     subprocess installed post-installation script returned error exit status 126
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     zimbra-core
    Last edited by devilman; 01-02-2013 at 12:08 PM.

Similar Threads

  1. Replies: 11
    Last Post: 10-26-2010, 09:42 AM
  2. Replies: 5
    Last Post: 06-14-2007, 10:14 PM
  3. Replies: 5
    Last Post: 02-06-2007, 10:58 AM
  4. Errors on Install M2-FC3
    By chamo in forum Installation
    Replies: 6
    Last Post: 11-22-2005, 05:31 PM
  5. Errors at end of install
    By cwallace in forum Installation
    Replies: 5
    Last Post: 10-14-2005, 11:22 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
  •