Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: [SOLVED] Can't deploy zimlet

  1. #1
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Unhappy [SOLVED] Can't deploy zimlet

    Hi,

    I get error during trying deploy any zimlet, I'm logged as zimbra (su - zimbra) , the error is :
    Code:
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: deploy failed on xxxx.com
    java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:529)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:292)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:286)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:43)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:236)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:162)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:356)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:319)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1630)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1467)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1400)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1176)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1797)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1894)
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zimbra_ymaps.zip on xxxx.com
    ExceptionId:main:1297031734537:e448725c6b73b3e2
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1489)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1400)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1176)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1797)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1894)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:529)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:292)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:286)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:43)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:236)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:162)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:356)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:319)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1630)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1467)
            ... 4 more
    [] ERROR: Error
    com.zimbra.common.service.ServiceException: system failure: Unable to deploy Zimlet com_zimbra_ymaps.zip on xxxx.com
    ExceptionId:main:1297031734537:e448725c6b73b3e2
    Code:service.FAILURE
            at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1489)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimlet(ZimletUtil.java:1400)
            at com.zimbra.cs.zimlet.ZimletUtil.deployZimletBySoap(ZimletUtil.java:1176)
            at com.zimbra.cs.zimlet.ZimletUtil.dispatch(ZimletUtil.java:1797)
            at com.zimbra.cs.zimlet.ZimletUtil.main(ZimletUtil.java:1894)
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
            at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
            at java.net.Socket.connect(Socket.java:529)
            at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:292)
            at com.zimbra.common.net.CustomSSLSocket.connect(CustomSSLSocket.java:286)
            at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:43)
            at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
            at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
            at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
            at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:236)
            at com.zimbra.common.soap.SoapHttpTransport.invoke(SoapHttpTransport.java:162)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:356)
            at com.zimbra.common.soap.SoapTransport.invoke(SoapTransport.java:319)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.auth(ZimletUtil.java:1630)
            at com.zimbra.cs.zimlet.ZimletUtil$ZimletSoapUtil.deployZimletOnServer(ZimletUtil.java:1467)
            ... 4 more
    I must say that I've upgraded zimbra from 6.0.8 to 6.0.10. What's wrong ???

  2. #2
    Join Date
    May 2009
    Location
    Bremen, Germany
    Posts
    122
    Rep Power
    6

    Default

    Maybe your /etc/hosts file is incorrect. Try to ping your Zimbra host and look for the IP adress in the output. Furthermore the zimbra mailboxd must be running.

  3. #3
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    Quote Originally Posted by jummo View Post
    Maybe your /etc/hosts file is incorrect. Try to ping your Zimbra host and look for the IP adress in the output.
    this is correct

    Furthermore the zimbra mailboxd must be running.
    mailboxd is running, proof:
    Code:
    [root@poczta]|/dev/pts/0|13:39| ~]# ps ax | grep mailboxd
    12712 ?        Ss     0:00 /opt/zimbra/libexec/zmmailboxdmgr start -server -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=60 -XX:+UseConcMarkSweepGC -XX:NewRatio=2 -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -Xss256k -Xms4801m -Xmx4801m -Xmn1200m
    12713 ?        Sl     0:41 /opt/zimbra/java/bin/java -server -Djava.awt.headless=true -Dsun.net.inetaddr.ttl=60 -XX:+UseConcMarkSweepGC -XX:NewRatio=2 -XX:PermSize=128m -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -Xss256k -Xms4801m -Xmx4801m -Xmn1200m -Djava.io.tmpdir=/opt/zimbra/mailboxd/work -Djava.library.path=/opt/zimbra/lib -Djava.endorsed.dirs=/opt/zimbra/mailboxd/common/endorsed -Dzimbra.config=/opt/zimbra/conf/localconfig.xml -Djetty.home=/opt/zimbra/mailboxd -DSTART=/opt/zimbra/mailboxd/etc/start.config -jar /opt/zimbra/mailboxd/start.jar /opt/zimbra/mailboxd/etc/jetty.properties /opt/zimbra/mailboxd/etc/jetty-setuid.xml /opt/zimbra/mailboxd/etc/jetty.xml
    27499 pts/0    S+     0:00 grep mailboxd
    [root@poczta]|/dev/pts/0|13:39| ~]#
    so.. maybe this is a new bug in 6.0.10 ?

  4. #4
    Join Date
    May 2009
    Location
    Bremen, Germany
    Posts
    122
    Rep Power
    6

    Default

    I don't think that this is a bug. I use the same zimbra version on CentOS 5_64 and can deploy zimlets.

    Is the output of hostname and hostname --fqdn correct?

    Can you access the admin console at http://your.server.com:7071 and run zmprov gas?

  5. #5
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    Quote Originally Posted by jummo View Post
    I don't think that this is a bug. I use the same zimbra version on CentOS 5_64 and can deploy zimlets.
    ok
    Is the output of hostname and hostname --fqdn correct?
    yeah, both are the same.. correct
    Can you access the admin console at http://your.server.com:7071 and run zmprov gas?
    I don't know where in admin GUI execute any command , anyway when I type in shell "zmprov gas" I get the same as hostname

  6. #6
    Join Date
    May 2009
    Location
    Bremen, Germany
    Posts
    122
    Rep Power
    6

    Default

    Have you try to deploy the zimlet via the admin console?

  7. #7
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    Quote Originally Posted by jummo View Post
    Have you try to deploy the zimlet via the admin console?
    Now I tried and .. window with mounting zimlet was hang up, in mailboxd.log I got:
    Code:
    2011-02-07 16:10:11,722 INFO  [btpool0-7://mysite.com:7071/service/admin/soap/GetServiceStatusRequest] [name=admin@mysite.com;mid=2;ip=79.110.194.129;ua=ZimbraWebClient - FF3.0 (Linux);] soap - GetServiceStatusRequest
    2011-02-07 16:10:15,270 INFO  [btpool0-7://mysite.com:7071/service/admin/soap/GetAllZimletsRequest] [name=admin@mysite.com;mid=2;ip=79.110.194.129;ua=ZimbraWebClient - FF3.0 (Linux);] soap - GetAllZimletsRequest
    2011-02-07 16:10:39,217 ERROR [btpool0-1://mysite.com:7071/service/upload] [ip=79.110.194.129;ua=Mozilla/5.0 (X11;; U;; Linux i686;; pl;; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13;] log - /service/upload
    java.lang.IllegalStateException: STREAM
            at org.mortbay.jetty.Response.getWriter(Response.java:616)
            at org.mortbay.servlet.GzipFilter$GZIPResponseWrapper.getWriter(GzipFilter.java:358)
            at com.zimbra.cs.service.FileUploadServlet.sendResponse(FileUploadServlet.java:590)
            at com.zimbra.cs.service.FileUploadServlet.doPost(FileUploadServlet.java:391)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            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 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
            at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
            at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
            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:216)
            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:418)
            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.handler.DebugHandler.handle(DebugHandler.java:77)
            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:543)
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:413)
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
    2011-02-07 16:10:44,617 INFO  [btpool0-0://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ip=127.0.0.1;] soap - GetDomainInfoRequest
    2011-02-07 16:11:03,526 INFO  [btpool0-1://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ip=127.0.0.1;] soap - GetDomainInfoRequest
    2011-02-07 16:11:26,639 INFO  [btpool0-10://localhost:7071/service/admin/soap/GetDomainInfoRequest] [ip=127.0.0.1;] soap - GetDomainInfoRequest
    [...]

  8. #8
    Join Date
    May 2009
    Location
    Bremen, Germany
    Posts
    122
    Rep Power
    6

    Default

    Now, I am at my wit's end. Reboot the system .

  9. #9
    Join Date
    Oct 2010
    Posts
    373
    Rep Power
    5

    Default

    Hey loocek, Check these and post the results here.

    # su - zimbra
    $ zmmailboxdctl status
    $ zmcontrol status

    Can you try your stuff after restarting mailbox with "$zmmailboxdctl restart" and see if it helps?

  10. #10
    Join Date
    May 2010
    Location
    Poland
    Posts
    55
    Rep Power
    5

    Default

    First of all.. I've restarted whole server (by shutdown -r), unfortunatelly nothing's change ,

    Quote Originally Posted by fyd View Post
    Hey loocek, Check these and post the results here.

    # su - zimbra
    [root@poczta]|/dev/pts/0|19:40| /var/log]# su - zimbra
    [zimbra@poczta ~]$

    $ zmmailboxdctl status
    [zimbra@poczta ~]$ zmmailboxdctl status
    mailboxd is running.
    [zimbra@poczta ~]$

    $ zmcontrol status
    [zimbra@poczta ~]$ zmcontrol status
    Host xxxx.com
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    stats Running
    [zimbra@poczta ~]$
    Can you try your stuff after restarting mailbox with "$zmmailboxdctl restart" and see if it helps?
    I type:
    [zimbra@poczta ~]$ zmmailboxdctl restart
    Stopping mailboxd...done.
    Starting mailboxd...done.
    [zimbra@poczta ~]$

    nothing

    - iptables is clean
    - in /var/log/messages I have:
    Feb 7 19:34:43 poczta saslauthd: auth_zimbra_init: zimbra_cert_check is off!
    Feb 7 19:34:43 poczta saslauthd: auth_zimbra_init: 1 auth urls initialized for round-robin
    maybe this is wrong ?
    - is there some way to more debug my problem.. deploying ?

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 09:06 AM
  2. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  3. [SOLVED] All Zimlet Deploy Fails Zimbra 4.5.10
    By cantormath in forum Installation
    Replies: 7
    Last Post: 12-22-2007, 06:38 PM
  4. Asterisk Zimlet deploy on 4.5 NE
    By lee in forum Zimlets
    Replies: 7
    Last Post: 02-20-2007, 06:40 PM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 10:38 AM

Posting Permissions

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