Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: MacOs X "10.4.3/java1.5/zimbra" install step-by-step

  1. #11
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default Java_jvm_version

    I'm making that change right now...

  2. #12
    nigelkersten is offline New Member
    Join Date
    Nov 2005
    Posts
    3
    Rep Power
    9

    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?

  3. #13
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default cvs.zimbra.com

    login anonymously, checkout "main". I think there's a post in the forums with the full pserver string.

  4. #14
    s3nz3x is offline Project Contributor
    Join Date
    Nov 2005
    Location
    proxima centaury
    Posts
    33
    Rep Power
    9

    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.
    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
    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.

    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 07:36 PM.

  5. #15
    s3nz3x is offline Project Contributor
    Join Date
    Nov 2005
    Location
    proxima centaury
    Posts
    33
    Rep Power
    9

    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 Attached Files
    Last edited by s3nz3x; 11-30-2005 at 01:41 PM.

  6. #16
    s3nz3x is offline Project Contributor
    Join Date
    Nov 2005
    Location
    proxima centaury
    Posts
    33
    Rep Power
    9

    Arrow Java_home on OsX

    from nigelkersten:
    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.
    Last edited by s3nz3x; 11-30-2005 at 02:01 PM.
    running Mac Os X

  7. #17
    hollow is offline New Member
    Join Date
    Dec 2005
    Posts
    4
    Rep Power
    9

    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 03:42 AM.

  8. #18
    s3nz3x is offline Project Contributor
    Join Date
    Nov 2005
    Location
    proxima centaury
    Posts
    33
    Rep Power
    9

    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
    Last edited by s3nz3x; 12-13-2005 at 11:55 AM.
    running Mac Os X

  9. #19
    hollow is offline New Member
    Join Date
    Dec 2005
    Posts
    4
    Rep Power
    9

    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

  10. #20
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    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?

Page 2 of 4 FirstFirst 1234 LastLast

LinkBacks (?)

  1. 06-14-2007, 11:41 PM

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.
    By jawad@cogilent.com in forum Installation
    Replies: 11
    Last Post: 07-09-2007, 08:09 AM
  2. Replies: 16
    Last Post: 11-29-2006, 10:36 AM
  3. Replies: 4
    Last Post: 01-18-2006, 11:58 AM
  4. 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
  •