IBM_TXSeries_CICS Connect to Oracle troubleshooting Notes

下午在配置cics 连接oracle时,在编译oracle1pc.mk遇到报错。下面为排障过程:

1、执行make -f oracle1pc.mk oracle 遇到报错:如下所示:

PCC-S-02201, Encountered the symbol “size_t” when expecting one of the following
:

… auto, char, const, double, enum, float, int, long,
ulong_varchar, OCIBFileLocator OCIBlobLocator,
OCIClobLocator, OCIDateTime, OCIExtProcContext, OCIInterval,
OCIRowid, OCIDate, OCINumber, OCIRaw, OCIString, register,
short, signed, sql_context, sql_cursor, static, struct,
union, unsigned, utext, uvarchar, varchar, void, volatile,
a typedef name, exec oracle, exec oracle begin, exec,
exec sql, exec sql begin, exec sql type, exec sql var,
The symbol “exec,” was substituted for “size_t” to continue.

5/usr/include/stdio.h:
715, /usr/include/stdio.h
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
1
PCC-S-02201, Encountered the symbol “extern” when expecting one of the following
:

, )

0, oracle1pc.pc
PCC-F-02102, C Ԥʱ,

make: *** [oracle1pc.c] Error 1

2、确认profile 文件,oracle的环境变量设置正确:

root@zymh Oracle]# vi /etc/profile

阅读更多

IBM_TXSeries_CICS Connect to MQ troubleshooting Notes

下午配置CICS 9 连接到MQ ,遇到报错,下面为解决过程:

1\配置完后,启动region,遇到报错:

[root@cics bin]# cicscp -v start region MQ 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 ‘MQ’ 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 ‘MQ’ has been initialized.
ERZ096004E/0005: Error occurred when processing the cicscp command.

2\查看 region 启动console日志,报错信息:

阅读更多

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

阅读更多