FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.

Scenario:

After cloning, While launching the forms we get the following error

Error :
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.
Please look into the web-server log file for details.

Cause:

This is due to ldflags pointing to wrongly to PROD server which should points to (TEST/DEV) respective server.

Solution:

Source the Apps environment

Bring down the application

Cd $ORACLE_HOME/lib32

ls –lrt ldflags -Would be pointing to production location

unlink ldflags

ln -s /u01/test/apps/tech_st/10.1.2/lib/ldflags ldflags (link to the right path)

cd $ORACLE_HOME/forms/lib32/

make -f ins_forms.mk install

Now restart the application and retest the issue.