cics-regions不能正常启动的排障过程

今天发现LINUX 测试环境创建的cics region启动报错,前几天还可以正常启动的,今天就不行,于是就一路排障,最后解决问题。

[root@ibmtest ~]# cicscp -v start sfs_server /.:/cics/sfs/evantest StartType=cold
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/evantest’.
ERZ038214I/0168: Authorization for server ‘/.:/cics/sfs/evantest’ has been set to ‘none’
ERZ038216I/0175: Subsystem ‘cicssfs.Sevantes’ has been initialized.
ERZ038272I/0157: Waiting for server ‘/.:/cics/sfs/evantest’ to initialise.
ERZ038219I/0179: Server ‘/.:/cics/sfs/evantest’ is responding to RPCs.
ERZ036204I/0251: Created logical volume ‘log_Sevantes’ for server ‘/.:/cics/sfs/evantest’
ERZ036206I/0253: Initialized logical volume ‘log_Sevantes’ initialized for logging by server ‘/.:/cics/sfs/evantest’
ERZ036208I/0255: Created log file ‘log_Sevantes/logfile’ for server ‘/.:/cics/sfs/evantest’
ERZ036231I/0260: Log file ‘logfile’ on server ‘/.:/cics/sfs/evantest’ has been enabled.
ERZ036233I/0262: Logical volumes on server ‘/.:/cics/sfs/evantest’ have been recovered.
ERZ038228I/0189: Server ‘/.:/cics/sfs/evantest’ has been enabled.
ERZ038223I/0192: SFS Logical volume ‘sfs_Sevantes’ has been created for server ‘/.:/cics/sfs/evantest’.
ERZ038224I/0194: Logical volume ‘sfs_Sevantes’ on server ‘/.:/cics/sfs/evantest’ has been enabled.
ERZ038226I/0196: Logical volume ‘sfs_Sevantes’ has been added to server ‘/.:/cics/sfs/evantest’.
ERZ038182I/0182: Server ‘/.:/cics/sfs/evantest’ started successfully.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/evantest’ successfully started.
ERZ096002I/0003: The cicscp command has completed successfully.

CICS SFS服务器正常启动。。
[root@ibmtest ~]# cicscp -v start region evan001 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 ‘evan001’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/evantest’.
ERZ096112I/0229: The SFS server ‘/.:/cics/sfs/evantest’ is running.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/evantest’ successfully started.
ERZ038176I/0339: Adding TSQ file ‘evan001cicsrectsqfile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038176I/0344: Adding TSQ file ‘evan001cicsnrectsqfil’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038177I/0349: Adding TDQ file ‘evan001cicstdqlgfile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038177I/0354: Adding TDQ file ‘evan001cicstdqphfile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038177I/0359: Adding TDQ file ‘evan001cicstdqnofile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038178I/0364: Adding Local Queueing file ‘evan001cicsnlqfile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ038178I/0369: Adding Local Queueing file ‘evan001cicsplqfile’ to server ‘/.:/cics/sfs/evantest’, volume ‘sfs_Sevantes’.
ERZ010013I/0024: CICS has removed the lock file for region ‘evan001’
ERZ038216I/0382: Subsystem ‘evan001’ has been initialized.
ERZ096135I/0392: The region ‘evan001’ is not running.
ERZ096004E/0005: Error occurred when processing the cicscp command.

cics regions启动不成功
[root@ibmtest ~]# cicslssrc -a | grep cics
cics.test01 inoperative
cics.evan001 inoperative
cicssfs.Slocalho inoperative
cicssfs.Sibmtest inoperative
cicssfs.Sevantes 2366 active

查看系统CICS REGIONS的状态,发现evan001 regions不能正常启动..
[root@ibmtest ~]# pwd
/root
[root@ibmtest ~]# cd /var/cics_regions/
[root@ibmtest cics_regions]# ls
evan001 regions.db test01
[root@ibmtest cics_regions]# cd evan001/
[root@ibmtest evan001]# ls -al
总用量 156
drwxrwxrwx. 9 cics cics 4096 12月 29 14:18 .
drwxrwxr-x. 4 cics cics 53 12月 28 14:06 ..
drwxrwx—. 2 cics cics 6 12月 28 14:06 bin
-rw-rw—-. 1 cics cics 1996 12月 28 14:06 CICSAppProbe.cfg
drwxrwx—. 2 cics cics 6 12月 28 14:06 classes
-rw-r—–. 1 cics cics 31758 12月 28 16:41 console.000000
-rw-r—–. 1 cics cics 14066 12月 29 11:21 console.000001
-rw-r—–. 1 cics cics 12211 12月 29 14:00 console.000002
-rw-r—–. 1 cics cics 12211 12月 29 14:05 console.000003
-rw-r—–. 1 cics cics 12211 12月 29 14:11 console.000004
-rw-r—–. 1 cics cics 12213 12月 29 14:18 console.000005
-rw-rw—-. 1 cics cics 0 12月 28 14:08 console.msg
-rw-rw-r–. 1 cics cics 40 12月 29 14:18 console.nam
drwxrwx—. 2 cics cics 103 12月 28 14:08 data
drwxrwx—. 19 cics cics 181 12月 28 14:06 database
drwxrwxrwx. 3 cics cics 18 12月 28 14:06 dumps
-rw-rw—-. 1 cics cics 1402 12月 28 14:06 environment
-rw-rw-r–. 1 cics cics 2468 12月 29 09:51 evan001.env
drwxrwx—. 2 cics cics 253 12月 29 14:18 log
drwxrwx—. 4 cics cics 32 12月 28 14:06 maps
-rw-rw—-. 1 cics cics 1395 12月 28 14:06 region.properties
-rw-rw—-. 1 cics cics 15744 12月 29 14:18 region_restart
-rw-rw-r–. 1 cics cics 2068 12月 29 14:00 symrecs.000002
-rw-rw-r–. 1 cics cics 2068 12月 29 14:05 symrecs.000003
-rw-rw-r–. 1 cics cics 2068 12月 29 14:11 symrecs.000004
-rw-rw-r–. 1 cics cics 2068 12月 29 14:18 symrecs.000005
-rw-rw-r–. 1 cics cics 40 12月 29 14:18 symrecs.nam

查看最新生成的console.00005日志
[root@ibmtest evan001]# more console.000005
。。。。。。。。。。。。。。。。。。。。。。。。
ERZ010163I/0439 12/29/17 14:18:28.736943000 evan001 2486/0001 : Waiting for listener ‘LI1’ to initialize
SERVICE_MESSAGE 12/29/17 14:18:28.739881000 evan001 2520/0001 : Address(‘192.168.217.139’) and Family (‘any’) resolved to ‘1’ address. [ 192.168.217.139]
ERZ044003E/0002 12/29/17 14:18:28.740284000 evan001 2520/0012 : Unable to listen on port 1435, address ‘192.168.217.139’ family ‘AF_INET’. Error number was
99.
ERZ057002E/0045 12/29/17 14:18:28.740335000 evan001 2520/0012 : CICS internal error: Unsuccessful condition ‘(RetCode == ERZ_OK)’ for function ‘ComIP_Intern
alSocketConnect’ on line 367 in file ‘/cics/ServLvl/src/com/ip/src/comip_skcnt.c’ of module 44
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
ERZ052007I/0604 12/29/17 14:18:33.110035000 evan001 2520/0012 : Dump to ‘SYSA0001.dmp’ completed.
ERZ010043I/0175 12/29/17 14:18:33.110133000 evan001 2520/0012 : Shutdown of CICS region ‘evan001’ is complete

事后想起,之前在做测试,有给于这个region创建一个PD文件定义,而且绑定的IP为192.168.217.139 ,而现在的系统绑定的IP是另外的IP,所以,一直没法解析成功,致使region 启动报错。

[root@ibmtest evan001]# cicsdelete -c ld -r evan001 -B LI
ERZ034087W/0109: Permanent database entry ‘LI’ not found in class ld
ERZ046112E/0098: Unsuccessful attempt to delete entry ‘LI’ from permanent database class ‘ld’
ERZ034094E/0584: Unable to communicate with region ‘evan001’: wait timeout expired
ERZ046008E/0036: Cannot un-install entry ‘LI’
[root@ibmtest evan001]# cicsdelete -c ld -r evan001 -B LI1
ERZ034094E/0584: Unable to communicate with region ‘evan001’: wait timeout expired
ERZ046008E/0036: Cannot un-install entry ‘LI1’
ERZ046097I/0054: Permanent database request for ‘LI1’ succeeded, though run-time request was unsuccessful

最后需要将这个LI1 的ld定义参数,删除掉,再重新冷启动region,最后启动成功
[root@ibmtest evan001]# cicscp -v start region evan001 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 ‘evan001’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/evantest’.
ERZ096112I/0229: The SFS server ‘/.:/cics/sfs/evantest’ is running.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/evantest’ successfully started.
ERZ038216I/0382: Subsystem ‘evan001’ has been initialized.
ERZ038219I/0390: Server ‘evan001’ is responding to RPCs.
ERZ096126I/0276: Region ‘evan001’ has successfully started.
ERZ096002I/0003: The cicscp command has completed successfully.

以下文章点击率最高

Loading…

发表评论