按照安装教程安装虚拟机版的datastage 8.7后,使用命令启动was失败
infosrvr:~ # /opt/IBM/WebSphere/AppServer/bin/startServer.sh server1 ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1/startServer.log ADMU0128I: Starting tool with the InfoSphere profile ADMU3100I: Reading configuration for server: server1 ADMU3200I: Server launched. Waiting for initialization status. ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 should contain failure information.
infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 # tail -100 SystemErr.log at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:981) at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:340) at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:110) Caused by: com.ascential.xmeta.repository.core.CoreRepositoryException: Error initializing persistence manager module at com.ascential.xmeta.repository.core.impl.DefaultSandbox.<init>(DefaultSandbox.java:70) at java.lang.J9VMInternals.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1345) at com.ascential.xmeta.repository.core.CoreRepositoryFactory.createSandbox(CoreRepositoryFactory.java:97) at com.ascential.xmeta.service.repository.core.SandboxPojoBusiness.<init>(SandboxPojoBusiness.java:61) ... 70 more Caused by: com.ascential.xmeta.persistence.PersistenceManagerException: com.ascential.xmeta.persistence.PersistenceException: PersistentEObjectPersistenceException initializing persistence. at com.ascential.xmeta.persistence.impl.basic.BasicPersistenceManager.initialize(BasicPersistenceManager.java:78) at com.ascential.xmeta.repository.core.impl.DefaultSandbox.<init>(DefaultSandbox.java:68) ... 74 more Caused by: com.ascential.xmeta.persistence.PersistenceException: PersistentEObjectPersistenceException initializing persistence. at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.initialize(BasicPersistence.java:462) at com.ascential.xmeta.persistence.impl.basic.BasicPersistenceManager.initialize(BasicPersistenceManager.java:74) ... 75 more Caused by: com.ascential.xmeta.persistence.orm.PersistentEObjectPersistenceException: org.apache.ojb.broker.PersistenceBrokerException: Can't lookup a connection at com.ascential.xmeta.persistence.orm.impl.ojb.OjbPersistentEObjectPersistenceRegistry.loadPackageCache(OjbPersistentEObjectPersistenceRegistry.java:446) at com.ascential.xmeta.persistence.orm.impl.ojb.OjbPersistentEObjectPersistenceRegistry.initialize(OjbPersistentEObjectPersistenceRegistry.java:134) at com.ascential.xmeta.persistence.orm.impl.ojb.OjbPersistentEObjectPersistence.initialize(OjbPersistentEObjectPersistence.java:372) at com.ascential.xmeta.persistence.impl.basic.BasicPersistence.initialize(BasicPersistence.java:451) ... 76 more Caused by: org.apache.ojb.broker.PersistenceBrokerException: Can't lookup a connection at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.localBegin(Unknown Source) at org.apache.ojb.broker.core.PersistenceBrokerImpl.beginTransaction(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(Unknown Source) at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(Unknown Source) at com.ascential.xmeta.persistence.orm.impl.ojb.OjbPersistentEObjectPersistenceRegistry.loadPackageCache(OjbPersistentEObjectPersistenceRegistry.java:437) ... 79 more Caused by: org.apache.ojb.broker.accesslayer.LookupException: Could not borrow connection from pool. Active/Idle instances in pool=0/0. org.apache.ojb.broker.metadata.JdbcConnectionDescriptor: org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@59a959a9[ jcd-alias=pojo default-connection=false dbms=Db2 jdbc-level=2.0 driver=com.ibm.db2.jcc.DB2Driver protocol=jdbc sub-protocol=db2 db-alias=//infosrvr.bootcamp.image.com:50000/xmeta user=xmeta password=***** eager-release=false ConnectionPoolDescriptor={whenExhaustedAction=0, maxIdle=-1, maxActive=21, maxWait=5000, removeAbandoned=false, numTestsPerEvictionRun=10, minEvictableIdleTimeMillis=600000, testWhileIdle=false, testOnReturn=false, logAbandoned=false, minIdle=0, fetchSize=0, removeAbandonedTimeout=300, timeBetweenEvictionRunsMillis=-1, testOnBorrow=true} batchMode=true useAutoCommit=AUTO_COMMIT_SET_FALSE ignoreAutoCommitExceptions=false sequenceDescriptor=<null> ] at org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.checkOutJdbcConnection(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Unknown Source) ... 84 more Caused by: org.apache.ojb.broker.accesslayer.LookupException: Error getting Connection from DriverManager with url (jdbc:db2://infosrvr.bootcamp.image.com:50000/xmeta) and driver (com.ibm.db2.jcc.DB2Driver) at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDriverManager(Unknown Source) at org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactory.makeObject(Unknown Source) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771) ... 87 more Caused by: com.ibm.db2.jcc.am.oo: [jcc][t4][2043][11550][3.58.135] Exception java.net.ConnectException: Error opening socket to server infosrvr.bootcamp.image.com/127.0.0.2 on port 50,000 with message: Connection refused. ERRORCODE=-4499, SQLSTATE=08001 at com.ibm.db2.jcc.am.ed.a(ed.java:319) at com.ibm.db2.jcc.am.ed.a(ed.java:337) at com.ibm.db2.jcc.t4.zb.a(zb.java:400) at com.ibm.db2.jcc.t4.zb.<init>(zb.java:78) at com.ibm.db2.jcc.t4.a.y(a.java:309) at com.ibm.db2.jcc.t4.b.a(b.java:1806) at com.ibm.db2.jcc.am.jb.a(jb.java:578) at com.ibm.db2.jcc.am.jb.<init>(jb.java:529) at com.ibm.db2.jcc.t4.b.<init>(b.java:308) at com.ibm.db2.jcc.DB2SimpleDataSource.getConnection(DB2SimpleDataSource.java:214) at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:456) at java.sql.DriverManager.getConnection(DriverManager.java:322) at java.sql.DriverManager.getConnection(DriverManager.java:297) ... 90 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377) at java.net.Socket.connect(Socket.java:539) at com.ibm.db2.jcc.t4.ab.run(ab.java:34) at java.security.AccessController.doPrivileged(AccessController.java:251) at com.ibm.db2.jcc.t4.zb.a(zb.java:386) ... 100 more
--
infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 # tail -50 SystemOut.log at com.ibm.ws.security.core.SecurityComponentImpl.startSecurity(SecurityComponentImpl.java:109) at com.ibm.ws.security.core.ServerSecurityComponentImpl.start(ServerSecurityComponentImpl.java:341) ... 33 more Caused by: com.ibm.websphere.security.WSSecurityException: Failed to get roles for user [server:infosrvrNode01Cell_infosrvrNode01_server1]: Unable to begin a transaction: [Error opening repository: []] at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2609) at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2254) at com.ibm.ws.security.auth.ContextManagerImpl.initialize(ContextManagerImpl.java:2891) ... 39 more Caused by: com.ibm.websphere.security.auth.WSLoginFailedException: Failed to get roles for user [server:infosrvrNode01Cell_infosrvrNode01_server1]: Unable to begin a transaction: [Error opening repository: []] at com.ibm.ws.security.auth.JaasLoginHelper.jaas_login(JaasLoginHelper.java:371) at com.ibm.ws.security.auth.JaasLoginHelper.jaas_login(JaasLoginHelper.java:395) at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3671) at com.ibm.ws.security.auth.ContextManagerImpl.login(ContextManagerImpl.java:3541) at com.ibm.ws.security.auth.ContextManagerImpl.getServerSubjectInternal(ContextManagerImpl.java:2558) ... 41 more Caused by: javax.security.auth.login.FailedLoginException: Failed to get roles for user [server:infosrvrNode01Cell_infosrvrNode01_server1]: Unable to begin a transaction: [Error opening repository: []] at com.ascential.acs.security.auth.ISFAuthenticationProvider.commit(ISFAuthenticationProvider.java:318) at com.ibm.is.isf.j2ee.impl.was.security.WASCustomLoginModule.commit(WASCustomLoginModule.java:396) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:795) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:209) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:709) at java.security.AccessController.doPrivileged(AccessController.java:251) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706) at javax.security.auth.login.LoginContext.login(LoginContext.java:604) at com.ibm.ws.security.auth.JaasLoginHelper.jaas_login(JaasLoginHelper.java:354) ... 45 more Caused by: com.ascential.acs.security.repository.ASBRepositoryException: Unable to begin a transaction: [Error opening repository: []] at com.ascential.acs.security.repository.ASBRepositoryImpl.begin(ASBRepositoryImpl.java:158) at com.ascential.acs.security.directory.ASBDirectoryImpl.getRepository(ASBDirectoryImpl.java:88) at com.ascential.acs.security.directory.ASBDirectoryImpl.getUserRoles(ASBDirectoryImpl.java:315) at com.ascential.acs.security.directory.ASBDirectory.getUserRoles(ASBDirectory.java:146) at com.ascential.acs.security.auth.ISFAuthenticationProvider.commit(ISFAuthenticationProvider.java:309) ... 57 more Caused by: com.ascential.acs.security.repository.ASBRepositoryException: Error opening repository: [] at com.ascential.acs.security.repository.ASBRepositoryImpl.getSandbox(ASBRepositoryImpl.java:701) at com.ascential.acs.security.repository.ASBRepositoryImpl.begin(ASBRepositoryImpl.java:156) ... 61 more [3/4/14 16:22:37:930 CST] 00000000 SchedulerServ I SCHD0040I: The Scheduler Service is stopping. [3/4/14 16:22:38:005 CST] 00000000 SchedulerServ I SCHD0002I: The Scheduler Service has stopped. [3/4/14 16:22:38:075 CST] 00000000 AppProfileCom I ACIN0009I: The application profiling service is stopping. [3/4/14 16:22:38:147 CST] 00000000 ActivitySessi I WACS0049I: The ActivitySession service is stopping. [3/4/14 16:22:38:213 CST] 00000000 ObjectPoolSer I OBPL0011I: The Object Pool service is stopping. [3/4/14 16:22:38:331 CST] 00000000 distSecurityC I securityServiceStarted is false [3/4/14 16:22:38:518 CST] 00000000 CGBridgeSubsc I CWRCB0104I: The core group bridge service has stopped the subscription router. [3/4/14 16:22:38:591 CST] 00000000 CGBridgeServi I CWRCB0103I: The core group bridge service has stopped.
--
infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 # tail -100 startServer.log [5/1/12 9:23:17:120 PDT] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [5/1/12 9:23:17:718 PDT] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [5/1/12 9:23:17:721 PDT] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [5/1/12 9:23:18:449 PDT] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [5/1/12 9:25:03:060 PDT] 00000000 AdminTool A ADMU3000I: Server server1 open for e-business; process id is 7673 ************ Start Display Current Environment ************ Host Operating System is Linux, version 2.6.32.12-0.7-pae Java version = JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110216_75791 (JIT enabled, AOT enabled) J9VM - 20110216_075791 JIT - r9_20101028_17488ifx4 GC - 20101027_AA, Java Compiler = j9jit24, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere Java Home = /opt/IBM/WebSphere/AppServer/java/jre ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/bin::/usr/lib Current trace specification = *=info ************* End Display Current Environment ************* [3/3/14 11:38:55:871 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/3/14 11:38:56:380 CST] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [3/3/14 11:38:56:393 CST] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [3/3/14 11:38:57:579 CST] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [3/3/14 11:41:30:374 CST] 00000000 AdminTool A ADMU3000I: Server server1 open for e-business; process id is 6575 ************ Start Display Current Environment ************ Host Operating System is Linux, version 2.6.32.12-0.7-pae Java version = JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110216_75791 (JIT enabled, AOT enabled) J9VM - 20110216_075791 JIT - r9_20101028_17488ifx4 GC - 20101027_AA, Java Compiler = j9jit24, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere Java Home = /opt/IBM/WebSphere/AppServer/java/jre ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/bin::/usr/lib Current trace specification = *=info ************* End Display Current Environment ************* [3/3/14 15:32:11:681 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/3/14 15:32:12:120 CST] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [3/3/14 15:32:12:127 CST] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [3/3/14 15:32:13:601 CST] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [3/3/14 15:34:18:689 CST] 00000000 AdminTool A ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 should contain failure information. ************ Start Display Current Environment ************ Host Operating System is Linux, version 2.6.32.12-0.7-pae Java version = JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110216_75791 (JIT enabled, AOT enabled) J9VM - 20110216_075791 JIT - r9_20101028_17488ifx4 GC - 20101027_AA, Java Compiler = j9jit24, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere Java Home = /opt/IBM/WebSphere/AppServer/java/jre ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/bin::/usr/lib Current trace specification = *=info ************* End Display Current Environment ************* [3/3/14 15:47:09:303 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/3/14 15:47:09:548 CST] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [3/3/14 15:47:09:557 CST] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [3/3/14 15:47:10:234 CST] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [3/3/14 15:47:50:008 CST] 00000000 AdminTool A ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 should contain failure information. ************ Start Display Current Environment ************ Host Operating System is Linux, version 2.6.32.12-0.7-pae Java version = JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110216_75791 (JIT enabled, AOT enabled) J9VM - 20110216_075791 JIT - r9_20101028_17488ifx4 GC - 20101027_AA, Java Compiler = j9jit24, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere Java Home = /opt/IBM/WebSphere/AppServer/java/jre ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/bin::/usr/lib Current trace specification = *=info ************* End Display Current Environment ************* [3/4/14 16:14:38:413 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/4/14 16:14:38:771 CST] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [3/4/14 16:14:38:782 CST] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [3/4/14 16:14:39:593 CST] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [3/4/14 16:15:43:331 CST] 00000000 AdminTool A ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 should contain failure information. ************ Start Display Current Environment ************ Host Operating System is Linux, version 2.6.32.12-0.7-pae Java version = JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110216_75791 (JIT enabled, AOT enabled) J9VM - 20110216_075791 JIT - r9_20101028_17488ifx4 GC - 20101027_AA, Java Compiler = j9jit24, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere Java Home = /opt/IBM/WebSphere/AppServer/java/jre ws.ext.dirs = /opt/IBM/WebSphere/AppServer/java/lib:/opt/IBM/WebSphere/AppServer/classes:/opt/IBM/WebSphere/AppServer/lib:/opt/IBM/WebSphere/AppServer/installedChannels:/opt/IBM/WebSphere/AppServer/lib/ext:/opt/IBM/WebSphere/AppServer/web/help:/opt/IBM/WebSphere/AppServer/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/properties:/opt/IBM/WebSphere/AppServer/properties:/opt/IBM/WebSphere/AppServer/lib/startup.jar:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar:/opt/IBM/WebSphere/AppServer/lib/lmproxy.jar:/opt/IBM/WebSphere/AppServer/lib/urlprotocols.jar:/opt/IBM/WebSphere/AppServer/java/lib/tools.jar Java Library path = /opt/IBM/WebSphere/AppServer/java/jre/lib/i386:/opt/IBM/WebSphere/AppServer/bin::/usr/lib Current trace specification = *=info ************* End Display Current Environment ************* [3/4/14 16:21:47:087 CST] 00000000 ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/4/14 16:21:47:380 CST] 00000000 AdminTool A ADMU0128I: Starting tool with the InfoSphere profile [3/4/14 16:21:47:392 CST] 00000000 AdminTool A ADMU3100I: Reading configuration for server: server1 [3/4/14 16:21:48:019 CST] 00000000 AdminTool A ADMU3200I: Server launched. Waiting for initialization status. [3/4/14 16:22:43:337 CST] 00000000 AdminTool A ADMU3011E: Server launched but failed initialization. startServer.log, SystemOut.log(or job log in zOS) and other log files under /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 should contain failure information. 以上为三个日志文件的打印。以为是hosts文件错误,我在之前改过hostname,在最后一行刚增加一条语句,如下: Infosrvr:~ # more /etc/hosts # # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # 127.0.0.1 localhost # special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 127.0.0.2 infosrvr.bootcamp.image.com infosrvr 192.168.26.10 infosrvr.bootcamp.image.com infosrvr 10.13.2.223 infosrvr.wenchao.com infosrvr 10.13.2.146 infosrvr.bootcamp.image.com infosrvr infosrvr:~ #
--
重启还是报一样错。
Google找到一篇文章:
http://www-01.ibm.com/support/docview.wss?uid=swg21578246
https://www-304.ibm.com/support/docview.wss?uid=swg21403644
说是
This technote specifically relates to the scenario where the cause is that the DB2 server is configured to not allow TCP/IP connections
/
A possible cause for this problem is that TCP/IP may not be properly enabled on your DB2 database server.
解决步骤:
db2set -all ---查看连接模式
db2set DB2COMM=tcpip --修改连接模式
db2stop --重启代表db2
db2start
老外给的步骤:
On a badly configured DB2 server there will not be an entry "TCPIP" (next to "DB2COMM"). For example:
DB2COMM=NETBIOS
On a good DB2 server, there will be an entry similar to:
DB2COMM=TCPIP
Resolving the problem
Reconfigure the DB2 server to allow TCP/IP connections.
Steps:
infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 # su db2inst1 db2inst1@infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1> db2set DB2comm=tcpip db2inst1@infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1> db2stop SQL1064N DB2STOP processing was successful. db2inst1@infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1> db2start SQL1063N DB2START processing was successful. db2inst1@infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1> exit exit infosrvr:/opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1 # /opt/IBM/WebSphere/AppServer/bin/startServer.sh server1 ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/InfoSphere/logs/server1/startServer.log ADMU0128I: Starting tool with the InfoSphere profile ADMU3100I: Reading configuration for server: server1 ADMU3200I: Server launched. Waiting for initialization status. ADMU3000I: Server server1 open for e-business; process id is 10262