Archive for August, 2008

SQL Query to view sql for a OS Pid / process

Posted on August 29, 2008. Filed under: DBA/Admin Tips, Scripts | Tags: , , , , |

Select a.sid,a.serial#,b.pid,c.sql_text,a.module,
to_number(b.spid) PROCESSID,
substr(a.username, 1, 12) username
From v$session a,
v$process b,v$sql c
Where a.paddr = b.addr
and a.sql_address = c.address
and b.spid = ‘&spid’
/

Read Full Post | Make a Comment ( 1 so far )

SQL Query to view sql of a session

Posted on August 25, 2008. Filed under: DBA/Admin Tips, Diagnostics, R12, RAC, Scripts, TroubleShooting | Tags: , , , , |

SELECT
T.sql_text
FROM
v$session S,
v$sqltext_with_newlines T
WHERE
S.sid = &sid
AND S.serial# = &serial
[...]

Read Full Post | Make a Comment ( 1 so far )

SQL Query to list running concurrent requests

Posted on August 25, 2008. Filed under: DBA/Admin Tips, R12, RAC, Scripts, TroubleShooting | Tags: , , , |

col user_name format a20 word_wrapped
col ProgName format a25 word_wrapped
col requestId format 99999999
col StartDate format a20 word_Wrapped
col OS_PROCESS_ID format a6
col ETime [...]

Read Full Post | Make a Comment ( 2 so far )

Cloning or Refresh – What did I do?

Posted on August 25, 2008. Filed under: Clone, DBA/Admin Tips | Tags: , , |

Most of us use these terms, interchangeably. Is there a difference in the actual meaning of these terms, Yes, it does.
Clone – Describes when you create a new environment exactly as that of an existing environment. Eg. RAC to RAC, Multi Node Appl Top to Multi Node Appl Top
Refresh – Describes wherein you already [...]

Read Full Post | Make a Comment ( None so far )

Post Clone – Forms Error – oracle.forms.engine.RunformException: Forms session failed during startup: no response from runtime process

Posted on August 12, 2008. Filed under: Clone, Diagnostics, R12, TroubleShooting | Tags: , , , , , , |

We recently did a clone and everything went well – autoconfig ran properly – services started sucessfully – but when we selected a responsibility which will launch a form it errored out with below message :
formsweb: Forms session exception stack trace:
oracle.forms.engine.RunformException: Forms session failed during startup: no response from runtime process
[...]

Read Full Post | Make a Comment ( 2 so far )

Missing Libraries during Post Clone Stage (adcfgclone.pl)

Posted on August 12, 2008. Filed under: Clone, Configuration, R12, Uncategorized | Tags: , , |

We recently faced this interesting issue during the post clone stage. All the .a and .o library files were removed during execution of adcfgclone.pl which ultimately results in relinking errors of forms and reports … strange isnt it …
Both Source and Target boxes were of the same OS configuration : HP UX 11.23 Itanium [...]

Read Full Post | Make a Comment ( None so far )

ASO_ORDER_FEEDBACK_T is huge !!!

Posted on August 12, 2008. Filed under: DBA/Admin Tips |

Friends,
As part of regular house-keeping activities, we were checking for objects with huge sizes in our 11i10 apps instance and came across this object : ASO_ORDER_FEEDBACK_T
This is basically an “Order Capture” queue table that is maintained by Order Management. It works in a broadcast-subscribe concept. Order Management broadcasts evets (messages) via this queue and ANY [...]

Read Full Post | Make a Comment ( 3 so far )

User ‘SYSADMIN’ does not have access to notification. ORA-06512: at APPS.WF_ADVANCED_WORKLIST

Posted on August 7, 2008. Filed under: Configuration, DBA/Admin Tips, R12, Workflow Mailer | Tags: , , , |

Users reported that they got below error message when they were trying to view the notifications while logged in as SYSADMIN user on a development instance.
ORA-20002: 3207: User ‘SYSADMIN’ does not have access to notification .
ORA-06512: at “APPS.WF_ADVANCED_WORKLIST”, line 82
A quick check on the Workflow System Administrator Value (How to check this value) revealed that [...]

Read Full Post | Make a Comment ( 1 so far )

How to enable users to view other users workflow notifications

Posted on August 7, 2008. Filed under: Configuration, DBA/Admin Tips, R12, Workflow Mailer | Tags: , , |

By default and design, only SYSADMIN user can view other users notifications. What if a requirement comes to enable everyone/certain group of people to view everyones notifications … this might sound crazy for a production environment but its a valid request on a Development environment.
Ok coming to the technicalities,
Step 1: Login as SYSADMIN User
Step 2: [...]

Read Full Post | Make a Comment ( 1 so far )

  • a

  • Blog Stats

    • 177,069 hits

Liked it here?
Why not try sites on the blogroll...