Results 1 to 2 of 2

Thread: Problemas al Iniciar Servicio mailBox

  1. #1
    Join Date
    Mar 2011
    Posts
    1
    Rep Power
    4

    Default Problemas al Iniciar Servicio mailBox

    Hola buenos dias.
    tengo el siguiente problema, acabo de instalar Zimbra 6, el cual al iniciar los servicios se demora bastante en el servicio MailBox.
    al tratar ingresar con los puertos 7071 o a traves de la Web, se queda cargando y no aparece nada, y en el log me aparece lo siguiente:

    /opt/zimbra/log/mailbox.log

    2011-03-25 13:58:41,231 WARN [main] [] misc - Could not establish a connection to the database. Retrying in 5 seconds.
    com.zimbra.common.service.ServiceException: system failure: getting database connection
    ExceptionId:main:1301075921231:370f6849943de83d
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 313)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 277)
    at com.zimbra.cs.db.DbPool.waitForDatabase(DbPool.jav a:199)
    at com.zimbra.cs.db.DbPool.startup(DbPool.java:190)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:156)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:123)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 125)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:440)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:263)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:685)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:140)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1254)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:517)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:471)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.handler.DebugHandler.doStart(Deb ugHandler.java:127)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:224)
    at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:158)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:985)
    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 org.mortbay.start.Main.invokeMain(Main.java:194)
    at org.mortbay.start.Main.start(Main.java:534)
    at org.mortbay.start.Main.start(Main.java:441)
    at org.mortbay.start.Main.main(Main.java:119)
    Caused by: com.mysql.jdbc.exceptions.MySQLNonTransientConnect ionException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.

    ** BEGIN NESTED EXCEPTION **

    java.net.ConnectException
    MESSAGE: Connection refused

    STACKTRACE:

    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 java.net.Socket.connect(Socket.java:478)
    at java.net.Socket.(Socket.java:375)
    at java.net.Socket.(Socket.java:218)
    at com.mysql.jdbc.StandardSocketFactory.connect(Stand ardSocketFactory.java:256)
    at com.mysql.jdbc.MysqlIO.(MysqlIO.java:271)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2921)
    at com.mysql.jdbc.Connection.(Connection.java:1555)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:285)
    at java.sql.DriverManager.getConnection(DriverManager .java:582)
    at java.sql.DriverManager.getConnection(DriverManager .java:154)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:68)
    at com.zimbra.cs.db.ZimbraConnectionFactory.createCon nection(ZimbraConnectionFactory.java:50)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:294)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:1148)
    at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:96)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 294)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 277)
    at com.zimbra.cs.db.DbPool.waitForDatabase(DbPool.jav a:199)
    at com.zimbra.cs.db.DbPool.startup(DbPool.java:190)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:156)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:123)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 125)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:440)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:263)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:685)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:140)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1254)
    at org.mortbay.jetty.handler.ContextHandler.doStart(C ontextHandler.java:517)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(Web AppContext.java:471)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.jetty.handler.ContextHandlerCollection .doStart(ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStar t(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.handler.DebugHandler.doStart(Deb ugHandler.java:127)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(H andlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:224)
    at org.mortbay.setuid.SetUIDServer.doStart(SetUIDServ er.java:158)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:985)
    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 org.mortbay.start.Main.invokeMain(Main.java:194)
    at org.mortbay.start.Main.start(Main.java:534)
    at org.mortbay.start.Main.start(Main.java:441)
    at org.mortbay.start.Main.main(Main.java:119)


    ** END NESTED EXCEPTION **


    Attempted reconnect 3 times. Giving up.
    at com.mysql.jdbc.SQLError.createSQLException(SQLErro r.java:888)
    at com.mysql.jdbc.Connection.createNewIO(Connection.j ava:2997)
    at com.mysql.jdbc.Connection.(Connection.java:1555)
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonReg isteringDriver.java:285)
    at java.sql.DriverManager.getConnection(DriverManager .java:582)
    at java.sql.DriverManager.getConnection(DriverManager .java:154)
    at org.apache.commons.dbcp.DriverManagerConnectionFac tory.createConnection(DriverManagerConnectionFacto ry.java:68)
    at com.zimbra.cs.db.ZimbraConnectionFactory.createCon nection(ZimbraConnectionFactory.java:50)
    at org.apache.commons.dbcp.PoolableConnectionFactory. makeObject(PoolableConnectionFactory.java:294)
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:1148)
    at org.apache.commons.dbcp.PoolingDataSource.getConne ction(PoolingDataSource.java:96)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 294)
    ... 39 more

    [root@mail db]# vim /opt/zimbra/log/mailbox.log
    2011-03-25 11:59:33,396 INFO [main] [] soap - Servlet SoapServlet starting up
    2011-03-25 11:59:33,522 INFO [main] [] soap - Adding service AccountService to SoapServlet
    2011-03-25 11:59:33,718 INFO [main] [] soap - Adding service MailService to SoapServlet
    2011-03-25 11:59:34,531 INFO [main] [] soap - Adding service IMService to SoapServlet
    2011-03-25 11:59:34,653 INFO [main] [] misc - version=6.0.12_GA_2883 release=20110306010832 builddate=20110306-0111 buildhost=zre-rhel5.eng.vmware.com
    2011-03-25 11:59:34,656 INFO [main] [] misc - LANG environment is set to: C
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.home=/opt/zimbra/jdk1.6.0_24/jre
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.runtime.version=1.6.0_24-b07
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.version=1.6.0_24
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.vm.info=mixed mode
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.vm.name=Java HotSpot(TM) Server VM
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property java.vm.version=19.1-b02
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property os.arch=i386
    2011-03-25 11:59:34,656 INFO [main] [] misc - System property os.name=Linux
    2011-03-25 11:59:34,657 INFO [main] [] misc - System property os.version=2.6.18-128.el5
    2011-03-25 11:59:34,657 INFO [main] [] misc - System property sun.arch.data.model=32
    2011-03-25 11:59:34,657 INFO [main] [] misc - System property sun.cpu.endian=little
    2011-03-25 11:59:34,657 INFO [main] [] misc - System property sun.cpu.isalist=
    2011-03-25 11:59:34,657 INFO [main] [] misc - System property sun.os.patch.level=unknown
    2011-03-25 11:59:35,153 INFO [main] [] system - Setting mysql connector property: maxActive=100
    2011-03-25 11:59:35,191 INFO [main] [] system - Setting mysql connector property: maxActive=100
    2011-03-25 11:59:35,220 INFO [main] [] dbconn - instantiating DB connection factory class com.zimbra.cs.db.ZimbraConnectionFactory
    2011-03-25 11:59:39,763 WARN [main] [] misc - Could not establish a connection to the database. Retrying in 5 seconds.
    com.zimbra.common.service.ServiceException: system failure: getting database connection
    ExceptionId:main:1301068779757:ef27ad338852cb8a
    Code:service.FAILURE
    at com.zimbra.common.service.ServiceException.FAILURE (ServiceException.java:248)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 313)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 277)
    at com.zimbra.cs.db.DbPool.waitForDatabase(DbPool.jav a:199)
    at com.zimbra.cs.db.DbPool.startup(DbPool.java:190)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:156)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:123)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 125)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:241)
    at org.mortbay.jetty.servlet.ServletHolder.initServle t(ServletHolder.java:440)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(Se rvletHolder.java:263)
    at org.mortbay.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:50)
    at org.mortbay.jetty.servlet.ServletHandler.initializ e(ServletHandler.java:685)
    at org.mortbay.jetty.servlet.Context.startContext(Con text.java:140)
    at org.mortbay.jetty.webapp.WebAppContext.startContex t(WebAppContext.java:1254)



    Por favor, ojalas me puedan ayudar.

  2. #2
    Join Date
    Nov 2007
    Location
    Lima-Peru
    Posts
    33
    Rep Power
    8

    Default

    Please next time write your question in english, I'm sure more people will understand your question.

    The problem is that mailboxd cannot connect to the MySQL server. Check for its log in /opt/zimbra/log/mysql_error.log

    Best regards,

    Sergio Aguayo

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. Replies: 9
    Last Post: 10-26-2010, 03:27 AM
  3. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 05:32 PM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM

Posting Permissions

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