Zimbra Desktop 7.3 not working in Ubuntu 12.04 LTS

Need some help getting Zimbra Desktop set up and working?
Post Reply
Paladinemishakal
Posts: 48
Joined: Sat Sep 13, 2014 2:37 am

Zimbra Desktop 7.3 not working in Ubuntu 12.04 LTS

Post by Paladinemishakal »

Hi All,

I have a test environment where I got this VM running Ubuntu 12.04.5 LTS. I downloaded the x64 Zimbra desktop and installed it. I followed the installation instruction but I cannot get ZD to run in the Ubuntu.

Thing to note:
1. Install the JRE as mentioned in the guide: apt-get install default-jre
2. Untar the binary
3. Sudo to root and then run the install.pl command.

Code: Select all

root@test-env:/home/lawrence/zdesktop_7_3_0_ga_b13060_linux_x64# ./install.pl
Welcome to Zimbra Desktop setup wizard. This will install Zimbra Desktop on your computer.
------------------------------
Press enter to continue:

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.  SYNACOR INC. WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
License Terms for this Zimbra Desktop Software: http://www.zimbra.com/license/zimbra_public_eula.html

------------------------------
(A)ccept or (D)ecline [A]: A
------------------------------
Choose the folder where you would like to install Zimbra Desktop's application files [/opt/zimbra/zdesktop]:

Installing application files...done

You have finished installing application files.

Would you like to continue to install data files for user: root ?
------------------------------
(Y)es or (N)o [N]: N

To install data files for additional users, please login as the user and run this command:
/opt/zimbra/zdesktop/linux/user-install.pl
4. I login as another user "test1" on the same machine and run the user-install.pl but there are some permission issues on the default install. Need to change the owner to test1:users to /opt/zimbra/zdesktop/linux/node-webkit.
5. Got another error

Code: Select all

test1@test-env:~$ /opt/zimbra/zdesktop/linux/zdrun.pl
/home/test1/zdesktop/bin/zdesktop: 212: [: Linux: unexpected operator
JRE version 6 is found on your system.
JETTY_HOME     =  /opt/zimbra/zdesktop/jetty
JETTY_RUN      =  /home/test1/zdesktop/log
JETTY_PID      =  /home/test1/zdesktop/log/zdesktop.pid
JETTY_CONSOLE  =  /home/test1/zdesktop/log/zdesktop.out
JETTY_ARGS     =  
CONFIGS        =  /home/test1/zdesktop/jetty/etc/jetty.xml
JAVA_OPTIONS   =  -client -Djava.awt.headless=true -Xms128m -Xmx1024m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:NewRatio=4 -XX:TargetSurvivorRatio=70 -XX:+UseConcMarkSweepGC -DSTART='/opt/zimbra/zdesktop/jetty/etc/start.config' -Dzimbra.home='/home/test1/zdesktop' -Dzimbra.config='/home/test1/zdesktop/conf/localconfig.xml' -Djava.library.path='/opt/zimbra/zdesktop/jetty/../lib' -Djava.awt.headless=true -Djava.io.tmpdir='/home/test1/zdesktop/data/tmp/java' -Djava.net.useSystemProxies=true -Dsun.net.inetaddr.ttl=10 -XX:HeapDumpPath='/home/test1/zdesktop/heapdump/' -XX:+HeapDumpOnOutOfMemoryError -Djetty.home='/opt/zimbra/zdesktop/jetty'
JAVA           =  /usr/bin/java
Starting Jetty: 
Stale pid file removed: /home/test1/zdesktop/log/zdesktop.pid
Jetty running pid=6762
nohup: redirecting stderr to stdout
/opt/zimbra/zdesktop/linux/node-webkit/zdesktop: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
test1@test-env:~$
Solve that by installing : apt-get install libxss1

6. Able to run but still got problem

Code: Select all

HTTP ERROR 500

Problem accessing /zimbra/desktop/login.jsp. Reason:

    com/zimbra/cs/taglib/tag/LoginTag : Unsupported major.minor version 51.0
Caused by:

java.lang.UnsupportedClassVersionError: com/zimbra/cs/taglib/tag/LoginTag : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:648)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:272)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:68)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:207)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:201)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:200)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:392)
	at org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:363)
	at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1411)
	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1665)
	at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1896)
	at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1155)
	at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1466)
	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1665)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:181)
	at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:239)
	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:140)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:435)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:608)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:360)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:814)
	at com.zimbra.webClient.servlet.JspServlet.service(JspServlet.java:64)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
	at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
	at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:239)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:218)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:422)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:585)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:971)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:415)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:429)
	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Any help?

