Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-2009, 11:29 AM
New Member
 
Posts: 3
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!
Reply With Quote
  #2 (permalink)  
Old 06-21-2009, 07:36 AM
New Member
 
Posts: 3
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?
Reply With Quote
  #3 (permalink)  
Old 06-27-2009, 07:18 PM
Active Member
 
Posts: 45
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..
Reply With Quote
  #4 (permalink)  
Old 06-28-2009, 03:57 AM
New Member
 
Posts: 3
Default Java Problem

Thanx! Remaking the ln -s. I guess!
Reply With Quote
  #5 (permalink)  
Old 06-30-2009, 02:42 AM
Intermediate Member
 
Posts: 23
Default

Link what to where? Can you elaborate on how you fix this?
Reply With Quote
  #6 (permalink)  
Old 07-01-2009, 02:32 PM
Zimbra Employee
 
Posts: 37
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.
Reply With Quote
  #7 (permalink)  
Old 07-01-2009, 04:29 PM
Intermediate Member
 
Posts: 23
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$
Reply With Quote
  #8 (permalink)  
Old 07-01-2009, 04:40 PM
Zimbra Employee
 
Posts: 37
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
Reply With Quote
  #9 (permalink)  
Old 08-25-2009, 08:37 AM
New Member
 
Posts: 4
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
Reply With Quote
  #10 (permalink)  
Old 08-25-2009, 09:08 AM
Zimbra Employee
 
Posts: 604
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.