MacOs X "10.4.3/java1.5/zimbra" install step-by-step
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
I'm making that change right now...
-
- Posts: 3
- Joined: Fri Sep 12, 2014 10:01 pm
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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?
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
login anonymously, checkout "main". I think there's a post in the forums with the full pserver string.
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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.[/quote] 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. [/quote]. 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: http://www.zimbra.com/forums/showpost.p ... ostcount=9, 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...[/quote]
Marcman and the crew are very reactive
très agréable…
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.[/quote] 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. [/quote]. 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: http://www.zimbra.com/forums/showpost.p ... ostcount=9, 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...[/quote]
Marcman and the crew are very reactive
très agréable…
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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:lEp ... SION&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.
WickIT-codesnippet.txt
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:lEp ... SION&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.
WickIT-codesnippet.txt
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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.[/quote]
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.
[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.[/quote]
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.
-
- Posts: 4
- Joined: Fri Sep 12, 2014 10:01 pm
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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
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
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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
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
-
- Posts: 4
- Joined: Fri Sep 12, 2014 10:01 pm
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
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
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
MacOs X "10.4.3/java1.5/zimbra" install step-by-step
ANything in /tmp/install.log?
What happens when you run /opt/zimbra/libexex/zmldapinit (as the zimbra user) by hand?
What happens when you run /opt/zimbra/libexex/zmldapinit (as the zimbra user) by hand?