IBM_TXSeries_CICS Connect to db2 troubleshooting Notes

下午在设置 IBM_TXSeries_CICS 连接 DB2 10.5 遇到报错,下面就为排障过程:

1\配置完后,不能正常启动region,如下图所示:

[root@cics ~]# cicscp -v start region DB2 StartType=cold
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
ERZ096122I/0264: Processing the ‘start region’ command.
ERZ096158I/0264: The region ‘DB2’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/cics’.
ERZ096112I/0229: The SFS server ‘/.:/cics/sfs/cics’ is running.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/cics’ successfully started.
ERZ038216I/0382: Subsystem ‘DB2’ has been initialized.
ERZ096004E/0005: Error occurred when processing the cicscp command.
2\查看region 启动日志,发现错误:

ERZ058103E/0185 04/17/18 11:05:49.964835000 DB2 4076/0001 : Unsuccessful load of shared library ‘/var/cics_regions/DB2/bin/cics1pcdb2’; error 0; text ‘libdb2.so.1: cannot open shared object file: No such file or directory’.
ERZ058103E/0185 04/17/18 11:05:49.964840000 DB2 4097/0001 : Unsuccessful load of shared library ‘/var/cics_regions/DB2/bin/cics1pcdb2’; error 0; text ‘libdb2.so.1: cannot open shared object file: No such file or directory’.
ERZ016047E/0369 04/17/18 11:05:50.225349000 DB2 4076/0001 : Abnormal termination U1647: Unable to load an External Resource Manager XA Support file
ERZ010003I/0094 04/17/18 11:05:50.225856000 DB2 4076/0001 : CICS is performing region abnormal termination in process ‘cicsas’
ERZ052004I/0602 04/17/18 11:05:50.226106000 DB2 4076/0001 : Dump to ‘SYSA0001.dmp’ started.
ERZ016047E/0369 04/17/18 11:05:50.226184000 DB2 4097/0001 : Abnormal termination U1647: Unable to load an External Resource Manager XA Support file
ERZ010003I/0094 04/17/18 11:05:50.226482000 DB2 4097/0001 : CICS is performing region abnormal termination in process ‘cicsas’
SERVICE_MESSAGE 04/17/18 11:05:50.226926000 DB2 4127/0001 : cicsservice invoked to collect the logs. The collected log file will be /var/cics_servers/cics_service/DB2/DB2.2018.4.17_11.5.50.tar.bz2
SERVICE_MESSAGE 04/17/18 11:05:50.226950000 DB2 4127/0001 : cicsservice collection log can be found at /opt/ibm/cics/logs/DB2.2018.4.17_11.5.50.log
ERZ010040I/0055 04/17/18 11:05:50.226979000 DB2 4125/0001 : CICS control process ‘cicsas’ terminated
ERZ052007I/0604 04/17/18 11:05:51.908624000 DB2 4076/0001 : Dump to ‘SYSA0001.dmp’ completed.
ERZ010043I/0175 04/17/18 11:05:51.908791000 DB2 4076/0001 : Shutdown of CICS region ‘DB2’ is complete

3\解决办法:

[root@cics ~]# export LD_LIBRARY_PATH=/opt/ibm/db2/V10.5/lib32

4\再启动region,启动正常:

[root@cics ~]# cicscp -v start region DB2 StartType=cold
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
ERZ096122I/0264: Processing the ‘start region’ command.
ERZ096158I/0264: The region ‘DB2’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/cics’.
ERZ096112I/0229: The SFS server ‘/.:/cics/sfs/cics’ is running.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/cics’ successfully started.
ERZ038216I/0382: Subsystem ‘DB2’ has been initialized.
ERZ038219I/0390: Server ‘DB2’ is responding to RPCs.
ERZ096126I/0276: Region ‘DB2’ has successfully started.
ERZ096002I/0003: The cicscp command has completed successfully.
[root@cics ~]# cicscp status all
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
cics sfs Running
DB2 region Running
MQ region Stopped

ERZ010218I/0546 04/17/18 11:17:14.654566000 DB2 5118/0001 : Starting ‘cicsrl’ process
ERZ024080I/0267 04/17/18 11:17:14.663720000 DB2 5112/0001 : Application Manager has finished with master log file
ERZ024081I/0315 04/17/18 11:17:15.665080000 DB2 5104/0001 : CICS log daemon ready
ERZ010141I/0373 04/17/18 11:17:15.665768000 DB2 5112/0001 : Application manager now starting MinServer servers
ERZ010219I/0550 04/17/18 11:17:15.665860000 DB2 5112/0001 : MinServer attribute in Region Definition is set to value ‘1’
ERZ010220I/0551 04/17/18 11:17:15.665889000 DB2 5112/0001 : MaxServer attribute in Region Definition is set to value ‘5’
ERZ010144I/0375 04/17/18 11:17:15.683240000 DB2 5150/0001 : Application server 101 started
ERZ010144I/0375 04/17/18 11:17:15.691810000 DB2 5197/0001 : Application server 102 started
ERZ080088I/0801 04/17/18 11:17:16.326591000 DB2 5197/0001 : XA OPEN submitted for Server 102 connected to ‘DB2 Single Phase’ using XA_OPEN string ‘DB=demo1,UID=cics,PWD=######’
ERZ080088I/0801 04/17/18 11:17:16.326658000 DB2 5150/0001 : XA OPEN submitted for Server 101 connected to ‘DB2 Single Phase’ using XA_OPEN string ‘DB=demo1,UID=cics,PWD=######’
ERZ080006I/0801 04/17/18 11:17:23.668949000 DB2 5150/0001 : XA_OPEN succeeded: Application Server 101 connected to ‘DB2 Single Phase’ using XA_OPEN string ‘DB=demo1,UID=cics,PWD=######’
ERZ080089I/0801 04/17/18 11:17:23.669061000 DB2 5150/0001 : XA OPEN completed for Server 101 connected to ‘DB2 Single Phase’ using XA_OPEN string ‘DB=demo1,UID=cics,PWD=######’
ERZ080090I/0801 04/17/18 11:17:23.669344000 DB2 5150/0001 : XA RECOVER submitted for Server 101 connected to ‘DB2 Single Phase’
ERZ080091I/0801 04/17/18 11:17:23.669410000 DB2 5150/0001 : XA RECOVER completed for Server 101 connected to ‘DB2 Single Phase’
ERZ010137I/0368 04/17/18 11:17:23.699083000 DB2 5150/0001 : The CICS initialization transaction has started
ERZ021052I/0163 04/17/18 11:17:23.699201000 DB2 5150/0001 : Opening files …
ERZ021053I/0164 04/17/18 11:17:23.699242000 DB2 5150/0001 : … file opening completed

以下文章点击率最高

Loading…

     

如果这文章对你有帮助,请扫左上角微信支付-支付宝,给于打赏,以助博客运营

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注