Results 1 to 9 of 9

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

  1. #1
    devilman is offline Junior Member
    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 online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,580
    Rep Power
    57

    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
    devilman is offline Junior Member
    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
    devilman is offline Junior Member
    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
    Eclipse is offline Loyal Member
    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
    devilman is offline Junior Member
    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 01:08 PM.

  7. #7
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by devilman View Post
    yes


    when you launch the install.sh not as root, it complains.
    You have to be root..


    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
    When you installed Ubuntu, during the partition setup did you delegate a drive or partition just for /opt? Or after the install finished are you manually mounting /opt to a drive / partition?

    Where are your zimbra install files located at?

  8. #8
    devilman is offline Junior Member
    Join Date
    Dec 2012
    Posts
    5
    Rep Power
    2

    Default

    Quote Originally Posted by Eclipse View Post
    When you installed Ubuntu, during the partition setup did you delegate a drive or partition just for /opt? Or after the install finished are you manually mounting /opt to a drive / partition?
    /opt is in the same FS/partition of the other mountpoints. I realized i had little space left, less than the 5 gigs needed, when i tried to install zimbra.I searched for a possible solution and mounting /opt/zimbra to another drive seemed a good idea.
    I tried with 2 different mount points located in 2 different HDs
    Quote Originally Posted by Eclipse View Post
    Where are your zimbra install files located at?
    Well, i tried with different locations, same result.
    1st try in a network HD (samba mount) i use for all downloaded stuff
    2nd try in a different partition of the main HD (the partition i use for comm stuff, different from the linux partition)
    3rd try in the linux partition

    I also tried 3 different approaches
    1st : extract files as common user and launch installation as sudoer
    2nd : extract files, chown ownership to root, install as sudoer
    3rd : extract the files, chown ownership to root and install as root

    ideas?

  9. #9
    Eclipse is offline Loyal Member
    Join Date
    Jun 2011
    Posts
    76
    Rep Power
    4

    Default

    Quote Originally Posted by devilman View Post
    /opt is in the same FS/partition of the other mountpoints. I realized i had little space left, less than the 5 gigs needed, when i tried to install zimbra.I searched for a possible solution and mounting /opt/zimbra to another drive seemed a good idea.
    I tried with 2 different mount points located in 2 different HDs


    Well, i tried with different locations, same result.
    1st try in a network HD (samba mount) i use for all downloaded stuff
    2nd try in a different partition of the main HD (the partition i use for comm stuff, different from the linux partition)
    3rd try in the linux partition

    I also tried 3 different approaches
    1st : extract files as common user and launch installation as sudoer
    2nd : extract files, chown ownership to root, install as sudoer
    3rd : extract the files, chown ownership to root and install as root

    ideas?
    What command are you using to mount /opt? Or are you mounting it with the fstab file?


    I would say blow away the machine and start from a fresh install defining /opt as a partition during install on a new HDD if you can.

Thread Information

Users Browsing this Thread

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

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, 11:58 AM
  4. Errors on Install M2-FC3
    By chamo in forum Installation
    Replies: 6
    Last Post: 11-22-2005, 06: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
  •