Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Errors/Workarounds-Applications

November 7, 2017 opmnctl start: failed. Can not resolve test.oracle.com for interface any
APPS DBAErrors/Workarounds-Applications

ERROR

OPMN ERROR:
———-
Can not resolve test.oracle.com for interface any 
opmnctl start: failed.

(more…)

November 7, 2017 ELFCLASS64 at /usr/lib64/perl5/XSLoader.pm line 70
APPS DBAErrors/Workarounds-Applications

ERROR

=============================================
*** Latest formsapp.ear has been deployed ***
=============================================

Program : /u01/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Tue Sep 4 05:45:23 2015
Perl script txkChkFormsDeployment.pl got executed successfully
(more…)

October 10, 2017 Adding responsibility to SYSADMIN user resulted ORA-20001: FND_CANT_INSERT_USER_ROLE
Errors/Workarounds-ApplicationsOracle APPS DBA

ERROR

Oracle error – 20001: ORA-20001: FND_CANT_INSERT_USER_ROLE
(USERNAME=SYSADMIN)
(ROLENAME=FND_RESP|FND|FND_FUNC_ADMINI|STANDARD)
(ROUTINE=FND_USER_RESP_GROUPS_API.Insert_Assignment) has
been detected in FND_USER_RESP_GROUPS_API.INSERT_ASSIGNMENT

SOLUTION

This Issue exists in default R12 installation

Step 1. Run the concurrent program “Workflow Directory Services User/Role Validation” with parameters : 100000, Yes, Yes, No

Step 2. Bounce all services under oacore or bounce opmnctl .

Reference Oracle Note id : 454988.1

 

 

September 1, 2017 How To Trace Concurrent Programs
APPS DBAErrors/Workarounds-ApplicationsInstallations/Configurations-Applications

How To Trace Concurrent Programs

CASE 1 : Concurrent Program Tracing without bind variables

1)   Follow the following navigation to enable logging for Concurrent Program

  1. Goto Sysadmin > Concurrent > Program > Define
  2. Query the concurrent program
  3. Check the trace box to enable trace

2) Execute the concurrent program and note down the request id

 

 

CASE 2: Concurrent Program Tracing with bind variables and waits

1) Note down the following values

  • SQL>SELECT value FROM v$parameter WHERE name = “max_dump_file_size”;
  • SQL>SELECT value FROM v$parameter WHERE name = “timed_statistics”;

2)   Execute the following commands as sysdba

  • SQL>ALTER SYSTEM SET max_dump_file_size = unlimited;
  • SQL>ALTER SYSTEM SET timed_statistics = true;
  • SQL>ALTER SYSTEM SET EVENTS ‘10046 trace name context forever, level 12’;

3)   Execute the concurrent program and note down the request id

4)Turn off tracing the reset the values.

  • SQL>ALTER SYSTEM SET EVENTS ‘10046 trace name context off’;
  • SQL>ALTER SYSTEM SET max_dump_file_size = <value from step 1>;
  • SQL>ALTER SYSTEM SET timed_statistics = <value from step 1>;

 

 

CASE 3: Enabling the trace for a concurrent request for which you donot have privileges to run the concurrent Request.

1)   Now, Run the concurrent program and get the request id .

2)  Get the oracle_process_id for that concurrent request.

SELECT request_id,
oracle_process_id
FROM   fnd_concurrent_requests
WHERE  request_id IN (“xxxxxxx”);

3)   Now get the session details ( SID and Serial ) using value obtained from step 2

col “SID/SERIAL” format a10 col username format a15
col osuser format a15 col program format a40
SELECT s.sid
|| “,”
|| s.serial# “SID/SERIAL”,
s.username,
s.osuser,
s.status,
p.spid       “OS PID”,
s.inst_id,
s.MODULE
FROM   sys.gv_$session s,
sys.gv_$process p
WHERE  s.paddr = p.addr
AND s.inst_id = p.inst_id
AND p.spid = &value_from_step2
ORDER  BY To_number(p.spid);

4)   Execute the following command to enable the trace :

EXECUTE dbms_support.start_trace_in_session (&sid, &serial, binds=>true, waits=>
true);

5)   Collect the trace from udump location and investigate the issue.

 

 Reference Metalink Note: 296559.1 to know more about tracing.