Results 1 to 4 of 4

Thread: Migrating zimbra problems

  1. #1
    techshifter is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default Migrating zimbra problems

    Hi all i have been running zimbra for several months and am on debian GA332. The mainboard in the current server has started to die so i built a new machine and copied out the store and index directories and backed up the sql database for all the users. While I was working on the new server i put the old one back in and tomcat failed to start, I just thought oh well I will replace it soon. Anyway I copied the store and index directories over to the new server and imported the sql data for the users. When I logged in as a user i got the inbox and E-Mails in it except for the folders within the inbox and their E-Mails. So I restarted the server and now guess what, tomcat failed to start, how can i further diagnose the tomcat issue and has anyone ever moved their sql database to annother server successfully? Thanks in advance for any replies.

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    Did you also move the LDAP data? What errors are you getting in the logs?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    techshifter is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    Yeah i copied the entire ldap data directory and all the accounts and settings seem to be there. and found this in the log.

    2006-05-23 16:55:57,565 INFO [main] [] soap - Servlet SoapServlet starting up
    2006-05-23 16:55:57,601 INFO [main] [] soap - Adding service AccountService to SoapServlet
    2006-05-23 16:55:57,705 INFO [main] [] soap - Adding service MailService to SoapServlet
    2006-05-23 16:55:57,809 INFO [main] [] soap - Adding service IMService to SoapServlet
    2006-05-23 16:55:57,816 INFO [main] [] misc - version=3.1.0_GA_332.DEBIAN3.1 release=20060414123555 builddate=20060414-1236 buildhost=build-debian.liquidsys.com
    2006-05-23 16:55:57,817 INFO [main] [] misc - LANG environment is set to: C
    2006-05-23 16:55:57,871 INFO [main] [] DbPool - Setting mysql connector property: maxActive=16
    2006-05-23 16:55:58,585 INFO [main] [] extensions - Loading extensions from /opt/zimbra/lib/ext
    2006-05-23 16:55:58,607 INFO [main] [] extensions - extension com.zimbra.clam.ClamScanner found in /opt/zimbra/lib/ext/clamscanner/clamscanner.jar
    2006-05-23 16:55:58,607 INFO [main] [] extensions - Initializing extensions
    2006-05-23 16:55:58,616 INFO [main] [] ClamScanner - attachment scan is disabled
    2006-05-23 16:55:58,772 INFO [main] [] extensions - Initialized extension clamscanner: com.zimbra.clam.ClamScanner@com.zimb...tensio n.ZimbraExtensionClassLoader@74cb02
    2006-05-23 16:55:58,830 INFO [IndexWritersSweeper] [] MailboxIndex - IndexWritersSweeper thread starting
    2006-05-23 16:55:58,853 INFO [main] [] RedoLogManager - Starting pre-startup crash recovery
    2006-05-23 16:55:58,854 FATAL [main] [] RedoLogManager - Exception during crash recovery
    2006-05-23 16:55:58,856 FATAL [main] [] system - Aborting process
    java.io.FileNotFoundException: /opt/zimbra/redolog/redo.log (Permission denied)
    at java.io.RandomAccessFile.open(Native Method)
    at java.io.RandomAccessFile.(RandomAccessFile.java:212)
    at com.zimbra.cs.redolog.logger.FileLogWriter.open(Fi leLogWriter.java:188)
    at com.zimbra.cs.redolog.RedoLogManager.start(RedoLog Manager.java:223)
    at com.zimbra.cs.redolog.DefaultRedoLogProvider.start up(DefaultRedoLogProvider.java:51)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:101)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 118)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
    at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    2006-05-23 16:58:20,796 INFO [main] [] soap - Servlet SoapServlet starting up
    2006-05-23 16:58:20,820 INFO [main] [] soap - Adding service AccountService to SoapServlet
    2006-05-23 16:58:20,884 INFO [main] [] soap - Adding service MailService to SoapServlet
    2006-05-23 16:58:21,057 INFO [main] [] soap - Adding service IMService to SoapServlet
    2006-05-23 16:58:21,064 INFO [main] [] misc - version=3.1.0_GA_332.DEBIAN3.1 release=20060414123555 builddate=20060414-1236 buildhost=build-debian.liquidsys.com
    2006-05-23 16:58:21,065 INFO [main] [] misc - LANG environment is set to: C
    2006-05-23 16:58:21,148 INFO [main] [] DbPool - Setting mysql connector property: maxActive=16
    2006-05-23 16:58:21,601 FATAL [main] [] system - Config initialization failed
    com.zimbra.cs.service.ServiceException: system failure: getting database connection
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
    at com.zimbra.cs.db.DbPool.getConnection(DbPool.java: 283)
    at com.zimbra.cs.util.Config.init(Config.java:69)
    at com.zimbra.cs.util.Config.initConfig(Config.java:9 6)
    at com.zimbra.cs.util.Config.getString(Config.java:10 8)
    at com.zimbra.cs.db.Versions.checkDBVersion(Versions. java:87)
    at com.zimbra.cs.db.Versions.checkVersions(Versions.j ava:82)
    at com.zimbra.cs.util.Zimbra.startup(Zimbra.java:90)
    at com.zimbra.soap.SoapServlet.init(SoapServlet.java: 118)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
    at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Caused by: org.apache.commons.dbcp.SQLNestedException: Connect failed, cause: Could not create a validated object
    at org.apache.commons.dbcp.PoolingDriver.connect(Pool ingDriver.java:175)
    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: 274)
    ... 34 more
    Caused by: java.util.NoSuchElementException: Could not create a validated object
    at org.apache.commons.pool.impl.GenericObjectPool.bor rowObject(GenericObjectPool.java:851)
    at org.apache.commons.dbcp.PoolingDriver.connect(Pool ingDriver.java:171)
    ... 37 more

  4. #4
    techshifter is offline Intermediate Member
    Join Date
    Jan 2006
    Posts
    22
    Rep Power
    9

    Default

    Ahhh clear head this morning, just made sense of it. I will keep you updated.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. Logger
    By jholder in forum Installation
    Replies: 24
    Last Post: 03-31-2006, 11:50 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 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
  •