This discussion is archived
1 Reply Latest reply: Sep 17, 2012 2:03 AM by Nicolas.Gasparotto RSS

About the template FSCM9.1 FP2 Peopletools 8.52.03 (v4 - July 2012)

Nicolas.Gasparotto Oracle ACE
Currently Being Moderated
Hello,

Just tested quickly this new template delivered 2 months ago (July 2012).
As far as I undestand, it is just a recut of the one delivered in April 2012. At least it solves the main issue I reported in that other About the template FSCM9.1 FP2 Peopletools 8.52.03 (v3) about the network prompt missing.

But I still have remarks/issues on the template FSCM9.1 FP2 Peopletools 8.52.03 (v4) released earlier in July 2012.

_1. First of all, there a lot of errors reported in /var/log/messages_
...
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.883:3): avc:  denied  { read } for  pid=92 comm="restorecon" name="libc.so.6" dev=xvda2 ino=21 scontext=system_u:sys
tem_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.910:4): avc:  denied  { execute } for  pid=92 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:5): avc:  denied  { read } for  pid=296 comm="pam_console_app" name="ld.so.cache" dev=xvda2 ino=94143 scontext=s
ystem_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:6): avc:  denied  { getattr } for  pid=290 comm="pam_console_app" path="/etc/ld.so.cache" dev=xvda2 ino=94143 sc
ontext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:7): avc:  denied  { read } for  pid=293 comm="pam_console_app" name="libc.so.6" dev=xvda2 ino=21 scontext=system
_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:8): avc:  denied  { execute } for  pid=293 comm="pam_console_app" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 sco
ntext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: input: PC Speaker as /class/input/input3
Sep 13 05:02:55 localhost kernel: Initialising Xen virtual ethernet driver.
Sep 13 05:02:55 localhost kernel: Error: Driver 'pcspkr' is already registered, aborting...
Sep 13 05:02:55 localhost kernel: Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
Sep 13 05:02:55 localhost kernel: floppy0: Unable to grab IRQ6 for the floppy driver
Sep 13 05:02:55 localhost kernel: lp: driver loaded but no devices found
Sep 13 05:02:55 localhost kernel: md: Autodetecting RAID arrays.
Sep 13 05:02:55 localhost kernel: md: Scanned 0 and added 0 devices.
Sep 13 05:02:55 localhost kernel: md: autorun ...
Sep 13 05:02:55 localhost kernel: md: ... autorun DONE.
Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda2, internal journal
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526929.896:9): avc:  denied  { execute } for  pid=965 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext
=system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda1, internal journal
Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
Sep 13 05:02:55 localhost kernel: EXT3 FS on xvdb1, internal journal
Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526930.647:10): avc:  denied  { execute } for  pid=989 comm="setfiles" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
system_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526942.398:11): avc:  denied  { net_admin } for  pid=990 comm="setfiles" capability=12  scontext=system_u:system_r:setfiles
_t:s0 tcontext=system_u:system_r:setfiles_t:s0 tclass=capability
Sep 13 05:02:55 localhost kernel: hrtimer: interrupt took 35229469 ns
Sep 13 05:02:55 localhost kernel: Adding 2104504k swap on /dev/xvda3.  Priority:-1 extents:1 across:2104504k SS
Sep 13 05:02:55 localhost kernel: warning: process `kudzu' used the deprecated sysctl system call with 1.23.
Sep 13 05:02:55 localhost kernel: Loading iSCSI transport class v2.0-870.
Sep 13 05:02:55 localhost kernel: libcxgbi:libcxgbi_init_module: tag itt 0x1fff, 13 bits, age 0xf, 4 bits.
Sep 13 05:02:55 localhost kernel: libcxgbi:ddp_setup_host_page_size: system PAGE 4096, ddp idx 0.
Sep 13 05:02:55 localhost kernel: Chelsio T3 iSCSI Driver cxgb3i v2.0.0 (Jun. 2010)
Sep 13 05:02:55 localhost kernel: iscsi: registered transport (cxgb3i)
Sep 13 05:02:55 localhost kernel: NET: Registered protocol family 10
Sep 13 05:02:55 localhost kernel: cnic: Broadcom NetXtreme II CNIC Driver cnic v2.2.14 (Mar 30, 2011)
Sep 13 05:02:55 localhost kernel: Broadcom NetXtreme II iSCSI Driver bnx2i v2.6.2.3 (Jan 06, 2010)
Sep 13 05:02:55 localhost kernel: iscsi: registered transport (bnx2i)
Sep 13 05:02:55 localhost kernel: iscsi: registered transport (tcp)
Sep 13 05:02:55 localhost kernel: iscsi: registered transport (iser)
Sep 13 05:02:55 localhost kernel: iscsi: registered transport (be2iscsi)
Sep 13 05:02:55 localhost kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
Sep 13 05:02:55 localhost kernel: warning: `mcstransd' uses 32-bit capabilities (legacy support in use)
Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526970.336:12): avc:  denied  { sys_tty_config } for  pid=1374 comm="consoletype" capability=26  scontext=system_u:system_r
:consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
Sep 13 05:02:55 localhost kernel: RPC: Registered udp transport module.
Sep 13 05:02:55 localhost kernel: RPC: Registered tcp transport module.
Sep 13 05:02:55 localhost kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
Sep 13 05:03:00 localhost automount[1769]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
Sep 13 05:03:59 localhost kernel: type=1400 audit(1347527039.771:13): avc:  denied  { sys_tty_config } for  pid=2029 comm="consoletype" capability=26  scontext=system_u:system_r
:consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
Sep 13 05:04:00 localhost NET[2061]: /sbin/dhclient-script : updated /etc/resolv.conf
Sep 13 05:04:01 localhost kernel: IPv6 over IPv4 tunneling driver
Sep 13 05:04:01 localhost NET[2219]: /opt/oracle/psft/vm/oraclevm-template.sh : updated /etc/resolv.conf
Sep 13 05:04:08 localhost NET[2472]: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
Sep 13 05:06:08 localhost restorecond: Reset file context /etc/resolv.conf: system_u:object_r:etc_runtime_t:s0->system_u:object_r:net_conf_t:s0
Sep 13 05:08:19 localhost kernel: Slow work thread pool: Starting up
Sep 13 05:08:19 localhost kernel: Slow work thread pool: Ready
Sep 13 05:08:19 localhost kernel: FS-Cache: Loaded
Sep 13 05:08:19 localhost kernel: FS-Cache: Netfs 'nfs' registered for caching
Sep 13 05:08:19 localhost kernel: svc: failed to register lockdv1 RPC service (errno 97).
...
Well, I don't know if it triggers others problems yet, but the last line could reveale an error within the /etc/hosts file which has not been properly modified during deployment (especially IPV6, it probably should be removed) :
[root@psovmfscmfp2 /]# more /etc/hosts
127.0.0.1       localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6
192.168.1.150   psovmfscmfp2.phoenix.nga psovmfscmfp2
[root@psovmfscmfp2 /]#
_2. Now about the COBOL_
Despite I choosed to install Microfocus, COBOL does not work. Sample COBOL processes such as PTPDBTST and PTPDTTST finished in error.
The log is empty, here below the output from the file $PS_CFG_HOME/psft/pt/8.52/appserv/prcs/PRCSDOM/LOGS/stdout (psadm2) :
=================================Error===============================
 Message:     Process 10899 is marked 'Initiated' or 'Processing' but can not detect status of PID
        Process Name: PTPDBTST
        Process Type: COBOL SQL
        Session Id:   9313
