Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Change patch install zimbra

  1. #1
    mingswitch is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    7

    Default Change patch install zimbra

    Hello,

    /home/soft/messagerie/zimbra/zcs# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/sda1 3020140 1347156 1519568 47% /
    tmpfs 118936 0 118936 0% /lib/init/rw
    udev 10240 28 10212 1% /dev
    tmpfs 118936 0 118936 0% /dev/shm
    /dev/sda2 154768324 2062596 144843920 2% /home


    I will want install zimbra, i have 1 problème, i don't have a space in / , i would like install zimbra in /home

    I do that =
    /home/soft/messagerie/zimbra/zcs# sh install.sh

    answering message =
    Checking required space for zimbra-core
    checking space for zimbra-store
    /opt/zimbra requires at least 5GB of space to install.
    1GB is not enough space to install.

    Installation cancelled.


    who can give me a command for do that please.

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

    Default

    Welcome to the forums.

    Can't you put /opt on another drive?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    mingswitch is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    7

    Default

    Yes no probleme i can move to /opt
    exemple to /home/opt

    Do you now where i need to move my path in the script ?
    Last edited by mingswitch; 07-02-2007 at 03:10 AM.

  4. #4
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    I think you would actually want to mount /opt on your /dev/sda2 drive. If that is not an option, and you want to make opt a subdirectory of /home then you may want to make a symbolic link of /home/opt to /opt. Not sure if there are any issues with the Zimbra install in this case, but it seems easier than modifying the install script.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Yes, it was mount /opt on another drive I was suggesting just as soxfan said. If you use a symlink you may have problems during upgrades, there was a problem with that and I don't know if it's been resolved yet.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    mingswitch is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    7

    Default

    If i understand, we don't have a soltion yet...

    I try a lot of think today, ...

    create a symbolic link ...
    change script .sh patch ...

    I alaways have a same probleme :

    exemple
    Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
    chown: cannot access `/home/opt/zimbra/java/jre/lib/security/cacerts': No such file or directory
    chown: cannot access `/home/opt/zimbra/tomcat/conf/keystore': No such file or directory
    chown: cannot access `/home/opt/zimbra/conf/perdition.key': No such file or directory
    install.sh: line 202: /home/opt/zimbra/libexec/zmsetup.pl: No such file or directory

  7. #7
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Did you update line 202?

  8. #8
    mingswitch is offline Active Member
    Join Date
    Jul 2007
    Posts
    36
    Rep Power
    7

    Default

    Yes, i had change the patch (my distribution debian etch)
    default patch /opt/zimbra/libexec/zmsetup.pl
    to /home/opt/zimbra/libexec/zmsetup.pl

  9. #9
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    There are two lines. you want the one under else.

  10. #10
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    Hi

    Try using a bind mount, that way you don't need to hack the installer at all:

    mount --bind
    ie
    mount --bind /home/opt /opt

    You can make it permanent in /etc/fstab:
    /home/opt /opt ext3 rw,bind 0 0

    Should be a lot more robust than symlinks

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Replies: 7
    Last Post: 01-24-2007, 11:03 PM
  3. Zimbra server crashed
    By goetzi in forum Administrators
    Replies: 6
    Last Post: 03-25-2006, 01:00 PM
  4. Replies: 1
    Last Post: 11-23-2005, 01:35 PM
  5. OS X Server 10.4.3 install issues
    By jono in forum Installation
    Replies: 10
    Last Post: 11-22-2005, 09:43 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
  •