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

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
  #11 (permalink)  
Old 11-29-2005, 03:05 PM
Zimbra Employee
 
Posts: 2,103
Default Java_jvm_version

I'm making that change right now...
Reply With Quote
  #12 (permalink)  
Old 11-29-2005, 03:09 PM
New Member
 
Posts: 3
Default

Is this in a CVS version that I can check out so that I don't keep bugging you about things that you've already fixed?
Reply With Quote
  #13 (permalink)  
Old 11-29-2005, 03:14 PM
Zimbra Employee
 
Posts: 2,103
Default cvs.zimbra.com

login anonymously, checkout "main". I think there's a post in the forums with the full pserver string.
Reply With Quote
  #14 (permalink)  
Old 11-29-2005, 05:30 PM
Project Contributor
 
Posts: 33
Default

nigelkersten:

I looked for this… thx, I saw tha tit wasn't very recommended to do it the way I did, but didn't found (search enough) your magic command : JAVA_JVM_VERSION.
And I'm a 'bidouilleur' as we would say in French.
I'm no coder (just interested in), so I'm glad you post this.
Quote:
You don't need to faff around with the /Users directory in that way. Do something like this instead.
You say that because I wrote somewhere I wanted to hide the zimbra User, Am I right ? Well thx again, I don't really like to use niutil to set user with command line for instance, this is something I really like to do in system pref, but if I understand what you wrote, you don't create the user, but change its UID:GID ? And that's cool, I'll do it.
as what you suggest for JAVA_HOME stuff… I'm warned
Quote:
The way you've done it will break other things that require 1.4.
. I do have some crashesz, but I'm not sure if it's linked or not, In fact it's more like sending email and clamav or spamassassin stuff I thinK. After some post I think I auto spammed myself because to 'hard test' I do send Big images or files to a mailinglist and do some reply all, etc… from Mac/Maill Mac/entourage - windows-Outlookexpress Windows thunderbird. soon after this I crash. But thinking while writing makes me says that I do have a constantly the log: "unable to look up public/pickup: No such file or directory".
and looking here: Error install on Mac OS X, you may be right ;)
I'm gonna fix that java stuff by the end of the week.

Quote:
we set the java home correctly now, will show up in the next release. Also, the user creation bug is fixed […] (Should you be setting JAVA_JVM_VERSION as well if 1.5 is required?) I'm making that change right now...
Marcman and the crew are very reactive :-)
très agréable…

Last edited by s3nz3x; 11-29-2005 at 06:36 PM..
Reply With Quote
  #15 (permalink)  
Old 11-29-2005, 06:51 PM
Project Contributor
 
Posts: 33
Default java tricks doesn't work for me - back to ugly solution

Couldn't wait… So I've done it
back to JAVA 1.4*
remove the symlink pointing to 1.5 and made one symlink pointing back to 1.4
edited the .baschrc file and added the line
export JAVA_JVM_VERSION=1.5
right under export JAVA_HOME.

rebooted
… nothing works now … Well mailbox is STOPPED
doesn't wan't to know nothing…
So I've gone back I've resymlink to 1.5 the UGLY WAY and works again.

I've just found in an unknown language (belgium flamand) here:
http://66.249.93.104/search?q=cache:..._VERSION&hl=en
despite it does it the same ugly way, it suggest also, If I undestood something it says that once you've got JAVA 1.5, if you need JAVA 1.4 then just add in the Info.plist this code:

--just see the linked file as I can't display the code properly ?

So I'm gonna see If I could:
go back to java 1.4 do the export trick
and add the above code (with 1.5* so) in StartupParameters.plist and see if it does something. flip-flop.
(or in a Info.plist in a Ressource folder but I'll have to dig this).
So right now I'm staying with the ugly way.

Another idea… as I autolaunch zimbra with my script at boot, so "in my understanding" it's virtually the root user that launches zimbra (as zimbra), I should also try to edited/create a root .baschrc file and add the line "export JAVA_JVM_VERSION=1.5 " there. ?
even if it sudo -su in zimbra the initiator is root so maybe its . baschrc would ahve an incidence ? OR Maybe the root can't have this file as I don't see one in my root home dir (in front of it right now)
So I'm sure just thinking…

ANYWAY as far as I'm concerned the mac will quite only run zimbra, so I do not care with java 1.4 unless zimbra needs it too ?? and will likely let it like that for now.
Attached Files
File Type: txt WickIT-codesnippet.txt (76 Bytes, 325 views)

Last edited by s3nz3x; 11-30-2005 at 12:41 PM..
Reply With Quote
  #16 (permalink)  
Old 11-30-2005, 12:12 PM
Project Contributor
 
Posts: 33
Arrow Java_home on OsX

from nigelkersten:
Quote:
as far as JAVA_HOME goes, I notice that zimbra sets it to /usr with the setup script... it should probably be /Library/Java/Home under OS X, but I'll see whether that works. It will for the java executable as /usr/bin contains a link to the Commands in /Library/Java/Home, but other things may not work so well.
I just chnaged the symlink for JAVA_HOME as suggested.
made it point to (/Library/Java/Home, wich in fact points to)
/System/Library/Frameworks/JavaVM.framework/1.5.0/Home

Much faster to log in as admin in web console.
Much faster to send receive emails
Much faster to (zmcontrol start)
Much faster to display (zmcontrol status)

Maybe it's gonna be worse elsewhere ? don't know yet.
I'm gonna try also to go back to java 1.4.* and try the export JAVA version stuff and see if it's still as fast as now.
__________________
running Mac Os X

Last edited by s3nz3x; 11-30-2005 at 01:01 PM..
Reply With Quote
  #17 (permalink)  
Old 12-08-2005, 04:12 PM
New Member
 
Posts: 4
Default install problem

i get this when i configure

ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException myhostname:389)

and the ldap port 389 and the 7071 port doesn't show when i do a scan port
Anyone knows a solution


Last edited by hollow; 12-09-2005 at 02:42 AM..
Reply With Quote
  #18 (permalink)  
Old 12-13-2005, 10:52 AM
Project Contributor
 
Posts: 33
Default

Did you add special firewall rules ?? or disabled the firewall ?
if not try to add custom rules in the firewall tab of SystemPref / Sharing pref /

like 7071 zimbradmin
389 ldap
and so on for every port needed by zimbra.

you could test with firewall turned OFF first.

You should also be sure that your computer name in the same Sharing Tab is the same you gave to your zimbra hostname.
for example:
if you named your zimbra box like:
mybox.mydomain.com
then your computer name in SharingPrefs should be:
mybox
__________________
running Mac Os X

Last edited by s3nz3x; 12-13-2005 at 10:55 AM..
Reply With Quote
  #19 (permalink)  
Old 12-15-2005, 08:01 AM
New Member
 
Posts: 4
Default no luck

still getting Initializing ldap...FAILED (256)

with every settings you shared in this post and firewall disabled.
with the latest installer
zcs-3.0.0_M3_270
java version 1.5
Reply With Quote
  #20 (permalink)  
Old 12-15-2005, 09:09 AM
Zimbra Employee
 
Posts: 2,103
Default errors in the log

ANything in /tmp/install.log?

What happens when you run /opt/zimbra/libexex/zmldapinit (as the zimbra user) by hand?
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.