zmztozmig does not want to work properly

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
irrazionalle
Posts: 2
Joined: Thu May 30, 2019 12:42 am

zmztozmig does not want to work properly

Postby irrazionalle » Thu May 30, 2019 1:09 am

Ubuntu 16.04.6 LTS
Zimbra 8.8.12_GA_3803.FOSS
zimbra@:~/conf$ zmcontrol status
Host **.****ra.ru
amavis Running
antispam Running
antivirus Running
dnscache Running
ldap Running
logger Running
mailbox Running
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Running
snmp Running
spell Running
stats Running
zimbra webapp Running
zimbraAdmin webapp Running
zimlet webapp Running
zmconfigd Running

zimbra@****ra:~/conf$ java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)


zimbra@****ra:~/conf$ /opt/zimbra/libexec/zmztozmig -f /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 05/30/2019 03:54:21]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf
[INFO|main:1| 05/30/2019 03:54:21]: Version: 1.4
[INFO|main:1| 05/30/2019 03:54:21]: Processing Domain: ****ra.ru
Creating account list....
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException
at com.zimbra.zcsprov.ZCSACProvision.<init>(ZCSACProvision.java:52)
at com.zimbra.tarformatter.tarFormatter.Init(tarFormatter.java:539)
at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:801)
Caused by: java.lang.ClassNotFoundException: javax.xml.soap.SOAPException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 3 more

Try another java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.16.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

But all same.

Do you have any idea, comrades?


jholder
Zimbra Employee
Zimbra Employee
Posts: 4686
Joined: Fri Sep 12, 2014 10:00 pm

Re: zmztozmig does not want to work properly

Postby jholder » Thu May 30, 2019 4:35 am

This is a very old tool and has been replaced with the NG modules.

However, if your'e feeling adventurous, you could put the jar class inside the lib folder. This is wholly unsupported, but what you'd need to do is find the jar file that provides the class: javax/xml/soap/SOAPException (also writen as javax.xml.soap.SOAPException

Classes can be found on Maven. If you don't know what any of that is, then you should just not use ztoz and use imapsync.
irrazionalle
Posts: 2
Joined: Thu May 30, 2019 12:42 am

Re: zmztozmig does not want to work properly

Postby irrazionalle » Sat Jun 08, 2019 8:33 pm

Thank you for your answer. However, I am roll back to Zimbra 8.8.9, and zmztoz works perfectly without any changes inside jar files.
Anyway, can you explain to me another way to sync Zimbra servers in case, when web client doesn't work (old server)?

I try to use zmztoz cause imapsync give me an error and do not work at all.

I reffer to wiki here https://wiki.zimbra.com/wiki/Zimbra_to_Zimbra_Migration

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 6 guests