今天 启动tws 报错,
先说一下解决方法:
Step1:
su - mdm
StartUp
Step2:
清除原来的错误的log:
cd /opt/mdm/appserver/profiles/twsprofile/logs/server1
rm *.log
[root@wen bin]# ./serverStatus.sh server1 -username mdm -password aaaaaa
[root@wen bin]# pwd
/opt/mdm/appserver/profiles/twsprofile/bin
看到server1 启动就可以了。
会看到有从新log 生成了:
[root@wen server1]# ls -lr
total 80
-rw-r--r-- 1 root root 30319 Oct 1 11:20 SystemOut.log
-rw-r--r-- 1 root root 0 Oct 1 10:44 SystemErr.log
-rw-rw-rw- 1 root root 1920 Oct 1 10:45 startServer.log
-rw-r--r-- 1 root root 5825 Oct 1 10:46 serverStatus.log
-rw-r--r-- 1 root root 5 Oct 1 10:45 server1.pid
-rw-r--r-- 1 root root 954 Oct 1 10:45 native_stdout.log
-rw-r--r-- 1 root root 0 Oct 1 10:44 native_stderr.log
[root@wen server1]# pwd
/opt/mdm/appserver/profiles/twsprofile/logs/server1
折腾了很长时间,搞成下面的log, 就差不多了:
------------
[root@wen bin]# su - mdm
Tivoli Workload Scheduler Environment Successfully Set !!!
[mdm@wen ~]$ ResetPlan
Tivoli Workload Scheduler (UNIX)/RESETPLAN
Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
AWSBIS356I Are you sure you want to reset the plan (enter "y" for yes, "n" for no)?
y
Tivoli Workload Scheduler (UNIX)/PLANMAN 8.4 (20070922) Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "mdm".
Locale LANG set to the following: "en"
AWSJCL068I The workstation "WEN" is the master domain manager.
Tivoli Workload Scheduler (UNIX)/CONMAN 8.4 (20070922) Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "mdm".
Locale LANG set to the following: "en"
Scheduled for (Exp) 10/26/09 (#34) on WEN. Batchman down. Limit: 0, Fence: 0, Audit Level: 0
%stop @!@;wait;noask
AWSBHU013I WEN already stopped.
Tivoli Workload Scheduler (UNIX)/STAGEMAN 8.4 (20070922) Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "mdm".
Locale LANG set to the following: "en"
STAGEMAN:AWSBHV025I The old Symphony file renamed
STAGEMAN:/opt/mdm/schedlog/M201210011052
Tivoli Workload Scheduler (UNIX)/LOGMAN 8.4 (20070922) Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "mdm".
Locale LANG set to the following: "en"
AWSJCL066I The job statistics have been successfully collected.
2 Jobs Logged
Tivoli Workload Scheduler (UNIX)/PLANMAN 8.4 (20070922) Licensed Materials - Property of IBM(R)
5698-WSH
(C) Copyright IBM Corp 1998, 2007 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "mdm".
Locale LANG set to the following: "en"
AWSJPL503I The "planner" process has locked the database.
AWSAEM006I This workstation "WEN" is the Event Processor Manager.
AWSJPL504I The "planner" process has unlocked the database.
AWSJCL064I The information related to the production plan in the database has been successfully reset.
---------------
可以仔细看一下上面的log.
就可以发现时成功了,下面启动./LINUXconsole.sh 就可以连接数据库了。