Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Need some help getting Zimbra Desktop set up and working?
phoenix
Ambassador
Ambassador
Posts: 26347
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby phoenix » Fri Jul 17, 2015 6:54 am

You're going to have to give some indication of what exactly is the problem and "don't start at all" doesn't mean anything without a full description of the problem and any error messages that you see.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Alexey_Kor
Posts: 8
Joined: Sat Sep 13, 2014 3:00 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby Alexey_Kor » Fri Jul 17, 2015 7:26 am

Apper window with message:
file:///opt/zimbra/zdesktop/linux/prism/modules/WebAppProperties.jsm -> file:///home/alexey/zdesktop/zdesktop.webapp/webapp.js:140
after run installation script:
alexey@owl:/opt/zimbra/zdesktop/linux> /opt/zimbra/zdesktop/linux/user-install.pl
------------------------------
Choose the folder where you would like to install Zimbra Desktop's user data files, full path please [/home/alexey/zdesktop]:


------------------------------
Choose the folder where you would like to create desktop icon [/home/alexey/Desktop]:



Installing user data files...done
Initializing user data...done
Creating desktop icon...done
Zimbra Desktop has been installed successfully for user alexey.

You can start Zimbra Desktop by double-clicking the desktop icon or by running the following command:
"/opt/zimbra/zdesktop/linux/prism/zdclient" -webapp "/home/alexey/zdesktop/zdesktop.webapp" -override "/home/alexey/zdesktop/zdesktop.webapp/override.ini" -profile "/home/alexey/zdesktop/profile"

Press "Enter" to launch Zimbra Desktop; Press "Ctrl-c" to exit:


and if I restart applications I see this message:


Shutting down Jetty: 9824

(process:9774): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(process:9774): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
JRE version 8 is found on your system.
JETTY_HOME     =  /opt/zimbra/zdesktop/jetty
JETTY_RUN      =  /home/alexey/zdesktop/log
JETTY_PID      =  /home/alexey/zdesktop/log/zdesktop.pid
JETTY_CONSOLE  =  /home/alexey/zdesktop/log/zdesktop.out
JETTY_ARGS     =
CONFIGS        =  /home/alexey/zdesktop/jetty/etc/jetty.xml
JAVA_OPTIONS   =  -client -d32 -Xss150k -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/alexey/zdesktop' -Dzimbra.config='/home/alexey/zdesktop/conf/localconfig.xml' -Djava.library.path='/opt/zimbra/zdesktop/jetty/../lib' -Djava.awt.headless=true -Djava.io.tmpdir='/home/alexey/zdesktop/data/tmp/java' -Djava.net.useSystemProxies=true -Dsun.net.inetaddr.ttl=10 -XX:HeapDumpPath='/home/alexey/zdesktop/heapdump/' -XX:+HeapDumpOnOutOfMemoryError -Djetty.home='/opt/zimbra/zdesktop/jetty'
JAVA           =  /usr/bin/java
Starting Jetty:
Jetty running pid=10059

hfinkel
Posts: 2
Joined: Sat Jul 18, 2015 11:26 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby hfinkel » Sat Jul 18, 2015 11:33 am

Having just been through a similar problem on x86_64 Fedora 19, I suspect that you're missing the 32-bit JDK/JRE package. You might have the 64-bit version, but, unfortunately, the 32-bit version is required because zdeskop has a 32-bit shared library that needs to be loaded.



Part of the problem here is that the error won't show up, even on the terminal (let alone the GUI). You need to read the startup script to figure out where the logging messages go. You should look in ${HOME}/zdesktop/log/zdesktop.out -- an actual error is likely to appear there. If I'm right, you'll see an error like this near the end of that log file:



java.lang.UnsatisfiedLinkError: /opt/zimbra/zdesktop/lib/libzimbra-native.so: /opt/zimbra/zdesktop/lib/libzimbra-native.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)



On my x86_64 Fedora 19 machine, I fixed this problem by installing java-1.7.0-openjdk.i686, and then everything worked as expected.
Alexey_Kor
Posts: 8
Joined: Sat Sep 13, 2014 3:00 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby Alexey_Kor » Mon Jul 20, 2015 6:09 am

