Installation Problem

Need some help getting Zimbra Desktop set up and working?
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Installation Problem

Post by jjzhuang »

I think there are multiple issues reported on this thread. The libzimbra-native.so not loading issue is most likely a binary incompatibility issue. The shared lib is built on ubuntu x86 32bit.
Also installing java is not necessary as the installer for linux comes with jre. BTW we have never tested with 1.6. The bundled version is 1.5.
SpEnTBoY
Advanced member
Advanced member
Posts: 194
Joined: Fri Sep 12, 2014 10:28 pm

Installation Problem

Post by SpEnTBoY »

[quote user="jjzhuang"]I think there are multiple issues reported on this thread. The libzimbra-native.so not loading issue is most likely a binary incompatibility issue. The shared lib is built on ubuntu x86 32bit.
Also installing java is not necessary as the installer for linux comes with jre. BTW we have never tested with 1.6. The bundled version is 1.5.[/QUOTE]
Does the installation path the included jre? For me the only way I could get it installed was to install java. This was consistent through 3 installations now. They all had the open source version installed, I tried installing the client and it failed. I installed the latest jre, and everything worked. *shrug*
SpEnTBoY
Advanced member
Advanced member
Posts: 194
Joined: Fri Sep 12, 2014 10:28 pm

Installation Problem

Post by SpEnTBoY »

Is the included jre used for anything in the actual application, or just for the installer?
I just tried a fresh install on Mandriva 2007.1 and got the same results :confused:
After installing java the install completed and Desktop started.
FYI I get the same errors with log4j


log4j:WARN No appenders could be found for logger (org.apache.commons.httpclient.HttpClient).

log4j:WARN Please initialize the log4j system properly.


But it all started ok. I'll see if I can hunt down log4j for this distro.
Regards,

Lonny
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Installation Problem

Post by jjzhuang »

The included jre are used by both the installer and zdesktop runtime. We have only tested on ubuntu with no java installed and it worked for us. We have not tested on other linux variants and not sure why in some cases it doesn't work. Thanks!
nwatson
Posts: 10
Joined: Fri Sep 12, 2014 10:27 pm

Installation Problem

Post by nwatson »

I'm having a similar problem.

My machine is Ubuntu 7.04 (feisty) on a Hyper-Threading Pentium 4, running the stock Ubuntu kernel: Linux erkling 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux
My install hangs in the same place (never starts the service), and apparently does this regardless of operating system - I've tried it on the same machine in Windows XP Home Edition.
I'm running the process as root (sudo) and installing to /opt/zimbra/zdesktop. The process doesn't seem to ever write to a log file, but the output of the stack trace is dumped on the terminal when I kill -3 the process. Here are the contents of that:
Full thread dump Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode):
"Timer-0" daemon prio=1 tid=0xaa58f220 nid=0xe57 in Object.wait() [0xa9ba4000..0xa9ba4fb0]

at java.lang.Object.wait(Native Method)

- waiting on (a java.util.TaskQueue)

at java.util.TimerThread.mainLoop(Unknown Source)

- locked (a java.util.TaskQueue)

at java.util.TimerThread.run(Unknown Source)
"TimerQueue" daemon prio=1 tid=0xaa557cc8 nid=0xe55 in Object.wait() [0xa9cd5000..0xa9cd6030]

at java.lang.Object.wait(Native Method)

- waiting on (a javax.swing.TimerQueue)

at javax.swing.TimerQueue.run(Unknown Source)

- locked (a javax.swing.TimerQueue)

at java.lang.Thread.run(Unknown Source)
"AWT-EventQueue-0" prio=1 tid=0x08403ad8 nid=0xe52 in Object.wait() [0xa9d5e000..0xa9d5eeb0]

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Unknown Source)

at java.awt.EventQueue.getNextEvent(Unknown Source)

- locked (a java.awt.EventQueue)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)
"AWT-Shutdown" prio=1 tid=0x083ea7c8 nid=0xe51 in Object.wait() [0xa9ddf000..0xa9ddff30]

at java.lang.Object.wait(Native Method)

- waiting on (a java.lang.Object)

at java.lang.Object.wait(Unknown Source)

at sun.awt.AWTAutoShutdown.run(Unknown Source)

- locked (a java.lang.Object)

at java.lang.Thread.run(Unknown Source)
"AWT-XAWT" daemon prio=1 tid=0x083a15b0 nid=0xe4f runnable [0xa9ee1000..0xa9ee1e30]

at sun.awt.X11.XToolkit.waitForEvents(Native Method)

at sun.awt.X11.XToolkit.run(Unknown Source)

at sun.awt.X11.XToolkit.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" daemon prio=1 tid=0x0838ce10 nid=0xe4e in Object.wait() [0xa9f85000..0xa9f860b0]

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

- locked (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at sun.java2d.Disposer.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
"Low Memory Detector" daemon prio=1 tid=0xaa5019d0 nid=0xe4c runnable [0x00000000..0x00000000]
"CompilerThread0" daemon prio=1 tid=0xaa500598 nid=0xe4b waiting on condition [0x00000000..0xaa6f8a18]
"Signal Dispatcher" daemon prio=1 tid=0x080c8818 nid=0xe4a runnable [0x00000000..0x00000000]
"Finalizer" daemon prio=1 tid=0x080be018 nid=0xe49 in Object.wait() [0xaa83c000..0xaa83cf30]

at java.lang.Object.wait(Native Method)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

- locked (a java.lang.ref.ReferenceQueue$Lock)

at java.lang.ref.ReferenceQueue.remove(Unknown Source)

at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=1 tid=0x080bc1b0 nid=0xe48 in Object.wait() [0xaa8bd000..0xaa8bddb0]

at java.lang.Object.wait(Native Method)

at java.lang.Object.wait(Unknown Source)

at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)

- locked (a java.lang.ref.Reference$Lock)
"main" prio=1 tid=0x0805d260 nid=0xe46 waiting on condition [0xbf9d2000..0xbf9d2c38]

at java.lang.Thread.sleep(Native Method)

at I4jScript_Internal_28.eval(I4jScript_Internal_28.java:20)

at I4jScript_Internal_28.evaluate(I4jScript_Internal_28.java:48)

at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)

at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)

at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)

at com.install4j.runtime.installer.Installer.main(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)
"VM Thread" prio=1 tid=0x080b7e70 nid=0xe47 runnable
"VM Periodic Task Thread" prio=1 tid=0xaa503088 nid=0xe4d waiting on condition
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Installation Problem

Post by jjzhuang »

Right. The stack trace is for the installer. Can you also check to see if there's another java process running? The installer is blocked on waiting for the zdesktop service process, which is also a java process, to finish initialization. If the zdesktop service somehow is wedged, then the installer will be blocked for a bout 3 minutes until it times out and exits.
If you can find the other java process, do a "kill -3" on that process and post the stack please. Thanks!
nwatson
Posts: 10
Joined: Fri Sep 12, 2014 10:27 pm

Installation Problem

Post by nwatson »

There is only one java process running, and also a zdesktop_unix_0.
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Installation Problem

Post by jjzhuang »

OK in that case the zdesktop process is not running at all. Do you see any thing under /log? There should be a zdesktop.out and zdesktop.err. There may also be a mailbox.log.
nwatson
Posts: 10
Joined: Fri Sep 12, 2014 10:27 pm

Installation Problem

Post by nwatson »

I can't find anything that looks vaguely like a log file. Nothing in logs/.
jjzhuang
Elite member
Elite member
Posts: 1687
Joined: Fri Sep 12, 2014 10:24 pm

Installation Problem

Post by jjzhuang »

Not in logs. All logs are under /log.
Post Reply