DPK Error - links proc gen_pcscfg procob rtsora profor

Error in invoking target ‘links proc gen_pcscfg procob rtsora profor

When executing PeopleTools DPK, you might encounter an error like:

Starting the Deployment of PeopleSoft Components:

Deploying PeopleTools Components: [FAILED]

Apart from the above mentioned error, there may not enough information, which could provide you a hint of where the issue is. Let us try to debug one of such situations.

What you can do is look at psft_dpk_setup_apply.log to see if any additional detail is available there:

More...

Since this post is about resolving the error "Error in invoking target 'links proc gen_pcscfg procob rtsora profor" -- I will assume that you received that error. Your psft_dpk_setup_apply.log may show something like below:

Enter yPuppet Debug: Oracle Client 19c Silent Install response file = $BASE_DIR/pt/oracle-client/19.3.0.0/client_install.rsp
Puppet Debug: /var/opt/oracle/oraInst.loc not found. Oracle 19c - Inventory location is: /srv/dpk/oracle
Puppet Debug: Oracle Installation command export CV_ASSUME_DISTID=OL7 && $BASE_DIR/pt/oracle-client/19.3.0.0/runInstaller -silent -waitforcompletion -nowait -responseFile $BASE_DIR/pt/oracle-client/19.3.0.0/client_install.rsp -ignorePrereq
Puppet Debug: Installation of Oracle 19c Client Home out_str:Launching Oracle Database Client Setup Wizard...
The response file for this session can be found at:
$BASE_DIR/pt/oracle-client/19.3.0.0/install/response/client_<DATE_TIME>.rsp
You can find the log of this install session at:
/tmp/InstallActions<DATE_TIME>/installActions<DATE_TIME>.log
[FATAL] Error in invoking target 'links proc gen_pcscfg procob rtsora profor' of makefile '$BASE_DIR/pt/oracle-client/19.3.0.0/precomp/lib/ins_precomp.mk'. See '/tmp/InstallActions<DATE_TIME>/installActions<DATE_TIME>.log' for details.
Moved the install session logs to:
/srv/dpk/oracle/logs/InstallActions<DATE_TIME>
Puppet
Puppet Debug: Installation of Oracle 19c Client Home error_str:
Puppet Debug: Validating inventory.xml /srv/dpk/oracle/ContentsXML/inventory.xml
Puppet Debug: ERROR: Inventory.xml (/srv/dpk/oracle/ContentsXML/inventory.xml) not found or inventory.xml entry not found for Oracle 19c Client Home $BASE_DIR/pt/oracle-client/19.3.0.0
Puppet Error: Installation of Oracle 19c Client Home $BASE_DIR/pt/oracle-client/19.3.0.0 failed, error:
$BASE_DIR/dpk/puppet/production/modules/pt_deploy/lib/pt_deploy_utils/database.rb:512:in `block in install_oracle_home'our text here...

If you'd look at installActions<DATE_TIME>.log file, you may see something like below, which provides info on the likely cause of the error:

INFO:
Linking $BASE_DIR/pt/oracle-client/19.3.0.0/precomp/lib/rtsora
INFO:
sh[3]: cob: not found.
INFO:
chmod: can't access $BASE_DIR/pt/oracle-client/19.3.0.0/precomp/lib/rtsora
INFO:
*** Error exit code 1
INFO:
Stop.
INFO:
Stop.
INFO:
*** Error exit code 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'links proc gen_pcscfg procob rtsora profor' of makefile '$BASE_DIR/pt/oracle-client/19.3.0.0/precomp/lib/ins_precomp.mk'. See '/tmp/InstallActions<DATE_TIME>/installActions<DATE_TIME>.log' for details.
Exception Severity: 1
Adding ExitStatus STOP_INSTALL to the exit status set
Finding the most appropriate exit status for the current application
The inventory does not exist, but the location of the inventory is known: /srv/dpk/oracle
Finding the most appropriate exit status for the current application
Exit Status is -4
Shutdown Oracle Database Client 19c Installer

How to Resolve "Error in invoking target 'links proc gen_pcscfg procob rtsora profor"

As you saw above that there is clear hint on what is wrong:

sh[3]: cob: not found.

This issue is caused by having an environment variable setting for COBDIR on the user being used for DPK Deployment.

Since the oracle-client does not require the COBDIR path to be present, it will fail.

To resolve the issue do the following steps:

1. Perform cleanup of the failed PTools DPK deployment by running

   psft-dpk-setup.<ext> --cleanup

2. Take of note and remove any references that are pointing to COBOL on the non-root user being used for the PeopleTools DPK Deployment -
      a. Remove the following environment variables if present: COBDIR, COBLIB, and COBPATH
      b. Remove any references to COBOL in the following environment variables: PATH, LD_LIBRARY_PATH, SHLIB_PATH.

3. Re-initiate the mid-tier DPK deployment as a non-root user (with the required parameters).

4. After the successful completion of the DPK deployment, restore all the environment settings modified earlier.

Apurva Tripathi
 

>