TWS : ResetPlan 报错的解决。

今天 启动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 就可以连接数据库了。

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值