Posts Tagged ‘DBA’

Oracle R12 E-Business Suite Output Post Processor (OPP) Fails To Pick Up Concurrent Requests With Error ‘Unable to find an Output Post Processor service to post-process request ’

November 17th, 2024, posted in Oracle EBS Application, Oracle Queries
Share
SELECT fcp.concurrent_process_id
FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp
WHERE concurrent_queue_name = ‘FNDCPOPP’
AND fcq.concurrent_queue_id = fcp.concurrent_queue_id
AND fcq.application_id = fcp.queue_application_id
AND fcp.process_status_code = ‘A’;

Output example:

CONCURRENT_PROCESS_ID
———————
93557
93558
select name from APPLSYS.AQ$FND_CP_GSM_OPP_AQTBL_S ;

Output example:
NAME
——————————
OPP35562
OPP35563
OPP35564
OPP35565
exec fnd_cp_opp_ipc.unsubscribe(”);
Example:
exec fnd_cp_opp_ipc.unsubscribe(‘88933’);
exec fnd_cp_opp_ipc.unsubscribe(‘92625’);
Share

Output Post Processor (OPP) – An Overview By Author – A.Kishore/Sach

October 12th, 2024, posted in Oracle EBS Application, Oracle Queries
Share
SELECT service_id, service_handle, developer_parameters
FROM fnd_cp_services
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues
WHERE concurrent_queue_name = 'FNDCPOPP');
SERVICE_ID SERVICE_HANDLE DEVELOPER_PARAMETERS

Profile Option : Concurrent:OPP Process Timeout
Internal Name : CONC_PP_PROCESS_TIMEOUT
Description : Specifies the amount of time the manager waits for the OPP to actually
process the request.
Share

Find Long Running Concurrent Request In Oracle

October 1st, 2024, posted in Oracle EBS Application, Oracle Queries
Share
SELECT a.request_id
,a.oracle_process_id "SPID"
,frt.responsibility_name
,c.concurrent_program_name || ': ' || ctl.user_concurrent_program_name
,a.description
,a.ARGUMENT_TEXT
,b.node_name
,b.db_instance
,a.logfile_name
,a.logfile_node_name
,a.outfile_name
,q.concurrent_queue_name
,a.phase_code,a.status_code, a.completion_text
, actual_start_date
, actual_completion_date
, fu.user_name
,(nvl(actual_completion_date,sysdate)-actual_start_date)1440 mins ,(SELECT avg(nvl(a2.actual_completion_date-a2.actual_start_date,0))1440 avg_run_time
FROM APPLSYS.fnd_Concurrent_requests a2,
APPLSYS.fnd_concurrent_programs c2
WHERE c2.concurrent_program_id = c.concurrent_program_id
AND a2.concurrent_program_id = c2.concurrent_program_id
AND a2.program_application_id = c2.application_id
AND a2.phase_code || '' = 'C') avg_mins
,round((actual_completion_date - requested_start_date),2) * 24 duration_in_hours
FROM APPLSYS.fnd_Concurrent_requests a,APPLSYS.fnd_concurrent_processes b
,applsys.fnd_concurrent_queues q
,APPLSYS.fnd_concurrent_programs c
,APPLSYS.fnd_concurrent_programs_tl ctl
,apps.fnd_user fu
,apps.FND_RESPONSIBILITY_TL frt
WHERE a.controlling_manager = b.concurrent_process_id
AND a.concurrent_program_id = c.concurrent_program_id
AND a.program_application_id = c.application_id
AND a.phase_code = 'R'
AND a.status_code = 'R'
AND b.queue_application_id = q.application_id
AND b.concurrent_queue_id = q.concurrent_queue_id
AND ctl.concurrent_program_id = c.concurrent_program_id
AND a.requested_by = fu.user_id
AND a.responsibility_id = frt.responsibility_id
ORDER BY a.actual_start_date DESC

SELECT b.sid, b.serial#, a.spid, b.program, b.osuser, b.machine,
b.type, b.event, b.action, b.p1text, b.p2text, b.p3text, b.state, c.sql_text,b.logon_time
FROM v$process a, v$session b, v$sqltext c
WHERE a.addr=b.paddr
AND b.sql_hash_value = c.hash_value
AND b.STATUS = 'ACTIVE'
AND a.spid = '11696'
ORDER BY a.spid, c.piece
Share

ENABLE DIAGNOSTICS IN ORACLE APPLICATIONS R12

August 7th, 2023, posted in Oracle EBS Application
Share
Users may not able to able to see Help >Diagnostics option or get an error “Function Not Available to this Responsibility. Please check with your system administrator.”

These profiles need to be set at user level. So specific user can access this functionality (ex. Support folks/Developers)

Navigation: Go to System Administrator responsibility
Profile> System

Profile Option Name: Utilities:Diagnostics
User Level: Yes

Profile Option Name: Hide Diagnostics menu entry
User Level: NO

Save changes
Have user logout of Oracle Application and login again

User should be able to access Help >Diagnostics Menu

Share

Checking Last 10 Reboots of a Solaris Server

March 28th, 2021, posted in Solaris
Share

 

On your Solaris boxes here, you’d need to doChecking Last 10 Reboots of a Solaris Server,Checking Last 10 Reboots, Solaris Server,Last 10 Reboots of a Solaris Server,Reboots of a Solaris Server,Reboots of a Solaris,Sys DBA,DBA,Reboot
last -10 reboot to actually get the times that the system was rebooted.
As it shows the system down messages, as well as the boot messages.

 

 

root@immam # last -10 reboot
reboot system boot Sun Aug 16 10:53
reboot system down Sun Jun 14 08:50
reboot system boot Sun Jun 14 08:17
reboot system down Mon Mar 2 12:44
reboot system boot Mon Jan 27 10:23
reboot system down Sun Jan 26 13:15
reboot system boot Sun Jan 26 12:36
reboot system down Wed Jan 22 14:40
reboot system boot Mon Jan 20 13:55
reboot system down Mon Jan 20 12:59
Share