Thanks & Regards.
Paladinemishakal
Posts: 48
Joined: Sat Sep 13, 2014 2:37 am

Re: Zimbra Desktop 7.3 not working in Ubuntu 12.04 LTS

Post by Paladinemishakal »

Also got this in the console

Code: Select all

test1@test-env:~$ /opt/zimbra/zdesktop/linux/zdrun.pl
/home/test1/zdesktop/bin/zdesktop: 212: [: Linux: unexpected operator
JRE version 6 is found on your system.
JETTY_HOME     =  /opt/zimbra/zdesktop/jetty
JETTY_RUN      =  /home/test1/zdesktop/log
JETTY_PID      =  /home/test1/zdesktop/log/zdesktop.pid
JETTY_CONSOLE  =  /home/test1/zdesktop/log/zdesktop.out
JETTY_ARGS     =  
CONFIGS        =  /home/test1/zdesktop/jetty/etc/jetty.xml
JAVA_OPTIONS   =  -client -Djava.awt.headless=true -Xms128m -Xmx1024m -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:NewRatio=4 -XX:TargetSurvivorRatio=70 -XX:+UseConcMarkSweepGC -DSTART='/opt/zimbra/zdesktop/jetty/etc/start.config' -Dzimbra.home='/home/test1/zdesktop' -Dzimbra.config='/home/test1/zdesktop/conf/localconfig.xml' -Djava.library.path='/opt/zimbra/zdesktop/jetty/../lib' -Djava.awt.headless=true -Djava.io.tmpdir='/home/test1/zdesktop/data/tmp/java' -Djava.net.useSystemProxies=true -Dsun.net.inetaddr.ttl=10 -XX:HeapDumpPath='/home/test1/zdesktop/heapdump/' -XX:+HeapDumpOnOutOfMemoryError -Djetty.home='/opt/zimbra/zdesktop/jetty'
JAVA           =  /usr/bin/java
Starting Jetty: 
Stale pid file removed: /home/test1/zdesktop/log/zdesktop.pid
Jetty running pid=6998
nohup: redirecting stderr to stdout
Xlib:  extension "XInputExtension" missing on display ":2".
Xlib:  extension "XInputExtension" missing on display ":2".
[7055:7055:0530/104206:ERROR:gl_surface_glx.cc(386)] GLX 1.3 or later is required.
[7055:7055:0530/104206:ERROR:gl_surface_x11.cc(62)] GLSurfaceGLX::InitializeOneOff failed.
[7055:7055:0530/104206:ERROR:gpu_child_thread.cc(347)] Exiting GPU process due to errors during initialization
Xlib:  extension "XInputExtension" missing on display ":2".
Xlib:  extension "XInputExtension" missing on display ":2".
[7028:7044:0530/104207:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.
[7028:7044:0530/104207:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.
[7028:7028:0530/104331:ERROR:gtk2_key_bindings_handler.cc(129)] Not implemented reached in void libgtk2ui::Gtk2KeyBindingsHandler::BuildGdkEventKeyFromXEvent(const base::NativeEvent &, GdkEventKey *)
test1@test-env:~$
rolo
Posts: 11
Joined: Wed Oct 26, 2016 4:40 pm

Re: Zimbra Desktop 7.3 not working in Ubuntu 12.04 LTS

Post by rolo »

Hi,

Having very similar issues on 16.04 64-bit, see forum here: viewtopic.php?f=25&t=62203

Might be able to help each other out on this one and figure out whats going on.
Post Reply