Vous êtes sur la page 1sur 4

5/20/2019 ANJANI APPS DBA: OID

OID de-registration failed

Try to deregister OID from EBS isntance and am getting error as below:
You are deregistering this instance from OID Server.

===============================================================

WARNING: You have selected to deregister individual components.


This might leave some components still at registered state
which might create inconsistencies at run time.
It is recommended that you use "-deregister=Yes" to completely deregister
the Oracle EBusiness instance from OID server
OR
Individually deregister components using "-deregisteroid=Yes",
"-deregistersso=Yes" and "-deregisterinstance=Yes".

===============================================================
Enter Oracle E-Business apps database user password ?
Enter the Oracle Internet Directory Administrator (orcladmin) Bind password ?

*** Log File = /apps/tstmgr/inst/apps/XXX_lnxaptst/logs/appl/rgf/TXK/txkSetSSOReg_Wed_Mar_2_00_14_02_2016.xml

Beginning input parameter validation for OID de-registration.

*** ERROR : returnInitialLdapContext() times out after 10000 ms - JNDI initialization method not returning

I removed the references as below:


SSO and OID Registration stores a set of preferences in the Oracle E-Business Suite Database. If
the Oracle E-Business Suite Instance is cloned from an existing SSO/OID registered Oracle E-
Business Suite Instance, the cloned environment has the same preferences as the source
environment and throws errors during SSO/OID Registration. The following command should be
called in the post cloning phase or before proceeding with SSO/OID Registration to remove all the
preferences or settings from cloned environments.

$FND_TOP/bin/txkrun.pl -script=SetSSOReg -removereferences=yes

txkrun.pl -script=SetSSOReg -removereferences=yes" then register with "txkrun.pl -


script=SetSSOReg"

Then after re register OID with my EBS:

$FND_TOP/bin/txkrun.pl -script=SetSSOReg -registerinstance=yes

You are registering ORACLE HOME only.

Enter the host name where Oracle iAS Infrastructure database is installed ? lnxoemtst.erp.xxx.com
Enter the LDAP Port on Oracle Internet Directory server ? 3060
Enter SSL LDAP Port on Oracle Internet Directory server ? 3131
Enter the Oracle Internet Directory Administrator (orcladmin) Bind password ?
Enter Oracle E-Business apps database user password ?

*** Log File =


/apps/tstmgr/inst/apps/XXXX_lnxaptst/logs/appl/rgf/TXK/txkSetSSOReg_Wed_Mar_2_00_26_37_2016.xml

Beginning input parameter validation for Oracle Home Instance registration.

anjaniappsdba.blogspot.com/search/label/OID 1/4
5/20/2019 ANJANI APPS DBA: OID

Input parameter validation for Oracle Home Instance registration completed.

BEGIN ORACLE HOME INSTANCE REGISTRATION:


Oracle Home Instance preferences stored successfully.
Oracle Home Instance registered successfully.

End of /apps/tstmgr/apps_st/appl/fnd/12.0.0/patch/115/bin/txkSetSSOReg.pl : No Errors


encountered
[tstmgr@lnxaptst /apps/tstmgr]$ $FND_TOP/bin/txkrun.pl -script=SetSSOReg -registeroid=yes

You are registering this instance with OID Server.

Enter LDAP Host name ? lnxoemtst.erp.njvc.com


Enter the LDAP Port on Oracle Internet Directory server ? 3060
Enter the Oracle Internet Directory Administrator (orcladmin) Bind password ?
Enter the instance password that you would like to register this application instance with ?
Enter Oracle E-Business apps database user password ?

*** Log File =


/apps/tstmgr/inst/apps/XXXXX_lnxaptst/logs/appl/rgf/TXK/txkSetSSOReg_Wed_Mar_2_00_27_11_2016.xml

Beginning input parameter validation for OID registration.


Input parameters validation for OID registration completed.

BEGIN OID REGISTRATION:


Beginning to register Application and Service containers if necessary.
Application and Service containers were created successfully if necessary.
Beginning to register application in Oracle Internet Directory.
Registration of application in Oracle Internet Directory completed successfully.
-> LOADING: /apps/tstmgr/apps_st/appl/fnd/12.0.0/admin/template/AppsOIDRegistration.tmp
Beginning to register provisioning profile in Oracle Internet Directory.
Registration of provisioning profile in Oracle Internet Directory completed successfully.
Application is now registered successfully with provisioning in Oracle Internet Directory.

End of /apps/tstmgr/apps_st/appl/fnd/12.0.0/patch/115/bin/txkSetSSOReg.pl : No Errors


encountered

Thanks
Srini

Posted by ANJANI.APPSDBA at 10:21 No comments:

