Data Backup and Recovery

Problems starting snapcreator 3.5 gui

ralph_fuechsle
2,879 Views

Hello,

i`ve got the problem, that after the installation of snapcreator 3.5 (like mentioned in the ia-guide) the startup of the gui fails with the following error message:

2012-03-30 07:50:42,160 [main] ERROR com.netapp.rre.snapcreator.service.SnapCreatorLogger - java.sql.SQLException: Failed to create database 'snapcreator', see the next exception for details. java.sql.SQLException: Failed to create database 'snapcreator', 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.createDatabase(Unknown Source)         at org.apache.derby.impl.jdbc.EmbedConnection.(Unknown Source)         at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)         at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)         at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)         at java.sql.DriverManager.getConnection(DriverManager.java:322)         at java.sql.DriverManager.getConnection(DriverManager.java:297)         at com.netapp.rre.snapcreator.server.db.DerbyEngine.getEmbeddedConnection(DerbyEngine.java:145)         at com.netapp.rre.snapcreator.server.db.DerbyEngine.createDB(DerbyEngine.java:289)         at com.netapp.rre.snapcreator.server.db.DerbyEngine.start(DerbyEngine.java:67)         at com.netapp.rre.snapcreator.server.SnapCreatorServer.startDerby(SnapCreatorServer.java:139)         at com.netapp.rre.snapcreator.server.SnapCreatorServer.main(SnapCreatorServer.java:98) Caused by: java.sql.SQLException: Failed to create database 'snapcreator', see the next exception for details.         at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)         at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)         ... 15 more Caused by: java.sql.SQLException: Directory /usr/local/scServer3.5.0/gui/snapcreator already exists.         at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)         at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source)         at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)         at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)         at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)        at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)         at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)         ... 12 more Caused by: ERROR XBM0J: Directory /usr/local/scServer3.5.0/gui/snapcreator already exists.         at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)         at org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unknown Source)         at java.security.AccessController.doPrivileged(AccessController.java:251)         at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown Source)         at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)         at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)         at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)         ... 12 more

FYI: i`ve already installed snapcreator 3.4p1 on the same server, but in a different folder.

I`m appreciative for any help.

Regards

Ralph

1 ACCEPTED SOLUTION

justints
2,879 Views

Could you once try starting the server after removing the database folder "/usr/local/scServer3.5.0/gui/snapcreator"?

View solution in original post

2 REPLIES 2

justints
2,880 Views

Could you once try starting the server after removing the database folder "/usr/local/scServer3.5.0/gui/snapcreator"?

ralph_fuechsle
2,879 Views

perfekt, now it works - thanks for your help!

Ralph

Public