Mailbox not starting on Fedora Core 3

Ask questions about your setup or get help installing ZCS server (ZD section below).
Linsys
Posts: 19
Joined: Fri Sep 12, 2014 9:55 pm

Mailbox not starting on Fedora Core 3

Postby Linsys » Wed Sep 21, 2005 1:00 pm

Looks like this has something todo with logging into MySQL database "Caused by: java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.sql.SQLException: Access denied for user 'zimbra'@'mail.linsys.homeip.net' (using password: YES)'."
Here is is my /opt/zimbra/tomcat/log/catalina.out:
Sep 21, 2005 7:50:33 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-7070

Sep 21, 2005 7:50:34 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-7071

Sep 21, 2005 7:50:34 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1990 ms

Sep 21, 2005 7:50:34 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Sep 21, 2005 7:50:34 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.7

Sep 21, 2005 7:50:34 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Sep 21, 2005 7:50:34 PM org.apache.catalina.loader.WebappClassLoader validateJarFile

INFO: validateJarFile(/opt/zimbra/tomcat/webapps/zimbra/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Sep 21, 2005 7:50:36 PM org.apache.catalina.loader.WebappClassLoader validateJarFile

INFO: validateJarFile(/opt/zimbra/tomcat/webapps/zimbra/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

Sep 21, 2005 7:50:37 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive service.war

1 INFO [main] [] soap - Servlet SoapServlet starting up

505 INFO [main] [] misc - version=2005.0.0_39.FC3 release=1_ARMSTRONG builddate=20050829-1058 buildhost=wolfowitz.liquidsys.com

15379 FATAL [main] [] system - Config initialization failed

com.zimbra.cs.service.ServiceException: system failure: getting database connection

at com.zimbra.cs.service.ServiceException.FAILURE(ServiceException.java:95)

at com.zimbra.cs.db.DbPool.getConnection(DbPool.java:250)

at com.zimbra.cs.util.Config.init(Config.java:72)

at com.zimbra.cs.util.Config.initConfig(Config.java:99)

at com.zimbra.cs.util.Config.getString(Config.java:111)

at com.zimbra.cs.db.Versions.checkDBVersion(Versions.java:87)

at com.zimbra.cs.db.Versions.checkVersions(Versions.java:82)

at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:119)

at com.zimbra.soap.SoapServlet.init(SoapServlet.java:77)

at javax.servlet.GenericServlet.init(GenericServlet.java:211)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:900)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3823)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4087)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:800)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:695)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)

at org.apache.catalina.core.StandardService.start(StandardService.java:450)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)

at org.apache.catalina.startup.Catalina.start(Catalina.java:537)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

Caused by: java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.sql.SQLException: Access denied for user 'zimbra'@'mail.linsys.homeip.net' (using password: YES)'.
** BEGIN NESTED EXCEPTION **
java.sql.SQLException

MESSAGE: Access denied for user 'zimbra'@'mail.linsys.homeip.net' (using password: YES)
STACKTRACE:
java.sql.SQLException: Access denied for user 'zimbra'@'mail.linsys.homeip.net' (using password: YES)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)

at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3641)

at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1175)

at com.mysql.jdbc.Connection.createNewIO(Connection.java:2669)

at com.mysql.jdbc.Connection.(Connection.java:1474)

at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)

at java.sql.DriverManager.getConnection(DriverManager.java:525)

at java.sql.DriverManager.getConnection(DriverManager.java:140)

at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:97)

at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)

at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)

at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)

at java.sql.DriverManager.getConnection(DriverManager.java:525)

at java.sql.DriverManager.getConnection(DriverManager.java:193)

at com.zimbra.cs.db.DbPool.getConnection(DbPool.java:241)

at com.zimbra.cs.util.Config.init(Config.java:72)

at com.zimbra.cs.util.Config.initConfig(Config.java:99)

at com.zimbra.cs.util.Config.getString(Config.java:111)

at com.zimbra.cs.db.Versions.checkDBVersion(Versions.java:87)

at com.zimbra.cs.db.Versions.checkVersions(Versions.java:82)

at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:119)

at com.zimbra.soap.SoapServlet.init(SoapServlet.java:77)

at javax.servlet.GenericServlet.init(GenericServlet.java:211)

at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1068)

at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:900)

at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3823)

at org.apache.catalina.core.StandardContext.start(StandardContext.java:4087)

at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)

at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:800)

at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:695)

at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)

at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)

at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)

at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)

at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)

at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440)

at org.apache.catalina.core.StandardService.start(StandardService.java:450)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)

at org.apache.catalina.startup.Catalina.start(Catalina.java:537)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


** END NESTED EXCEPTION **


Attempted reconnect 3 times. Giving up.

at com.mysql.jdbc.Connection.createNewIO(Connection.java:2734)

at com.mysql.jdbc.Connection.(Connection.java:1474)

at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)

at java.sql.DriverManager.getConnection(DriverManager.java:525)

at java.sql.DriverManager.getConnection(DriverManager.java:140)

at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:97)

at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:300)

at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)

at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)

at java.sql.DriverManager.getConnection(DriverManager.java:525)

at java.sql.DriverManager.getConnection(DriverManager.java:193)

at com.zimbra.cs.db.DbPool.getConnection(DbPool.java:241)

... 34 more



marcmac
Elite member
Elite member
Posts: 2091
Joined: Fri Sep 12, 2014 9:53 pm

Mailbox not starting on Fedora Core 3

Postby marcmac » Wed Sep 21, 2005 1:09 pm

See this thread -
The">http://www.zimbra.com/forums/showthread.php?t=7
The
problem is your /etc/hosts file...
Linsys
Posts: 19
Joined: Fri Sep 12, 2014 9:55 pm

Mailbox not starting on Fedora Core 3

Postby Linsys » Wed Sep 21, 2005 1:28 pm

:D Everything is in order now. It was indeed the /etc/hosts order. I wasn't aware that this is the same problem as in this thread Cannot connect to Zimbra after installation.
Regards
Luke

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests