Results 1 to 7 of 7

Thread: service.FAILURE: system failure: getting database connection

  1. #1
    ScottCall is offline Trained Alumni
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    6

    Default service.FAILURE: system failure: getting database connection

    I have 2.0 b1 on OSX 10.5 system running against 5.0.15. (6.0 upgrade planned soon).

    My fellow server admin was able to run it just fine, but when I try I get the following error:
    service.FAILURE: system failure: getting database connection

    I have rebooted since installation if that matters.

    I did get an error once about subscribing to mboxgroup7 but all subsequent errors are the getting database connection error.

    Thanks in advance for any help.

  2. #2
    jmhe is offline Zimbra Employee
    Join Date
    Aug 2008
    Posts
    830
    Rep Power
    7

    Default

    can you zip and attach ~/Library/Zimbra Desktop/logs/zdesktop.log?

    Quote Originally Posted by ScottCall View Post
    I have 2.0 b1 on OSX 10.5 system running against 5.0.15. (6.0 upgrade planned soon).

    My fellow server admin was able to run it just fine, but when I try I get the following error:
    service.FAILURE: system failure: getting database connection

    I have rebooted since installation if that matters.

    I did get an error once about subscribing to mboxgroup7 but all subsequent errors are the getting database connection error.

    Thanks in advance for any help.

  3. #3
    ScottCall is offline Trained Alumni
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    6

    Default Java 5 vs 6 seems to be it.

    Here it is. I included the zdesktop.out as well.

    I just figured something out.

    I have an IP KVM application I have to use everyday that requires Java SE 6, so I made that my default JVM.

    I just switched back to "J2SE 5.0" and was able to launch that app.

    I'm guessing the SQLlite implementation is not compatible with Java 6.

    I don't know if there's some Voodoo that can be done on the App side to tell it to prefer Java 5? Or even better get it to work with both JVMs

    Thanks
    -S
    Attached Files Attached Files

  4. #4
    vasisualy is offline Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Rep Power
    5

    Default

    Thank you for advice.

    I had the similar startup problem

    "
    system failure: getting database connection

    "

    Setting java version 5.0 as default in Mac's Java Preferences.app fixed the issue.

  5. #5
    tfr
    tfr is offline Zimbra Employee
    Join Date
    Oct 2008
    Posts
    29
    Rep Power
    6

    Default

    ZD 2.0 should work with either 1.5 or 1.6, but there is something non-standard about your java install possibly caused by reverting the VM. The "Cannot run Java in 32 bit mode. Continuing in 64 bit mode" error is unique to your install. We run in 32 bit client VM mode to save memory.

    What is the output of

    java -d32 -version

    and

    java -64 -version

    You can try forcing 64 bit mode by editing ~/Library/Zimbra Desktop/bin/zdesktop and changing MAILBOXD_JAVA_OPTIONS to remove "-client -d32", though we have not tested in that configuration

  6. #6
    ScottCall is offline Trained Alumni
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    6

    Default

    I'm just using stock java from Apple.

    As for the output, when JRE is set to 1.6 I get:
    scottcall-2:~ scottcall$ java -d32 -version
    Cannot run Java in 32 bit mode. Continuing in 64 bit mode.
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
    scottcall-2:~ scottcall$ java -d64 -version
    java version "1.6.0_17"
    Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
    Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
    scottcall-2:~ scottcall$

    When I select JRE 1.5 I get:
    scottcall-2:~ scottcall$ java -d32 -version
    java version "1.5.0_22"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
    Java HotSpot(TM) Client VM (build 1.5.0_22-147, mixed mode, sharing)
    scottcall-2:~ scottcall$ java -d64 -version
    java version "1.5.0_22"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03-333-9M3125)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-147, mixed mode)


    I noticed that Apple's "Java Preference" utility only lists 1.6 as 64-bit while it lists 1.5 as two separate entries (32 and 64).

    Some googling around seems to indicate that no offical JRE/JDK 1.6 (32 bit) has been released for OSX 10.5 or 10.6.

    Strangely enough after configuring the client in 1.5 (32-bit) it seems to run happily in 1.6 (64-bit).

    Thanks
    -S

  7. #7
    jbhardman is offline New Member
    Join Date
    Feb 2009
    Posts
    4
    Rep Power
    6

    Default Same thing here

    Same error message here. Running Mac OS 10.5.8 with standard java. The only thing I had done is the past is make 1.6 64 bit my default java in the java preferences. I tried the "-64d" option and that didn't help. I changed my preferences back to running 1.5 32 bit as the default and that did the trick!

    1. Thanks for the tip!
    2. Should probably look into this before final release... but hey, what are beta's for, right?

    Thanks guys.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Installation zimbra Initializing ldap...failed. (28416)
    By farrukh.nadeem in forum Installation
    Replies: 10
    Last Post: 08-14-2009, 06:52 AM
  2. mysql not starting, sort of.
    By lhutton in forum Installation
    Replies: 6
    Last Post: 06-19-2009, 10:45 AM
  3. Replies: 8
    Last Post: 10-19-2008, 09:52 AM
  4. Replies: 4
    Last Post: 08-04-2008, 06:17 PM
  5. [SOLVED] Mailserver down when send file attach of 50Mb
    By ZMilton in forum Administrators
    Replies: 20
    Last Post: 04-10-2008, 11:44 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
  •