=====================================================================
OprId = VP1
Note that I successfully tested AEs and SQRs.
Here is the command line fired that I can see from the process monitor > parameter (nga is being my run control id) :
PSRUN PTPDBTST ORACLE/F91TMPLT/VP1/OPRPSWD/nga/10899//0 
I used the following trace setting on the PTPDBTST's process parameter (override) to see what happens :
%%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%
But it does not generate more logs...
I also use "RCCBL Redirect =1" in psappsrv.cfg (reconfigure and restart appdom), then start the COBOL through menu PeopleTools > Utilities > Debug > PeopleTools Test Utilities, and run a "Remote Call Test".
I received "COBOL Program PTPNTEST aborted (2,-1) FUNCLIB_UTIL.RC_TEST_PB.FieldChange PCPC:2143 Statement:26", but it generated two empty files (PTPNTEST_VP1_0913064910.out and PTPNTEST_VP1_0913064910.err).
Next step, checking the folder $PS_HOME/cblbin, it is...er... empty... does this mean COBOL have not been compiled ? Hmmm, I'm pretty sure I replied 'yes' when it was prompted though (still have the screenshots)...
And we can see several folders dated from today and license seems ok from Microfocus directories :
[psadm1@psovmfscmfp2 tools]$ cd /opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
[psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ ls -lrt
total 264
-r--r--r--  1 root root 10455 Nov 19  2009 ADISCTRL
dr-xr-xr-x 10 root root  4096 Nov 19  2009 terminfo
dr-xr-xr-x  2 root root  4096 Nov 19  2009 xdb
-r--r--r--  1 root root 11949 Nov 19  2009 eslmf-mess
dr-xr-xr-x  2 root root  4096 Nov 19  2009 include
dr-xr-xr-x 17 root root  4096 Nov 19  2009 lang
dr-xr-xr-x  4 root root  4096 Nov 19  2009 es
dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload
drwxrwxrwx  2 root root  4096 Nov 19  2009 deploy
dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload64
dr-xr-xr-x  2 root root  4096 Nov 19  2009 dialog
dr-xr-xr-x  2 root root  4096 Nov 19  2009 cpylib
dr-xr-xr-x  8 root root 28672 Nov 19  2009 lib
dr-xr-xr-x  3 root root  4096 Nov 19  2009 snmp
dr-xr-xr-x  8 root root  4096 Nov 19  2009 src
dr-xr-xr-x 28 root root  4096 Nov 19  2009 demo
dr-xr-xr-x  6 root root  4096 Nov 19  2009 docs
-rw-r--r--  1 root root    49 Sep 13 05:13 license.txt
-r-xr-xr-x  1 root root 12719 Sep 13 05:13 install.orig
-r-xr-xr-x  1 root root 13006 Sep 13 05:13 install
dr-xr-xr-x  6 root root  4096 Sep 13 05:13 lmf
dr-xr-xr-x  2 root root  4096 Sep 13 05:13 aslmf
dr-xr-xr-x  6 root root  4096 Sep 13 05:15 etc
dr-xr-xr-x  4 root root 12288 Sep 13 05:15 bin
[psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ more license.txt
I
ORACLE-30DAYDEV64
01030 A0780 014A6 7980B A17C
So let's assume it has been properly installed and let's compile the COBOLs. Here we go :
[psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ cd $PS_HOME/setup
[psadm1@psovmfscmfp2 setup]$ ./pscbl.mak

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....


 Conversion Summary for Source Codes in  :

     Source: /opt/oracle/psft/pt/tools/src/cbl/
     Target: /opt/oracle/psft/pt/tools/src/cblunicode/

      Number of Copy Libraries Read: 71
                     Modified:       71
                 Not Modified:       0

      Number of Programs Read:       44
                     Modified:       44
                 Not Modified:       0

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak: line 249: cob: command not found
cp: cannot stat `PTPCBLAE.gnt': No such file or directory
cp: cannot stat `PTPCBLAE.int': No such file or directory
cp: cannot stat `PTPCBLAE.lst': No such file or directory
...
What about env. variables ? COBDIR, COBPATH and COBOL do not appears anywhere in PATH...
[psadm1@psovmfscmfp2 setup]$ env|grep -i cobol
[psadm1@psovmfscmfp2 setup]$
Let's set the env variables as we could expect to be (page 27, step 17 of the given doc), and retry to compile the COBOL :
[psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
[psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
[psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
[psadm1@psovmfscmfp2 setup]$ ./pscbl.mak

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....


 Conversion Summary for Source Codes in  :

     Source: /opt/oracle/psft/pt/tools/src/cbl/
     Target: /opt/oracle/psft/pt/tools/src/cblunicode/

      Number of Copy Libraries Read: 71
                     Modified:       71
                 Not Modified:       0

      Number of Programs Read:       44
                     Modified:       44
                 Not Modified:       0

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
 Micro Focus LMF - 010: Unable to contact license manager.                                                                                                                              This product has been unable to contact the                                     License Manager.                                                                                                                                                Execution of this product has been terminated.                                                                                                                  This product cannot execute without the License                                 Manager. Contact your license administrator                                     or refer to the 'Information Messages' chapter                                  of the License Management Facility                                              Administrator's Guide.
cob64: error(s) in compilation: PTPCBLAE.cbl
cp: cannot stat `PTPCBLAE.gnt': No such file or directory
cp: cannot stat `PTPCBLAE.int': No such file or directory
cp: cannot stat `PTPCBLAE.lst': No such file or directory
...
Ok, maybe a bit better, at least it is trying to contact LMF. Probably the LMF is not started. Let's try to start it :
[root@psovmfscmfp2 microfocus]# ./mflmman
MF-LMF:Thu Sep 13 07:19:37 2012: LMF Starting
[root@psovmfscmfp2 microfocus]#
Good, it is starting, it means it wasn't (sic). Now retry to compile :
[psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
[psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
[psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
[psadm1@psovmfscmfp2 setup]$ ./pscbl.mak

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....


 Conversion Summary for Source Codes in  :

     Source: /opt/oracle/psft/pt/tools/src/cbl/
     Target: /opt/oracle/psft/pt/tools/src/cblunicode/

      Number of Copy Libraries Read: 71
                     Modified:       71
                 Not Modified:       0

      Number of Programs Read:       44
                     Modified:       44
                 Not Modified:       0

/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCURND.cbl ...
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPDBTST.cbl ...
<snipped>
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPWLGEN.cbl ...
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL programs have been successfully compiled.
/opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : The COBOL executables were copied to /opt/oracle/psft/pt/tools/cblbin
rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLP1.cbl': Permission denied
rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLUP.cbl': Permission denied
It looks better, I think the last lines marked with "Permission denied" can be safely be ignored.
Those files are owned by psadm3 with a read only for other users (sic). But more concern, I'm wondering why it looks into apptools (???) whereas I'm using psadm1 (tools only, COBPATH=/opt/oracle/psft/pt/tools/cblbin).

Anyway, seems the *.gnt files required to run the COBOLs programs are now in bin :
[psadm1@psovmfscmfp2 setup]$ ls /opt/oracle/psft/pt/tools/cblbin
PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
[psadm1@psovmfscmfp2 setup]$
Have a try to link COBOLs :
[psadm1@psovmfscmfp2 setup]$ ./psrun.mak
./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
./psrun.mak - Successfully created PSRUN in directory: /opt/oracle/psft/pt/tools/bin
./psrun.mak - linking PSRUNRMT for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
./psrun.mak - Successfully created PSRUNRMT in directory: /opt/oracle/psft/pt/tools/bin
[psadm1@psovmfscmfp2 setup]$
The err files are empty :
-rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrun.err
-rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrunrmt.err
So far, so good now. We are able to test again the sample COBOL... until next failure.
Yes, unfortunately, it fails again. But good thing, the log is not empty now :
PSRUN: error while loading shared libraries: libcobrts64.so: cannot open shared object file: No such file or directory
That's probably coming from some missing libraries during the psprcs.cfg configuration. Let's use the same env. variables settings as for psadm1 when compiling COBOLs.
[psadm2@psovmfscmfp2 appserv]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
[psadm2@psovmfscmfp2 appserv]$ export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
[psadm2@psovmfscmfp2 appserv]$ export PATH=$COBDIR/bin:$PATH
[psadm2@psovmfscmfp2 appserv]$ ./psadmin
Reconfigure, restart prcs and re-test... SUCCESSFULLY !!!!!!!!!!!!!!!!!!!!!!!!!
Log from PTPDBTST process shows :
SUCCESSFUL DATABASE CONNECTION
SUCCESSFUL DATABASE DISCONNECT
What a pain !

I did not go further, but we could expect the same issue within the Application COBOLs, since the cblbin directory is also empty out there.
According to psprcs.env, there're two values for COBDIR and the one for the applications cobol is empty :
[psadm2@psovmfscmfp2 PRCSDOM]$ more psprcsrv.env
INFORMIXSERVER=192.168.1.149
COBPATH=/opt/oracle/psft/pt/apptools/cblbin:/opt/oracle/psft/pt/tools/cblbin
PATH=/opt/oracle/psft/pt/apptools/bin:/opt/oracle/psft/pt/apptools/bin/interfacedrivers::/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:/opt/oracle/psft/pt/tools/appserv:/opt
/oracle/psft/pt/tools/setup:/opt/oracle/psft/pt/tools/jre/bin:/opt/oracle/psft/pt/bea/tuxedo/bin:.:/opt/oracle/psft/pt/oracle-client/11.2.0.x/bin:/opt/oracle/psft/pt/oracle-clie
nt/11.2.0.x/perl/bin:/usr/local/bin:/bin:/usr/bin:/opt/oracle/psft/pt/tools/bin:/opt/oracle/psft/pt/tools/bin/sqr/ORA/bin:/opt/oracle/psft/pt/tools/verity/linux/_ilnx21/bin:/hom
e/psadm2/bin:.
[psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/apptools/cblbin
[psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/tools/cblbin
PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
[psadm2@psovmfscmfp2 PRCSDOM]$
The directory "/opt/oracle/psft/pt/apptools/cblbin" is owned by psadm3 and hosted on the database server (nfs mounted), so I assume we also need to set proper values for env variables, and compile the COBOLs before being able to use them.

To resume what I did to make the COBOLs working on this PSOVM :
1. As root, start LMF (this has to be done only once)
cd /opt/oracle/psft/pt/cobol/microfocus
./mflmman
2. As psadm1, set proper env. variable and compile (setting env variable has to be done each time you want to compile COBOLs)
export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export PATH=$COBDIR/bin:$PATH
cd $PS_HOME/setup
./pscbl.mak
./psrun.mak
3. As psadm2, set proper env. variable and reconfigure psprcs.cfg, restart, restart (setting env variable has to be done each time you want to start the process scheduler, so probably better to append these in the .bash_profile)
export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
export PATH=$COBDIR/bin:$PATH
cd $PS_HOME/appserv
./psadmin
4. Same as step 2, but with user psadm3.

HTH,

Nicolas.

PS: will it be the same issue on the HCM template delivered at the same time ? To be tested as well.
PS2: and yes, I tested it twice before posting, result is same.

Edited by: N Gasparotto on Sep 13, 2012 5:17 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points