SnapCreator Framework 备份失败,并在重新启动后临时工作 服务
适用于
Snap Creator Framework
问题
SnapCreator Framework 备份失败,并在重新启动 SnapCreator 服务后临时运行,然后再次失败。
从日志中,我们可以看到指向存储库数据库关闭且无法与 SnapCreator 进行通信的错误。
[2020-11-17T10:39:48,415-0500] INFO [Timer-3] com.netapp.snapcreator.repository.provider.file.RepositoryFileImpl - REPO-04705: Failed to get config list from profile:[test]. Profile is empty.
[2020-11-17T10:39:48,597-0500] WARN [pool-2-thread-1] org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {http://endpoint.nextgen.agent.snapcr.../}RestfulAgent has thrown exception, unwinding now
从日志中可能会看到的其他错误
[Thread-0] ERRORcom.netapp.rre.snapcreator.service.SnapCreatorLogger - Failed to start database 'snapcreator' with class loader sun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.java.sql.SQLException: Failed to start database 'snapcreator' with class loadersun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.
(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.
(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.
(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)Knowledgebase
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.netapp.rre.snapcreator.server.db.DerbyEngine.getConnection(DerbyEngine.java:169)
atcom.netapp.rre.snapcreator.server.db.JobWriter.updateJobStatusForIncompleteJobs(JobWriter.java:285) atcom.netapp.rre.snapcreator.server.util.JobUtil.updateJobStatusForIncompleteJobs(JobUtil.java:138)
atcom.netapp.rre.snapcreator.server.SnapCreatorDaemon$SCServiceThread.run(SnapCreatorDaemon.java:92)
Caused by: java.sql.SQLException: Failed to start database 'snapcreator' with class loadersun.misc.Launcher$AppClassLoader@e24e2a, see the next exception for details.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
atorg.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(UnknownSource)... 16 moreCaused by: java.sql.SQLException: The conglomerate (16) requested does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
atorg.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(UnknownSource)
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)