您的位置:首页 > 数据库 > Oracle

oracle、filesystem、backup日常巡检脚本

2010-09-28 17:01 393 查看
    最近测试使用的WAS6.1 Linux基础版的60天试用期就要到了,但测试还需要一段时间,必须设法延长试用期。研究并测试了一下,解决该问题一般有两种方法:

    1、向前调整系统时间,例如向前调整一个月。不过如果这台服务器同时也安装了DB2,就不能使用该方法,因为安装在WAS上的Web应用访问数据库时可能会产生以下错误。

com.ibm.db2.jcc.a.SqlException: An error occurred during implicit system action
type "2".  Information returned for the error includes SQLCODE "-440", SQLSTATE
"42884" and message tokens "ROWNUMBER|FUNCTION"

    2、删除was.license文件。WAS在重启时会检查该文件是否存在,如果不存在就重新创建,再给60天试用期,启动时打印信息如下。

WSVR0025I: Creating temporary product license
WSVR0027I: The product will expire in 60 days.
ADMU0116I: Tool information is being logged in file
/usr/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/server1/start
Server.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 13756
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: