zeextras migration tool install error 2.4.2
Results 1 to 7 of 7

Thread: zeextras migration tool install error 2.4.2

  1. #1
    Active Member
    Join Date
    Nov 2016
    Posts
    5

    zeextras migration tool install error 2.4.2

    Good day, i have a problem to install zextras migration tool 2.4.2 on ubuntu 8.04 and 7.2.6 Zimbra open sourse verison.

    Checking whether the Core is already installed ...

    ZeXtras Migration Tool Core detected.

    Deploying zimlet ...

    [] INFO: I/O exception (java.net.ConnectException) caught when processing reques t: Connection refused
    [] INFO: Retrying request
    com.zimbra.cs.account.AccountServiceException: no such zimlet: com_zextras_zxmig
    ExceptionId:main:1478506114213:b707fb2180587707
    Code:account.NO_SUCH_ZIMLET
    at com.zimbra.cs.account.AccountServiceException.NO_S UCH_ZIMLET(AccountS erviceException.java:231)
    at com.zimbra.cs.zimlet.ZimletUtil.setPriority(Zimlet Util.java:1083)
    at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1826)
    at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1897)
    [] INFO: I/O exception (java.net.ConnectException) caught when processing reques t: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: j ava.net.ConnectException Connection refused)
    [] INFO: I/O exception (java.net.ConnectException) caught when processing reques t: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: j ava.net.ConnectException Connection refused)

    Zimlet installation failed. Exiting.
    .......
    The Zimlet installation has failed. That might be due to an incomplete startup
    of the Zimbra webapp. Please verify Zimbra is up and running, then retry
    the deployment of the zimlet with ./install.sh zimlet .

    I made zmfixperms -extended and have no result
    ./install -d zimlet

    + echo 'ZeXtras Migration Tool Core detected.'
    ZeXtras Migration Tool Core detected.
    + echo ''

    + [[ 2.4.2 != 2.4.2 ]]
    + echo 'Deploying zimlet ...'
    Deploying zimlet ...
    + echo ''

    + local ZIMLET_LOG_FILE
    + ZIMLET_LOG_FILE=/tmp/zextras-zimlet-install-log-22531.txt
    + export ZIMLET_LOG_FILE
    + /opt/zimbra/bin/zmzimletctl listZimlets
    + grep -qi com_zextras_zxmig
    + [[ 1 -eq 0 ]]
    + chown zimbra:zimbra -R /opt/zimbra/zimlets-deployed/com_zextras_zxmig
    + umask 0027
    + sudo -u zimbra /opt/zimbra/bin/zmzimletctl deploy packages/com_zextras_zxmig.zip
    + local exit
    + exit=0
    + grep INFO /tmp/zextras-zimlet-install-log-22531.txt
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    + [[ 0 -ne 0 ]]
    + sleep 15
    + su - zimbra -c '/opt/zimbra/bin/zmzimletctl setPriority com_zextras_zxmig 1'
    com.zimbra.cs.account.AccountServiceException: no such zimlet: com_zextras_zxmig
    ExceptionId:main:1478506649979:327cc3e37e1abbe7
    Code:account.NO_SUCH_ZIMLET
    at com.zimbra.cs.account.AccountServiceException.NO_S UCH_ZIMLET(AccountServiceException.java:231)
    at com.zimbra.cs.zimlet.ZimletUtil.setPriority(Zimlet Util.java:1083)
    at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1826)
    at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1897)
    + /opt/zimbra/bin/zmprov flushCache zimlet
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    + /opt/zimbra/bin/zmprov flushCache zimlet com_zextras_zextras
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    + /opt/zimbra/bin/zmzimletctl listZimlets
    + grep -qi com_zextras_zxmig
    + [[ 1 -ne 0 ]]
    + echo ''

    + echo 'Zimlet installation failed. Exiting.'
    Zimlet installation failed. Exiting.
    + echo .......
    .......
    + echo 'The Zimlet installation has failed. That might be due to an incomplete startup'
    The Zimlet installation has failed. That might be due to an incomplete startup
    + echo 'of the Zimbra webapp. Please verify Zimbra is up and running, then retry'
    of the Zimbra webapp. Please verify Zimbra is up and running, then retry
    + echo 'the deployment of the zimlet with ./install.sh zimlet .'
    the deployment of the zimlet with ./install.sh zimlet .
    + echo .......
    .......
    + logErr 'Zimlet installation failed'
    + logInst 'ERROR Zimlet installation failed'
    dirname "$INSTALL_LOG"
    ++ dirname /opt/zimbra/.zextras_install_history
    + [[ -d /opt/zimbra ]]
    date +%s
    ++ date +%s
    + echo 1478506654 'ERROR Zimlet installation failed'
    + exit 1

    help is needed(

  2. #2
    Active Member
    Join Date
    Nov 2016
    Posts
    5
    after rebooting whithout starting zimbra i have thise

    ZeXtras Migration Tool Core detected.

    Deploying zimlet ...

    com.zimbra.common.service.ServiceException: system failure: ZimbraLdapContext
    ExceptionId:main:1478518166418:431a99ba98916eb0
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:458)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:402)
    at com.zimbra.cs.account.ldap.LdapProvisioning.listAl lZimlets(LdapProvisioning.java:4309)
    at com.zimbra.cs.zimlet.ZimletUtil.listInstalledZimle tsInLdap(ZimletUtil.java:957)
    at com.zimbra.cs.zimlet.ZimletUtil.listAllZimlets(Zim letUtil.java:1001)
    at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1775)
    at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1897)
    Caused by: javax.naming.CommunicationException: mail1.artcustoms.ru:389 [Root exception is java.net.ConnectException: Connection refused]
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:199)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.jav a:116)
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClien t.java:1582)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:267 8)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapC txFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Ldap CtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstanc e(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.ja va:223)
    at javax.naming.ldap.InitialLdapContext.<init>(Initia lLdapContext.java:134)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:438)
    ... 6 more
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:529)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.jndi.ldap.Connection.createSocket(Connecti on.java:338)
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:186)
    ... 19 more
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    com.zimbra.common.service.ServiceException: system failure: ZimbraLdapContext
    ExceptionId:main:1478518183974:b3ef59cd23c6c07d
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:458)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:402)
    at com.zimbra.cs.account.ldap.LdapProvisioning.listAl lZimlets(LdapProvisioning.java:4309)
    at com.zimbra.cs.zimlet.ZimletUtil.orderZimletsByPrio rity(ZimletUtil.java:253)
    at com.zimbra.cs.zimlet.ZimletUtil.setPriority(Zimlet Util.java:1079)
    at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1826)
    at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1897)
    Caused by: javax.naming.CommunicationException: mail1.artcustoms.ru:389 [Root exception is java.net.ConnectException: Connection refused]
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:199)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.jav a:116)
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClien t.java:1582)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:267 8)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapC txFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Ldap CtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstanc e(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.ja va:223)
    at javax.naming.ldap.InitialLdapContext.<init>(Initia lLdapContext.java:134)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:438)
    ... 6 more
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:529)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.jndi.ldap.Connection.createSocket(Connecti on.java:338)
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:186)
    ... 19 more
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    com.zimbra.common.service.ServiceException: system failure: ZimbraLdapContext
    ExceptionId:main:1478518188583:3376ef0b0e70ac1f
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:253)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:458)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:402)
    at com.zimbra.cs.account.ldap.LdapProvisioning.listAl lZimlets(LdapProvisioning.java:4309)
    at com.zimbra.cs.zimlet.ZimletUtil.listInstalledZimle tsInLdap(ZimletUtil.java:957)
    at com.zimbra.cs.zimlet.ZimletUtil.listAllZimlets(Zim letUtil.java:1001)
    at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUti l.java:1775)
    at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.ja va:1897)
    Caused by: javax.naming.CommunicationException: mail1.artcustoms.ru:389 [Root exception is java.net.ConnectException: Connection refused]
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:199)
    at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.jav a:116)
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClien t.java:1582)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:267 8)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:296)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapC txFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Ldap CtxFactory.java:193)
    at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstanc e(LdapCtxFactory.java:136)
    at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext (LdapCtxFactory.java:66)
    at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.ja va:223)
    at javax.naming.ldap.InitialLdapContext.<init>(Initia lLdapContext.java:134)
    at com.zimbra.cs.account.ldap.ZimbraLdapContext.<init >(ZimbraLdapContext.java:438)
    ... 6 more
    Caused by: java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:366)
    at java.net.Socket.connect(Socket.java:529)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.jndi.ldap.Connection.createSocket(Connecti on.java:338)
    at com.sun.jndi.ldap.Connection.<init>(Connection.jav a:186)
    ... 19 more

    Zimlet installation failed. Exiting.
    .......

  3. #3
    CTO ZeXtras Employee d0s0n's Avatar
    Join Date
    Apr 2011
    Posts
    565
    Hi denalden and welcome to our forums!

    this issue is often related to a bad dns/hosts configurations of your zimbra enviroment, can you try to install another zimlet just for test? (plenty of them in the Zimbra Gallery)

    You can find some very similar thread on our forum.

    Have a nice day.
    D0s0n
    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    Head of ZeXtras System Administrators

  4. #4
    Active Member
    Join Date
    Nov 2016
    Posts
    5
    Quote Originally Posted by d0s0n View Post
    Hi denalden and welcome to our forums!

    this issue is often related to a bad dns/hosts configurations of your zimbra enviroment, can you try to install another zimlet just for test? (plenty of them in the Zimbra Gallery)

    You can find some very similar thread on our forum.

    Have a nice day.
    D0s0n
    Hi and thanks for reply, i try to install Google Translator zimlet from Zimbra Gallery, he established whith out problems.
    cat /etc/hosts
    dig +short `zmhostname`
    dig +short -x <IP Address from above>
    shows correct info
    Last edited by denalden; 11-07-2016 at 02:57 PM.

  5. #5
    CTO ZeXtras Employee d0s0n's Avatar
    Join Date
    Apr 2011
    Posts
    565
    Have you tried to install it from GUI (Administration Console) or from CLI (zmzimletctl deploy cmd)?

    I suspect your issue is only from CLI.... can you confirm?

    In any case you can try to install the zextras zimlet also from GUI, the zimlet file is under ./packages/com_zextras_zxmig.zip folder of the installer directory...

    D0s0n
    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    Head of ZeXtras System Administrators

  6. #6
    Active Member
    Join Date
    Nov 2016
    Posts
    5
    Sorry for late reply. I try to install Zextra from GUI, i see Zextras in Administrator Extentions, but i have no zextras on GUI. Also zmzimletctl listZimlets list me zxmig.

  7. #7
    Active Member
    Join Date
    Nov 2016
    Posts
    5
    For now it`s not so important, i made all migrations manualy.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •