去掉ibm TXseries CICS 的SFS Server LOCK 文件

因技术研究需要,全新一个用户,并将这个用户加入到CICS相关的用户组,然后用这个用户登陆,无论是启动现有的CICS和SFSSERVER,还是新建一个REGION。都遇到一个SFS_SERVER由ROOT  LOCK的错误提示。因为这些现有的CICS REGION和 SFS_SERVER都是之前用ROOT建的。下面就是排查和解决过程:

[root@co1 /]# su – wasadmin
[wasadmin@co1 ~]$ id
uid=500(wasadmin) gid=500(wasadmin) groups=500(wasadmin),501(cicssm),502(cicsterm),503(cics),504(mqm) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[wasadmin@co1 ~]$ ls
etc IBM var
[wasadmin@co1 ~]$ cicscp version
TXSeries 8.1.0.0 s810-L131118
[wasadmin@co1 ~]$ cicscp start all
ERZ058502I/0101: RPC daemon is already running.
ERZ059011W/0204: Lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’ is held by user ‘root’.
ERZ058409E/0204: Unable to remove lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’
ERZ096003E/0004: The cicscp command failed.
[wasadmin@co1 ~]$ cicscp status all
ERZ058502I/0101: RPC daemon is already running.
co1 sfs Stopped
test01 region Stopped
[wasadmin@co1 ~]$ cicscp -v create region test02
ERZ058502I/0101: RPC daemon is already running.
ERZ096118I/0247: Creating a region.
ERZ046045I/0222: Creating region ‘test02’ from archive of default region ‘/opt/ibm/cics/DEFAULT’
ERZ010114I/0728: Creating subsystem ‘cics.test02’ for region ‘test02’
ERZ046339I/0421: Successfully imported region ‘test02’
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/co1’.
ERZ059011W/0204: Lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’ is held by user ‘root’.
ERZ058409E/0204: Unable to remove lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’
ERZ096004E/0006: Error occurred when processing the cicscp command.
[wasadmin@co1 ~]$ cicssfslock -u /.:/cics/sfs/co1
ERZ059011W/0204: Lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’ is held by user ‘root’.
ERZ058409E/0204: Unable to remove lock file ‘/var/cics_servers/SSD/cics/sfs/co1/lock’
[wasadmin@co1 ~]$ exit
logout
[root@co1 /]# cicssfslock -u /.:/cics/sfs/co1
[root@co1 /]# su – wasadmin
[wasadmin@co1 ~]$ cicscp start all
ERZ058502I/0101: RPC daemon is already running.
ERZ038272I/0157: Waiting for server ‘/.:/cics/sfs/co1’ to initialise.
ERZ038182I/0182: Server ‘/.:/cics/sfs/co1’ started successfully.
ERZ010013I/0024: CICS has removed the lock file for region ‘test02’
ERZ038216I/0382: Subsystem ‘test02’ has been initialized.
ERZ038219I/0390: Server ‘test02’ is responding to RPCs.
ERZ010013I/0024: CICS has removed the lock file for region ‘test01’
ERZ038216I/0382: Subsystem ‘test01’ has been initialized.
ERZ038219I/0390: Server ‘test01’ is responding to RPCs.
[wasadmin@co1 ~]$ cicscp status all
ERZ058502I/0101: RPC daemon is already running.
co1 sfs Running
test02 region Running
test01 region Running
[wasadmin@co1 ~]$

以下文章点击率最高

Loading…

发表评论