Quantcast
Channel: Symantec Connect - Products - Discussions
Viewing all articles
Browse latest Browse all 21603

Failed to connect to server

$
0
0
I need a solution

Hi,

 

I have a failed to connect, issue Symanetc embedded database and symantec endpoint protection manager stops at the same time. Ran db validator it says its passed.

 

1) Checked err.log in DB folder in SEPM 

 

05/04 11:34:18. Fatal error:  A disk read from file "D:\Program Files\Symantec\Symantec Endpoint Protection Manager\db\sem5.db" failed with error code: (23)
05/06 15:00:53. Fatal error:  A disk read from file "D:\Program Files\Symantec\Symantec Endpoint Protection Manager\db\sem5.db" failed with error code: (23)
05/06 15:32:03. Fatal error:  A disk read from file "D:\Program Files\Symantec\Symantec Endpoint Protection Manager\db\sem5.db" failed with error code: (23)
 

2) Ran management server configuration wizard and it pops up this error

 

db issue.jpg

 

3) Checked scm-0server-0.log and it says

 

2014-05-06 18:45:24.468 THREAD 12 SEVERE: ================== Server Environment ===================
2014-05-06 18:45:24.468 THREAD 12 SEVERE: os.name = Windows 2003
2014-05-06 18:45:24.468 THREAD 12 SEVERE: os.version = 5.2
2014-05-06 18:45:24.468 THREAD 12 SEVERE: os.arch = x86
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.version = 1.7.0_25
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.vendor = Oracle Corporation
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.vm.name = Java HotSpot(TM) Server VM
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.vm.version = 23.25-b01
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.home = D:\Program Files\Symantec\Symantec Endpoint Protection Manager\jre
2014-05-06 18:45:24.468 THREAD 12 SEVERE: catalina.home = D:\Program Files\Symantec\Symantec Endpoint Protection Manager\tomcat
2014-05-06 18:45:24.468 THREAD 12 SEVERE: java.user = null
2014-05-06 18:45:24.468 THREAD 12 SEVERE: user.language = en
2014-05-06 18:45:24.468 THREAD 12 SEVERE: user.country = US
2014-05-06 18:45:24.468 THREAD 12 SEVERE: scm.server.version = 12.1.4013.4013
2014-05-06 18:46:02.734 THREAD 12 SEVERE: 
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory ([Sybase][JDBC Driver][SQL Anywhere]Database server not found)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDataSourceDBConnection(DatabaseUtilities.java:402)
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:286)
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:271)
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:261)
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDBConnection(DatabaseUtilities.java:2499)
    at com.sygate.scm.server.db.util.DatabaseUtilities.testConnection(DatabaseUtilities.java:2456)
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:131)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.sql.SQLException: [Sybase][JDBC Driver][SQL Anywhere]Database server not found
    at sybase.jdbc4.sqlanywhere.IDriver.makeODBCConnection(Native Method)
    at sybase.jdbc4.sqlanywhere.IDriver.connect(IDriver.java:772)
    at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    ... 26 more
2014-05-06 18:46:02.734 THREAD 12 SEVERE:  in: com.sygate.scm.server.servlet.StartupServlet
com.sygate.scm.server.util.ScmServerError: Failed to connect to database after tried 20 times, please start the database!
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:132)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
2014-05-06 18:46:02.750 THREAD 12 SEVERE: DomainId: null
SiteId: null
ServerId: 1E3DA3270A0E0037004BDF380DAD4C96
SystemEventId: 1281
EventDesc: Unexpected server error.
MessageId: 1
ErrorCode: 268500992
com.sygate.scm.server.util.ScmServerError: Failed to connect to database after tried 20 times, please start the database!
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:132)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
com.sygate.scm.server.util.ServerException: Unexpected server error.
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:399)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:364)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:360)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:356)
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:314)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: com.sygate.scm.server.util.ScmServerError: Failed to connect to database after tried 20 times, please start the database!
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:132)
    ... 17 more
2014-05-06 18:46:04.828 THREAD 12 SEVERE: SEM: Connect to database failed
java.sql.SQLException: SEM: Connect to database failed
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:339)
    at com.sygate.scm.server.util.logging.DbLogHandler.publish(DbLogHandler.java:58)
    at java.util.logging.Logger.log(Logger.java:610)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:401)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:364)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:360)
    at com.sygate.scm.server.util.ServerLogger.log(ServerLogger.java:356)
    at com.sygate.scm.server.servlet.StartupServlet.init(StartupServlet.java:314)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
    at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
    at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:290)
    ... 24 more

 

4) Checked ODBC password and its passes.

 

The symantec embedded database service stays started when i run dbvalidator and odbc test but when i log into SEPM it and symantec endpoint protection manager service stops.

 

 

 


Viewing all articles
Browse latest Browse all 21603

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>