Thank you for the reply, but I have two versions Java java-1.7 openjdk.i586 and jre 1.8.0_51 x86_64. Zimbra did't start. I stay on previos version now...
hfinkel
Posts: 2
Joined: Sat Jul 18, 2015 11:26 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby hfinkel » Mon Jul 20, 2015 7:50 am

You either need to make sure that the 32-bit one is the default, or that Zimbra explicitly picks up the 32-bit version. Setting JAVA_HOME (either in your environment or by editing the ${HOME}/zdesktop/bin/zdesktop script, should do the trick.



Regardless, you really should look in the ${HOME}/zdesktop/log/zdesktop.out log file -- that should give a better indication of the error.
Alexey_Kor
Posts: 8
Joined: Sat Sep 13, 2014 3:00 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby Alexey_Kor » Mon Jul 20, 2015 9:13 am

Thank You for traing to help me, but I steel can't work with this version of ZD. ZD started, but can't recive message from any account's. Red cyrcle on all accounts list. Logs:

STARTED Jetty Пн июл 20 17:02:13 EEST 2015

ERROR: Unknown condition: *****

ERROR: Unknown condition: BEGIN

ERROR: Unknown condition: LICENSE

ERROR: Unknown condition: BLOCK

ERROR: Unknown condition: *****

ERROR: Unknown condition: Zimbra

ERROR: Unknown condition: Collaboration

ERROR: Unknown condition: Suite

ERROR: Unknown condition: Server

ERROR: Unknown condition: Copyright

ERROR: Unknown condition: (C)

ERROR: Unknown condition: 2007,

ERROR: Unknown condition: 2010,

ERROR: Unknown condition: 2012,

ERROR: Unknown condition: 2013

ERROR: Unknown condition: Zimbra

ERROR: Unknown condition: Software,

ERROR: Unknown condition: LLC.

ERROR: Unknown condition: The

ERROR: Unknown condition: contents

ERROR: Unknown condition: of

ERROR: Unknown condition: this

ERROR: Unknown condition: file

ERROR: Unknown condition: are

ERROR: Unknown condition: subject

ERROR: Unknown condition: to

ERROR: Unknown condition: the

ERROR: Unknown condition: Zimbra

ERROR: Unknown condition: Public

ERROR: Unknown condition: License

ERROR: Unknown condition: Version

ERROR: Unknown condition: 1.4

ERROR: Unknown condition: ("License");

ERROR: Unknown condition: you

ERROR: Unknown condition: may

ERROR: Unknown condition: not

ERROR: Unknown condition: use

ERROR: Unknown condition: this

ERROR: Unknown condition: file

ERROR: Unknown condition: except

ERROR: Unknown condition: in

ERROR: Unknown condition: compliance

ERROR: Unknown condition: with

ERROR: Unknown condition: the

ERROR: Unknown condition: License.

ERROR: Unknown condition: You

ERROR: Unknown condition: may

ERROR: Unknown condition: obtain

ERROR: Unknown condition: a

ERROR: Unknown condition: copy

ERROR: Unknown condition: of

ERROR: Unknown condition: the

ERROR: Unknown condition: License

ERROR: Unknown condition: at

ERROR: Unknown condition: http://www.zimbra.com/license.

ERROR: Unknown condition: Software

ERROR: Unknown condition: distributed

ERROR: Unknown condition: under

ERROR: Unknown condition: the

ERROR: Unknown condition: License

ERROR: Unknown condition: is

ERROR: Unknown condition: distributed

ERROR: Unknown condition: on

ERROR: Unknown condition: an

ERROR: Unknown condition: "AS

ERROR: Unknown condition: IS"

ERROR: Unknown condition: basis,

ERROR: Unknown condition: WITHOUT

ERROR: Unknown condition: WARRANTY

ERROR: Unknown condition: OF

ERROR: Unknown condition: ANY

ERROR: Unknown condition: KIND,

ERROR: Unknown condition: either

ERROR: Unknown condition: express

ERROR: Unknown condition: implied.

ERROR: Unknown condition: *****

ERROR: Unknown condition: END

ERROR: Unknown condition: LICENSE

ERROR: Unknown condition: BLOCK

ERROR: Unknown condition: *****

STOPPED Пн июл 20 17:02:13 EEST 2015

0 INFO [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog

190 INFO [main] log - jetty-6.1.22.z6

252 INFO [main] log - No Transaction manager found - if your webapp requires one, please configure one.

Zimbra server process is running as uid=1000 euid=1000 gid=100 egid=100

Unable to determine platform because /home/alexey/zdesktop/.platform does not exist.

Found SQLite NativeDb from Linux/i386

SQLite library version: 3.7.5

oldDbVersion=65 newDbVersion=65

oldOfflineDbVersion=5 newOfflineDbVersion=5
matchpointok
Posts: 7
Joined: Fri Jul 31, 2015 8:45 pm

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby matchpointok » Fri Jul 31, 2015 8:58 pm

I am also currently running Zimbra Desktop 7.2.5 GA on OpenSuse 13.1 64-bit. When I attempt to run install.pl for 7.2.7 I end up with the error Java SE Runtime Environment (JRE) not found. Please install JRE 1.6 or later. Java -version shows OpenJDK Runtime Environment (build 1.8.0_51-b16) so Java is present but in the 64-bit version. This looks like an incompatibility caused when the JRE was dropped from the installation package. OpenSuse docs say the Open JDK version should work with 32-bit software. Does Zimbra require something else? Anyway to use the JRE from 7.2.5?
PriteshGajjar
Zimbra Employee
Zimbra Employee
Posts: 310
Joined: Tue Mar 31, 2015 4:59 am

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby PriteshGajjar » Sat Aug 01, 2015 9:49 am

Can you try steps mentioned on https://wiki.zimbra.com/wiki/Installing_Zimbra_Desktop_7_on_Ubuntu_Desktop_64bits.

These are specific to Ubuntu, see if you can run similar steps for OpenSuse.
matchpointok
Posts: 7
Joined: Fri Jul 31, 2015 8:45 pm

Zimbra Desktop 7.2.7 on OpenSuSe 13.1 x86_64 don't start at all

Postby matchpointok » Sat Aug 01, 2015 10:18 am

How to Install Zimbra Desktop 7.2.7 on 64-bit OpenSuse 13.1


The OpenJDK installed by default in OpenSuse doesn't work. You have to install Oracle's JRE and you should install the 64-bit version for a 64-bit OpenSuse. Follow the directions at http://en-opensuse.org/SDB:Installing_Java. At the end you should run sudo update-alternatives –-config java and select the 64-bit Oracle version for your computer.


Next download the 32-bit tar file for the Oracle JRE, which for version 8 Update 51 is jre-8u51-linux-i586.tar.gz. Extract the files to the /home/zimbra folder.


At this point install.pl and the user install at /opt/zimbra/zdesktop/linux/user-install.pl will both run to completion even if using the 64-bit JRE. If you attempt to run Desktop you may receive the error the script at file://opt/zimbra/zdesktop/linux/prism/modules/WebAppProperties has stopped. Click the button to stop the script. The log at home/zdesktop/log/zdesktop.out will contain the error This Java instance does not support a 32-bit JVM. Desktop will not run with the 64-bit JRE.


To switch Desktop 7.2.5 to the 32-bit version of Java open the script at /home/zdesktop/bin/zdesktop with Kwrite or other editor. Go to line 214 which reads JAVA=`which java` and comment it out with a hash or number sign. Below the line set JAVA to the path to the extracted 32-bit Java. The final result should look something like this:


#JAVA=`which java`


JAVA='../jre1.8.0_51/bin/java'


Save the file and exit the editor.


Zimbra Desktop 7.2.5 will now run on 64-bit OpenSuse 13.1.



Return to “Installation Help”

Who is online

Users browsing this forum: No registered users and 2 guests