Quote:
Originally Posted by phoenix Hardware specification and whether this is a new install or upgrade? What does top (or your favourite monitor software) show at the time this problem occurs? |
Hi Phoenix,
It's running on VMWare on a Dell PowerEdge 2950 with 8xXenon E5345 CPUs. The VM is allocated 2CPUs and 3GB RAM.
We have about 40 accounts.
This is an upgrade. I should have mentioned this in the previous post but it the problem appears to have started since we migrated from CentOS to Ubuntu LTS. This was done by rsyncing the /opt/zimbra directory, fixing the permissions and re-installing the Ubuntu version of Zimbra. That was with version 7.0.0 at both ends. We since upgarded to 7.1.2 in the hope that it would clear the error.
I will let you know what is in "top" the next time it is in fault condition.
Also, if it's any help, this is the first error message received in the log printed in full. There are many after this, but the first may give a clue what triggered the condition.
Code:
2011-08-20 11:20:21,905 WARN [mailboxd.csv] [] DbStats - An error occurred while getting current database stats
com.zimbra.common.service.ServiceException: system failure: SQL: 'SHOW INNODB STATUS'
ExceptionId:mailboxd.csv:1313835621905:73ea69cded0f6ef7
Code:service.FAILURE
at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:248)
at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:134)
at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:176)
at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:202)
at com.zimbra.cs.db.DbStats.getStatData(DbStats.java:47)
at com.zimbra.common.stats.RealtimeStats.getData(RealtimeStats.java:67)
at com.zimbra.cs.stats.ZimbraPerf$MailboxdStats.getDataLines(ZimbraPerf.java:520)
at com.zimbra.common.stats.StatsDumper.call(StatsDumper.java:110)
at com.zimbra.common.stats.StatsDumper$1.run(StatsDumper.java:79)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table engine 'InnoDB'
Query being executed when exception was thrown:
SHOW INNODB STATUS
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2275)
at com.zimbra.cs.db.DebugPreparedStatement.executeQuery(DebugPreparedStatement.java:156)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at com.zimbra.cs.db.DbUtil.executeQuery(DbUtil.java:130)
... 8 more Logging into mysql manually as user zimbra and typing "SHOW INNODB STATUS;" seems to work without throwing any error when not in fault condition. Will try again when in fault condition.