ZeXtras Suite Zimlet installation issue
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: ZeXtras Suite Zimlet installation issue

  1. #1
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11

    ZeXtras Suite Zimlet installation issue

    Hello folks,

    Ubuntu 12.04.3 LTS under Hyper-V 2008.
    Zimbra Release 8.0.4.GA.5737.UBUNTU12.64 UBUNTU12_64 FOSS edition.
    ZeXtras Suite 1.8.9

    1st step: #./install.sh core - OK
    ZeXtras Core installation successfully completed.

    2nd step:
    Waiting 60s for Zimbra to initialize ...
    Code:
    Host xxx
            antispam                Running
            antivirus               Running
            ldap                    Running
            logger                  Running
            mailbox                 Running
            mta                     Running
            opendkim                Running
            snmp                    Running
            spell                   Running
            stats                   Running
            zmconfigd               Running
    3rd step: #./install.sh zimlet - Error
    Code:
    Current release: 1.8.9
    Detected ZeXtras Suite Core version 1.8.9
    No preexistent ZeXtras Migration Tool Zimlet installation found.
    No preexistent ZeXtras Suite Zimlet installation found.
    Checking whether the Core is already installed ...
    ZeXtras Suite Core detected.
    Deploying zimlet ...
    
    [] INFO: Deploying on xxx
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: deploy failed on xxx
    java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zextras_zextras.zip on xxx
    ExceptionId:main:1378907472720:655ae3e0a6799e3d
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1497)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            ... 4 more
    [] ERROR: Error
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zextras_zextras.zip on xxx
    ExceptionId:main:1378907472720:655ae3e0a6799e3d
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1497)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            ... 4 more
    
    Zimlet installation failed. Exiting.
    Please advise me.

  2. #2
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Code:
    $zmzimletctl listZimlets
    Installed Zimlet files on this host:
            com_zimbra_adminversioncheck
            com_zimbra_attachcontacts
            com_zimbra_attachmail
            com_zimbra_bulkprovision
            com_zimbra_cert_manager
            com_zimbra_clientuploader
            com_zimbra_date
            com_zimbra_email
            com_zimbra_phone
            com_zimbra_proxy_config
            com_zimbra_srchhighlighter
            com_zimbra_tooltip
            com_zimbra_url
            com_zimbra_viewmail
            com_zimbra_webex
            com_zimbra_ymemoticons
    Installed Zimlets in LDAP:
            com_zimbra_attachcontacts
            com_zimbra_attachmail
            com_zimbra_date
            com_zimbra_email
            com_zimbra_phone
            com_zimbra_srchhighlighter
            com_zimbra_url
            com_zimbra_webex
            com_zimbra_ymemoticons
    Available Zimlets in COS:
      default:
            com_zimbra_attachcontacts
            com_zimbra_attachmail
            com_zimbra_date
            com_zimbra_email
            com_zimbra_phone
            com_zimbra_srchhighlighter
            com_zimbra_url
            com_zimbra_webex
            com_zimbra_ymemoticons
      defaultExternal:
    Code:
    $zxsuite core getVersion
            zextras_version                                     1.8.9
            zextras_target                                      8.0.4
            zextras_commit                                      304e6998fee98f98b81d384008ddf86b137ff839
            zextras_lib_version                                 1.0.0
            zextras_lib_commit                                  2c5e5f8f8a04dcf84cb414205cd4d229c0f4ef48

  3. #3
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Zimbra trace.log after second try:
    Code:
    10:05:26.004:qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/AuthRequest 127.0.0.1 POST null; zmprov 8.0.4_GA_5737
    10:05:26.027:qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/AuthRequest 200 text/xml;charset=UTF-8 487
    10:05:29.754:qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest 127.0.0.1 POST ZM_AUTH_TOKEN=0_ba1112b5d81d1279a6023b0de8c9bdb4eac6e15f_69643d33363a65306661666438392d313336302d313164392d383636312d3030306139356439386566323b6578703d31333a313337383935313532363032313b61646d696e3d313a313b747970653d363a7a696d6272613b; zmprov 8.0.4_GA_5737
    10:05:29.773:qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest 200 text/xml;charset=UTF-8 16101
    10:05:51.897:qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/AuthRequest 127.0.0.1 POST null; zmzimletctl 8.0.4_GA_5737
    10:05:51.915:qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/AuthRequest 200 text/xml;charset=UTF-8 487
    10:05:55.681:qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest 127.0.0.1 POST ZM_AUTH_TOKEN=0_9ddb7fe79def1c572a90c4b44a79b9479f741295_69643d33363a65306661666438392d313336302d313164392d383636312d3030306139356439386566323b6578703d31333a313337383935313535313930363b61646d696e3d313a313b747970653d363a7a696d6272613b; zmzimletctl 8.0.4_GA_5737
    10:05:55.694:qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest 200 text/xml;charset=UTF-8 16101
    Zimbra access_log after second try:
    Code:
    127.0.0.1 -  -  [11/Sep/2013:14:05:26 +0000] "POST /service/admin/soap/AuthRequest HTTP/1.1" 200 487 "-" "zmprov 8.0.4_GA_5737" 23
    127.0.0.1 -  -  [11/Sep/2013:14:05:29 +0000] "POST /service/admin/soap/GetAllServersRequest HTTP/1.1" 200 16101 "-" "zmprov 8.0.4_GA_5737" 19
    127.0.0.1 -  -  [11/Sep/2013:14:05:51 +0000] "POST /service/admin/soap/AuthRequest HTTP/1.1" 200 487 "-" "zmzimletctl 8.0.4_GA_5737" 18
    127.0.0.1 -  -  [11/Sep/2013:14:05:55 +0000] "POST /service/admin/soap/GetAllServersRequest HTTP/1.1" 200 16101 "-" "zmzimletctl 8.0.4_GA_5737" 13
    127.0.0.1 -  -  [11/Sep/2013:14:10:07 +0000] "POST /service/admin/soap/AuthRequest HTTP/1.1" 200 487 "-" "zmprov 8.0.4_GA_5737" 17
    127.0.0.1 -  -  [11/Sep/2013:14:10:11 +0000] "POST /service/admin/soap/GetAllServersRequest HTTP/1.1" 200 16101 "-" "zmprov 8.0.4_GA_5737" 18
    Zimbra audit.log after second try:
    Code:
    2013-09-11 10:05:26,011 INFO  [qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] security - cmd=AdminAuth; account=zimbra;
    2013-09-11 10:05:26,021 INFO  [qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] security - cmd=Auth; account=zimbra; protocol=soap;
    2013-09-11 10:05:51,903 INFO  [qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmzimletctl/8.0.4_GA_5737;] security - cmd=AdminAuth; account=zimbra;
    2013-09-11 10:05:51,906 INFO  [qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmzimletctl/8.0.4_GA_5737;] security - cmd=Auth; account=zimbra; protocol=soap;
    2013-09-11 10:10:07,423 INFO  [qtp719953478-263:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] security - cmd=AdminAuth; account=zimbra;
    2013-09-11 10:10:07,426 INFO  [qtp719953478-263:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] security - cmd=Auth; account=zimbra; protocol=soap;
    Zimbra mailbox.log after second try:
    Code:
    2013-09-11 10:05:26,026 INFO  [qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] soap - AuthRequest elapsed=15
    2013-09-11 10:05:29,762 INFO  [qtp719953478-230:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] soap - GetAllServersRequest elapsed=5
    2013-09-11 10:05:51,914 INFO  [qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmzimletctl/8.0.4_GA_5737;] soap - AuthRequest elapsed=11
    2013-09-11 10:05:55,689 INFO  [qtp719953478-234:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest] [name=zimbra;ip=127.0.0.1;ua=zmzimletctl/8.0.4_GA_5737;] soap - GetAllServersRequest elapsed=5
    2013-09-11 10:10:07,431 INFO  [qtp719953478-263:https://127.0.0.1:7071/service/admin/soap/AuthRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] soap - AuthRequest elapsed=8
    2013-09-11 10:10:11,635 INFO  [qtp719953478-265:https://127.0.0.1:7071/service/admin/soap/GetAllServersRequest] [name=zimbra;ip=127.0.0.1;ua=zmprov/8.0.4_GA_5737;] soap - GetAllServersRequest elapsed=5

  4. #4
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    DEBUG mode error related log:
    Code:
    + '[' 1.8.9 '!=' 1.8.9 ']'
    + echo 'Deploying zimlet ...'
    Deploying zimlet ...
    + echo ''
    
    + /opt/zimbra/bin/zmzimletctl deploy packages/common/com_zextras_zextras.zip
    [] INFO: Deploying on xxx
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: deploy failed on xxx
    java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zextras_zextras.zip on xxx
    ExceptionId:main:1378909754184:df95d78a00b2bfd7
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1497)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            ... 4 more
    [] ERROR: Error
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zextras_zextras.zip on xxx
    ExceptionId:main:1378909754184:df95d78a00b2bfd7
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:258)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1497)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1408)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1184)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1808)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1907)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
            at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
            at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
            at java.net.Socket.connect(Socket.java:579)
            at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:309)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:238)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:167)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:386)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:349)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1638)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1475)
            ... 4 more
    + '[' 1 -ne 0 ']'
    + echo ''
    
    + echo 'Zimlet installation failed. Exiting.'
    Zimlet installation failed. Exiting.

  5. #5
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,360
    Hello YVaschuk,
    welcome to the forums!

    It looks like there are some connection issues during the deployment... Please make sure that your SSL certificates are properly set up and, if you are running a multiserver environment, that the keys are correctly set up on all servers... Other things that might affect this are mailboxd's bindings and the server's "max upload size" setting (as it also applies to Zimlets).

    Once you cecked this, could you please try to manually deploy another zimlet using the Zimbra CLI? Any zimlet will do, I'd just like to understand if this is a general issue or it's strictly related to the com_zextras_zextras zimlet...


    Have a nice day
    (and kudos for the WONDERFUL report)

    Cine
    the ZeXtras Team

  6. #6
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Hi Cine,

    Zimbra was installed and the CA certificate was updated before ZeXtras installation:

    Code:
    $ sudo /opt/zimbra/bin/zmcertmgr createcrt -new -days 3650 -subject "/C=Country/ST=State/L=City/O=Organization/OU=Company/CN=public_dns_name"
    $ sudo /opt/zimbra/bin/zmcertmgr createcrt -new -days 3650 -subjectAltNames "public_ip,local_short_dns_name,local_dns_name,local_ip,local_short_name_no_dns_suffix,local_name_no_dns_suffix"
    $ sudo /opt/zimbra/bin/zmcertmgr deploycrt self -allserver
    Zimbra was restarted and server was rebooted.
    Code:
    $ sudo /opt/zimbra/bin/zmcertmgr viewdeployedcrt
    ::service mta::
    notBefore=Sep  9 13:30:40 2013 GMT
    notAfter=Sep  7 13:30:40 2023 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    SubjectAltName= public_dns_name, local_ip, public_ip, local_short_name_no_dns_suffix, local_short_dns_name, local_name_no_dns_suffix, local_dns_name
    ::service proxy::
    notBefore=Sep  9 13:30:40 2013 GMT
    notAfter=Sep  7 13:30:40 2023 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    SubjectAltName= public_dns_name, local_ip, public_ip, local_short_name_no_dns_suffix, local_short_dns_name, local_name_no_dns_suffix, local_dns_name
    ::service mailboxd::
    notBefore=Sep  9 13:30:40 2013 GMT
    notAfter=Sep  7 13:30:40 2023 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    SubjectAltName= public_dns_name, local_ip, public_ip, local_short_name_no_dns_suffix, local_short_dns_name, local_name_no_dns_suffix, local_dns_name
    ::service ldap::
    notBefore=Sep  9 13:30:40 2013 GMT
    notAfter=Sep  7 13:30:40 2023 GMT
    subject= /C=US/ST=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    issuer= /C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Server/OU=Zimbra Collaboration Server/CN=public_dns_name
    SubjectAltName= public_dns_name, local_ip, public_ip, local_short_name_no_dns_suffix, local_short_dns_name, local_name_no_dns_suffix, local_dns_name
    Last edited by YVaschuk; 09-13-2013 at 04:07 PM.

  7. #7
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,360
    Quote Originally Posted by YVaschuk View Post
    Hi Cine,

    Zimbra was installed and the CA certificate was updated before ZeXtras installation:

    [...]
    Zimbra was restarted and servers was rebooted.
    [...]
    Hello YVaschuk!

    Ok, one possible cause ruled out... Could you manage to manually deploy another zimlet on the server?

    Have a nice day,
    Cine
    the ZeXtras Team

  8. #8
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Test-Case Zimlet: Address Check Zimlet | Zimbra :: Gallery

    Code:
    # /opt/zimbra/bin/zmzimletctl deploy jp_miraitsystems_addresscheck.zip
    [] INFO: Deploying on xxx
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: deploy failed on xxx
    java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
    ...

  9. #9
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Code:
    # su - zimbra
    $ cat /etc/hosts
    127.0.0.1       localhost.localdomain   localhost
    127.0.1.1       local_dns_name   local_name_no_dns_suffix
    192.168.x.x     local_dns_name   local_name_no_dns_suffix
    192.168.x.x     local_ad_dns_server       local_ad_dns_server_no_dns_suffix
    192.168.x.x     local_ad_dns_server       local_ad_dns_server_no_dns_suffix
    
    # The following lines are desirable for IPv6 capable hosts
    #::1     ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters

  10. #10
    Active Member
    Join Date
    Sep 2013
    Location
    Canada
    Posts
    11
    Code:
    $ dig +short `zmhostname`
    public_ip
    Code:
    ~$ dig +short -x public_ip
    public_dns_name.
    Code:
    ~$ netstat -ntpl
    (Not all processes could be identified, non-owned process info
     will not be shown, you would have to be root to see it all.)
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 127.0.0.1:10663         0.0.0.0:*               LISTEN      40852/zmlogger: zmr
    tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      3191/amavisd (maste
    tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:10026         0.0.0.0:*               LISTEN      3191/amavisd (maste
    tcp        0      0 127.0.0.1:7306          0.0.0.0:*               LISTEN      2919/mysqld
    tcp        0      0 127.0.0.1:10027         0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:10028         0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:10029         0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:10030         0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:10032         0.0.0.0:*               LISTEN      3191/amavisd (maste
    tcp        0      0 127.0.0.1:80            0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:8465          0.0.0.0:*               LISTEN      3450/opendkim
    tcp        0      0 0.0.0.0:7025            0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:8735            0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:7071          0.0.0.0:*               LISTEN      -
    tcp        0      0 local_ip:7071           0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:7072            0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      -
    tcp        0      0 127.0.0.1:7171          0.0.0.0:*               LISTEN      39879/java
    tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      -
    tcp        0      0 0.0.0.0:7780            0.0.0.0:*               LISTEN      3557/httpd
    tcp        0      0 public_ip:389           0.0.0.0:*               LISTEN      -
    Last edited by YVaschuk; 09-13-2013 at 04:20 PM.

Page 1 of 2 12 LastLast

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
  •