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

Thread: Zimbra on Mac OS X 10.5.7 - Problems after Java Update

  1. #1
    andreas_auwaerter is offline New Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    7

    Default Zimbra on Mac OS X 10.5.7 - Problems after Java Update

    Hello! After the last "improvements" from apple - i think it may be a cause for some zimbra problems i have now on my mashine. Zimbra says: "Unable to find a $JAVA_HOME at "/opt/zimbra/java", continuing with system-provided Java..." every restart! I am sure it came with the last java update! Any suggestions?

    Regards and thanx from the students in Coblence - Germany
    And thanx in advance for your help!

  2. #2
    andreas_auwaerter is offline New Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    7

    Default Asking again

    Would like to request again! When there is just the variable to set! Where it has to be changed from where to where?

  3. #3
    skenkin is offline Active Member
    Join Date
    May 2008
    Posts
    45
    Rep Power
    7

    Default

    We are also experienced this issue.

    However it is not major you can just remake the link.
    Last edited by skenkin; 06-27-2009 at 08:25 PM.

  4. #4
    andreas_auwaerter is offline New Member
    Join Date
    Jul 2008
    Posts
    3
    Rep Power
    7

    Default Java Problem

    Thanx! Remaking the ln -s. I guess!

  5. #5
    addihetja is offline Intermediate Member
    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    23
    Rep Power
    9

    Default

    Link what to where? Can you elaborate on how you fix this?

  6. #6
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    9

    Default

    In 6.0:
    mail:~ zimbra$ ls -la java
    lrwxr-xr-x 1 root wheel 4 Jun 9 19:10 java -> /usr

    so, just 'ln -s /usr /opt/zimbra/java' and you should be all set.

  7. #7
    addihetja is offline Intermediate Member
    Join Date
    Jul 2006
    Location
    Iceland
    Posts
    23
    Rep Power
    9

    Default

    In 6.0? I'm running 5.0.16

    I tried doing this anyway and it doesn't seem to be working:
    mail:~ zimbra$ ls -al | grep java
    lrwxr-xr-x 1 zimbra zimbra 4 Jun 9 18:37 java -> /usr
    mail:~ zimbra$ ln -s /usr /opt/zimbra/java
    ln: /opt/zimbra/java/usr: Permission denied
    mail:~ zimbra$ exit
    exit
    mail:~ root# cd /opt/zimbra/
    mail:zimbra root# ln -s /usr /opt/zimbra/java
    mail:zimbra root# ls -al | grep java
    lrwxr-xr-x 1 zimbra zimbra 4 Jun 9 18:37 java -> /usr
    mail:usr root# su zimbra
    mail:usr zimbra$ zmcontrol -v
    Unable to find a $JAVA_HOME at "/opt/zimbra/java", continuing with system-provided Java...
    Unable to find a $JAVA_HOME at "/opt/zimbra/java", continuing with system-provided Java...


    Release 5.0.16_GA_2921.MACOSXx86_10.5, Zimbra, Inc.
    MACOSXx86_10.5 NETWORK edition

    mail:usr zimbra$

  8. #8
    inqueue is offline Zimbra Employee
    Join Date
    Mar 2006
    Location
    Greenwood, IN
    Posts
    90
    Rep Power
    9

    Default

    I should have clarified. This is apparently what we do in 6.0 to prevent the problem. The workaround should be valid for 5.0.x. Hmm, maybe there is something different in 10.5.

    mail:~ root# su - zimbra
    mail:~ zimbra$ ls -la java
    lrwxr-xr-x 1 root wheel 4 Jun 9 19:10 java -> /usr
    mail:~ zimbra$ ls -la /opt/zimbra/java/bin/java
    lrwxr-xr-x 1 root wheel 77 Jun 25 13:57 /opt/zimbra/java/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Commands/java
    mail:~ zimbra$ echo $JAVA_HOME
    /opt/zimbra/java
    mail:~ zimbra$ which java
    /opt/zimbra/java/bin/java

  9. #9
    M.Geski is offline New Member
    Join Date
    Jan 2009
    Location
    USA
    Posts
    4
    Rep Power
    6

    Default

    I am having the same java issue on my setup. Any resolution?

    I am running
    Release 5.0.11_GA_2695.MACOSXx86_10.5, Zimbra, Inc.
    MACOSXx86_10.5 NETWORK edition

    Here is the output when listing java:
    ampmail01:~ zimbra$ ls -la java
    lrwxr-xr-x 1 zimbra zimbra 4 Jun 29 01:15 java -> /usr
    ampmail01:~ zimbra$ ls -la /opt/zimbra/java/bin/java
    lrwxr-xr-x 1 root wheel 74 Aug 22 23:41 /opt/zimbra/java/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java
    ampmail01:~ zimbra$ echo $JAVA_HOME
    /opt/zimbra/java
    ampmail01:~ zimbra$ which java
    /opt/zimbra/java/bin/java

    *(notice owner/group is different then what Iggy posted from 6.0. Is this supposed to be different between systems?)

    I have tried to make the link as zimbra and get a 'Permission Denied' returned. If done as root returns a prompt, but on checking zimbra it still returns:
    Unable to find a $JAVA_HOME at "/opt/zimbra/java", continuing with system-provided Java...
    Unable to find a $JAVA_HOME at "/opt/zimbra/java", continuing with system-provided Java...

    I would like to upgrade to 5.0.18, but want to make sure everything is working correctly before proceeding.

    Thanks

  10. #10
    brian is offline Project Contributor
    Join Date
    Jul 2006
    Posts
    623
    Rep Power
    10

    Default

    6.0 and 5.0.19 include the following fix.

    Code:
    rm /opt/zimbra/java ; ln -s /Library/Java/Home /opt/zimbra/java
    Bugzilla - Wiki - Downloads - Before posting... Search!

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. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 11:38 AM
  2. Zimbra spam system
    By rajahd in forum Administrators
    Replies: 9
    Last Post: 04-16-2008, 07:25 PM
  3. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  4. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  5. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 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
  •