Labels: OID

OID Start & Stop Process

To start DB, follow the steps in the order given below:

1. Set the environment variables (if they are not already set) by executing the below commands:
a. export ORACLE_HOME = /app/oracle/product/11.2.0/dbhome_1. Path of the base
anjaniappsdba.blogspot.com/search/label/OID 2/4
5/20/2019 ANJANI APPS DBA: OID

directory of database
b. export PATH = /app/oracle/product/11.2.0/dbhome_1/bin: $PATH. The bin directory of
ORACLE_HOME
c. export LD_LIBRARY_PATH=/app/oracle/product/11.2.0/dbhome_1/lib. The lib folder of
ORACLE_HOME
d. export ORACLE_SID=orcl. Database SID
PS: All these variables can be permanently set in the session by writing these commands to
".profile" file of the unix user.
2. Start the database listener by executing the below command:
a. lsnrctl start
b.startup

OID Services Start Location:

Steps to Start OID using OPMN


1. Set the environment variables required to start OID by executing the below commands:
a. export ORACLE_HOME=/home/oracle/Oracle/Middleware/Oracle_IDM1. Path of the
base directory of Oracle Internet Directory
b. export ORACLE_INSTANCE=/home/oracle/Oracle/Middleware/asinst_1. Path of the
instance directory created while installation
c. export
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin:$PATH.
d. export TNS_ADMIN=$ORACLE_INSTANCE/config
PS: Make sure the first directory of PATH variable is always bin directory of ORACLE_HOME as
defined above. You might get errors while executing ldap commands if this is not maintained.
2. Start OID by executing
a. opmnctl startall
You can check the status of OID by executing opmnctl status to verify if the status is Alive i.e., if
OID is started.
3.Stop OID by executing
opmnctl stopall

Example:

[oemora@lnxdbtst > /apps/oemora]$ export


ORACLE_HOME=/apps/oemora/Oracle/Middleware/Oracle_IDM1
[oemora@lnxdbtst > /apps/oemora]$ export
ORACLE_INSTANCE=/apps/oemora/Oracle/Middleware/asinst_1
[oemora@lnxdbtst > /apps/oemora]$ export
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/ldap/bin:$ORACLE_INSTANCE/bin:$PATH
[oemora@lnxdbtst > /apps/oemora]$ export TNS_ADMIN=$ORACLE_INSTANCE/config
[oemora@lnxdbtst > /apps/oemora]$ cd $ORACLE_INSTANCE
[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/asinst_1]$ ls
auditlogs bin config diagnostics EMAGENT OHS OID OVD tmp
[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/asinst_1]$ cd bin
[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/asinst_1/bin]$ ls
opmnctl
[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/asinst_1/bin]$ opmnctl status

Processes in Instance: asinst_1


---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
ohs1 | OHS | 31898 | Alive
ovd1 | OVD | 31897 | Alive
oid1 | oidldapd | 32217 | Alive
oid1 | oidldapd | 32245 | Alive
oid1 | oidmon | 31896 | Alive
anjaniappsdba.blogspot.com/search/label/OID 3/4
5/20/2019 ANJANI APPS DBA: OID

EMAGENT | EMAGENT | 31895 | Alive

[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/asinst_1/bin]$

Steps to start Web logic Admin and Managed Server


1. To start Weblogic Admin Server, Navigate to /bin directory and execute:
a. ./startWeblogic
2. To start Managed Server, Navigate to /bin directory and execute:
a. ./startManagedWeblogic
[oemora@lnxdbtst > /apps/oemora/Oracle/Middleware/user_projects/domains/base_domain/bin]$
ls -ltr
total 68
drwxr-x--- 2 oemora oemora 4096 Jul 21 16:25 service_migration
drwxr-x--- 2 oemora oemora 4096 Jul 21 16:25 server_migration
drwxr-x--- 2 oemora oemora 4096 Jul 21 16:25 nodemanager
-rwxr-x--- 1 oemora oemora 1979 Jul 21 16:25 stopWebLogic.sh
-rwxr-x--- 1 oemora oemora 5697 Jul 21 16:25 startWebLogic.sh
-rwxr-x--- 1 oemora oemora 2415 Jul 21 16:25 stopManagedWebLogic.sh
-rwxr-x--- 1 oemora oemora 3203 Jul 21 16:25 startManagedWebLogic.sh
-rwxr-x--- 1 oemora oemora 16132 Jul 21 16:25 setDomainEnv.sh
-rw------- 1 oemora oemora 20100 Oct 20 06:18 nohup.out

anjaniappsdba.blogspot.com/search/label/OID 4/4

Vous aimerez peut-être aussi