Академический Документы
Профессиональный Документы
Культура Документы
January 2, 2012
Gather Schema Statistics Failed with FDPSTP failed due to ORA-20005: object statistics are locked
Filed under: Concurrent Manager,Issues appsdba11i @ 7:55 pm Tags: line 805 ORA-06512: at line 1, ORACLE error 20005 in FDPSTP, ORACLE error 20005 in FDPSTP Cause: FDPSTP failed due to ORA-20005: object statistics are locked (stattype = ALL) ORA-06512: at "APPS.FND_STATS"
Error: ========= ORACLE error 20005 in FDPSTP Cause: FDPSTP failed due to ORA-20005: object statistics are locked (stattype = ALL) ORA-06512: at APPS.FND_STATS, line 805 ORA-06512: at line 1 Cause: Find the Table which statistics are locked by using below query. select owner, table_name, stattype_locked from dba_tab_statistics where stattype_locked is not null; Ex: SQL> select owner, table_name, stattype_locked from dba_tab_statistics where stattype_locked is not null; OWNER TABLE_NAME STATT APPLSYS FND_LOB_ACCESS ALL SQL> Solution: Unlock the Tables which got locked exec DBMS_STATS.UNLOCK_TABLE_STATS (OWNER,'TABLE_NAME); Ex: SQL> exec DBMS_STATS.UNLOCK_TABLE_STATS (APPLSYS,'FND_LOB_ACCESS); PL/SQL procedure successfully completed. It should resolve the issue. Thanks Reddy Leave a Comment
Hi Folks I recently got the issue. I am Failed to enable the maintaince mode in R12. I got this error when i am trying aiimToggleMaintenanceMode():Error while calling aiucm3(). or declare * ERROR at line 1: ORA-20000: ORA-24033: no recipients for messageFailed to call the procedure fnd_apps_mode_util.set_to_maintenance_mode while enabling maintenance mode. ORA-06512: at line 38 Solution ======== 1)Take the Backup of fnd_profile_options create table fnd_profile_option_values_bak as select * from fnd_profile_option_values ;
2. Identify the PROFILE_OPTION_ID That need to be updated select profile_option_id from FND_PROFILE_OPTIONS where PROFILE_OPTION_NAME =APPS_MAINTENANCE_MODE; ex: SQL> select profile_option_id from fnd_profile_options where profile_option_name = APPS_MAINTENANCE_MODE; 2 PROFILE_OPTION_ID 5791 3. Update the table FND_PROFILE_OPTION_VALUES via following update statement : update FND_PROFILE_OPTION_VALUES set PROFILE_OPTION_VALUE = MAINT where PROFILE_OPTION_ID=; Ex: SQL> update fnd_profile_option_values set profile_option_value =MAINT where profile_option_id=5791; 1 row updated.
SQL> Commit; Commit complete. This Resolved the issue. Other things That Needto Check =============================== 1) Compile Invalids (utrp & manually) 2) Try to swith to maintaincence mode Ref Notes: (Doc ID 376758.1) Thanks Reddy Leave a Comment
This should resolve the issue Ref Note : Doc ID 409045.1 Issue arrises when Clone From Rac DB To Non-Rac DB. Thanks Reddy Leave a Comment
1. Run the following in SQL*Plus as APPS: EXEC FND_CONC_CLONE.SETUP_CLEAN; COMMIT; EXIT; 2. Run AutoConfig to repopulate the required system tables. Note that step two will delete all data from system tables such as FND_NODES, FND_OAM_CONTEXT_FILES, etc. The correct information for the current system will be repopulated when AutoConfig is run. 3. Start the managers Ref id : (Doc ID 368380.1) Hope this will resolve your issue. Cheers Reddy Leave a Comment
then ORa-00600 [kcrf_rsw_init-2] is raised. Solution ============ 1) SQL>STARTUP MOUNT 2) Find current online redolog with following query SQL>SELECT F.MEMBER, V.THREAD#, V.SEQUENCE#, V.GROUP#, V.STATUS FROM V$LOG V, V$LOGFILE F WHERE V.GROUP# = F.GROUP#; 3) use this redologs for recovery SQL>RECOVER DATABASE USING BACKUP CONTROFILE UNTIL CANCEL; When prompted for the log sequence supply the name of the current online redolog then reopen: 4)Once after log applied,open the database SQL>ALTER DATABASE OPEN RESETLOGS; Reference Note : ================== Crash recovery fails Ora-600 [Kcrf_rsw_init-2] (Doc ID 1313954.1) Thanks Reddy Leave a Comment
Cause ======= The sequence FND_CONCURRENT_PROCESSES_S has been manually updated : The max value of the column CONCURRENT_PROCESS_ID must be lower than the next value of sequence FND_CONCURRENT_PROCESSES_S . select max(CONCURRENT_PROCESS_ID) from FND_CONCURRENT_PROCESSES; MAX(CONCURRENT_PROCESS_ID) 95730 SQL> select FND_CONCURRENT_PROCESSES_S.nextval from dual; NEXTVAL 92596 for us the nextval is less than current values , we have to increase the value by 3000 Solution ======== To implement the solution, please execute the following steps : 1. Stop the concurrent managers. 2. Set the next value of sequence FND_CONCURRENT_PROCESSES_S to be higher than the max value of FND_CONCURRENT_PROCESSES.CONCURRENT_PROCESS_ID. Ex : alter sequence FND_CONCURRENT_PROCESSES_S increment by 3000 ( difference between those values) 3)start the concurrent managers Ref Note id : =============== Error APP-FND-01564 ORA-00001 when Starting the Concurrent Managers (Doc ID 552142.1) Leave a Comment
June 9, 2011
FRM-92050 Failed to connect to the server
Filed under: Issues appsdba11i @ 9:22 am Tags: FRM-92050 Failed to connect to the server, Java Exception: Hello Folks Recently we got issue in test instance when launching the forms.. Issue Discrription
Refernce Note : FRM-92050 Connecting and Failed to exec runform f60webmx Starting Forms Server (Doc ID 438231.1) NOTE:1079806.6 Failed to Exec Runform when Starting Forms Server Leave a Comment
/apps11i/product/806/lib/sysliblist` -ldl -lpthread -lm /apps11i/product/806/rdbms/lib/defopt.o /apps11i/product/806/rdbms/lib/ssbbded.o /usr/bin/ld: cannot find /PROD/806/lib/stubs/libc.so.6 collect2: ld returned 1 exit status make: *** [/apps11i/apapps11i/11510/ar/11.5.0/bin/RAXTRX] Error 1 Done with link of ar executable RAXTRX on Wed March 25 02:12:14 IST 2011 Relink of module RAXTRX failed. See error messages above (also recorded in log file) for possible reasons for the failure. Also, please check that the Unix userid Cause:-libc.so is pointing to Production .. Resolution/Fix:- Need to change libc.so reference to apps11i Steps to resolve this Problem ============================ 1) login as apuser(applmgr) 2) change directory to $ORACLE_HOME/lib/stubs 3) cat libc.so chk wther its pointing to the COrrect instance 4) if not Then chanage to Present instance and restart the patch In my case : $ cd $ORACLE_HOME/lib/stubs $ ls -lrt libc.so -rw-rr 1 apapps11i dba
$ cat libc.so GROUP ( /PROD/806/lib/stubs/libc.so.6 /usr/lib/libc_nonshared.a ) here Our libc.so pointed to PROD instance.. changing entry from /PROD/806/lib/stubs/libc.so.6 to /apps11i/806/lib/stubs/libc.so.6 And restarted the patch Its applied successfully Reference Note:================= 1275418.1 244256.1
Leave a Comment
Disable JIT.
Regards Reddy
Hi Guys.. today i am going to explain about troubleshooting long running concurrent Request in Oracle Applications 11i/Release 12 Before confirming a concurrent Request to long running we need to conclude/observe some of the things
Check the Statistics,History Runs of that program & Based on this timelines we need to decide the long running Request. Check The load on DB node to ensure that High Resource Usage is not the Main cause.i troubleshoot Check DB locks in The Databse To Ensure that This Session is not blocked by any other session. Check wether Same Iteration Of concurrent program is running on Instance. like if concurrent request is running twise/trice
If we are Happy/resolved the above things and find that we dont have any problem Then we need to Digg long running concurrent Request Step 1 : Get Concurrent Request ID of long running concurrent request from Application(fronted). Navigation : Application >> System administrator>> concurrent>request>
By using the above Query we can get sid,serial#,spid of the concurrent Request.. SELECT a.request_id, d.sid, d.serial# , c.SPID FROM apps.fnd_concurrent_requests a, apps.fnd_concurrent_processes b, v$process c, v$session d WHERE a.controlling_manager = b.concurrent_process_id AND c.pid = b.oracle_process_id AND b.session_id=d.audsid AND a.request_id = &Request_ID AND a.phase_code = R; In My case The Concurrent Request id is 678901 Output of above query returned REQUEST_ID SID SERIAL# SPID 678901 1973 89 1100 Here Conurrent Request id is 678901 & Asoociated Session is 1973. SPID is the process that Running on DB node Because of This Request.. oracle@acer $ ps -ef|grep -i 1100 oracle1100 1 0 3:30:43 0:03 oracle (LOCAL=NO)
Note : before Using Oradebug make sure that spid shoud exist on DB node.. Step 3 : Enable event 10046 trace with level 12 using oradebug . Syntax : oradebug setospid SPID Here SPID is the process id that we are getting from step 2 Coming to My Case SQL> oradebug setospid 1100 Oracle pid: 79, Unix process pid: 1100, image: oracle@Acer Step 3.3 : Enable trace for 10046 event with level 12 SQL> oradebug event 10046 trace name context forever, level 12
Step 3.4 : Locate Trace file as SQL>oradebug tracefile_name /ORADB/acerdb/9.2.0/admin/DELL_ACER/udump/ACER_ora_1100.trc Wait for 30 Min to get the Trace file to find the Root Cause Step 4 : Disable trace if u r thinking that trace is enough to find the root cause..
SQL> oradebug event 10046 trace name context off Step 5 : Convert raw trace To Understandable tracefile By using tkprof/Traceanalyzer tkprof /ORADB/acerdb/9.2.0/admin/DELL_ACER/udump/ACER_ora_1100.trc /ORADB/acerdb/9.2.0/admin/DELL_ACER/udump/ACER_ora_1100.txt explain=apps/[apps_passwd] prsela. Step 6 : Check TKPROF out file to find root cause of slow concurrent request. Hope this will helpful.. Will coming more Depth in coming days .. Thanks Reddy
Comments (1)
ORA-20100: Error: FND_FILE failure. Unable to create file, l*****.tmp in the directory
Filed under: Issues appsdba11i @ 2:56 am Tags: APP-FND-01914: File o0001236.tmp creation failed File could not be opened or operated on as requested Action, ORA-20100: Error: FND_FILE failure. Unable to create file .tmp in the directory, oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20100: Error: FND_FILE failure. Unable to create file
Hi Folks I got recently a issue with FND_FILE, i.e a concurrent program is unable to creae a ffile in directory /SID/tmp. Error may look like this
Exception Details. oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20100: Error: FND_FILE failure. Unable to create file, o9875234.tmp in the directory, /usr/tmp. You will find more information in the request log. ORA-06512: at "APPS.FND_FILE", line 417 ORA-06512: at "APPS.FND_FILE", line 526 ORA-06512: at "APPS.IBY_FD_USER_API_PUB", line 661 ORA-06512: at "APPS.IBY_FD_USER_API_PUB", line 311 ORA-06512: at "APPS.AP_PAYMENT_UTIL_PKG", line 886 ORA-06512: at line 1
OR
APP-FND-01914: File o0001236.tmp creation failed File could not be opened or operated on as requested Action: Make sure this directory is a valid directory with write permissions on the database server node and is listed under utl_file_dir parameter in the instance parameter initialization file (init.ora) for the database you are working with.(TEMP_DIR=/usr/tmp)
If someone Get similar type of issue please do the this steps . Approach: 1) chk wether that directory physically Exist or not. 2) Directory Shoud Have Write permissions to the application user(applmgr) as it will create a some .tmp file . change Directory file permssion to 777. so that others can write a file into it chmod 777 /usr/tmp 3) Check UTL_FILE_DIR entry and value shoud be same as u r directory show paramter utl_File_dir in our case it is /usr/tmp 4) chk APPLTMP varaible value in MT & the first value of UTL_FILE_DIR shoud be APPLMTP variable.. echo $APPLTMP IF not do the following steps
1. Change the UTL_FILE_DIR to have the same first value as the $APPLPTMP, in our case : /usr/tmp Change it in the initSID.ora and reboot the database after. 2. Grant all users read/write permissions to that directory: chmod 777 /usr/tmp Refernce 392635.1 Regards Reddy
Leave a Comment
Hi Folks One of my friend Faced A issue with Unable to view Concurrent Requests log/output files .. Issue Description ============ We are running 11.5.10.2 and recently did a clone of production to test. However, in the test environment when I run a concurrent request I am no longer able to view the logs or outputs through Oracle. The error I get when I try to view the output is:
An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_ACER_vmhost1. There may be a network configuration problem, or the TNS listener on node FNDFS_ACER_vmhost1 may not be running. Please contact your system administrator.
The Processing of request in normal and nothing problem with the concurrent processing but if i want to view the report
I am forced to login through BOX and find them manually under $APPLCSF/$APPLLOG and $APPLOUT. Recent Changes =============== Instance is Cloned From Production Recently.. Approach : ========= 1) Check Listner is Up on CM node or not.. chk tns entry of FNDFS entry in $TNS_ADMIN in 8.0.6 if its ok Then Try to do this find fndfs entry in tns and tnsping In my case ex: tnsping FNDFS_ACER_vmhost1 2) Check this profile values at site level CONCURRENT: Report Access Level (this must be set to USER or RESPONSIBILITY) RRA: Service Prefix (this should be BLANK) RRA: Enabled (this must be set to YES) VIEWER: Text (this should be BLANK to view with the default text viewer) - Viewer: Text can Be set to browser to view with Netscape or IE Navigation to chk : The System Administrator Responsibility >> PROFILE > SYSTEM If any off the value not matches then change value recording to the above values and bounce CM node. 3) Atlast if u r still facing the issue then chk the fndwrr.exe size in production and compare with the Test Instance fndwrr.exe which is $FND_TOP/bin if it is same then relink FND executables and Retest the issue.. IN my view above points will help u to identify and resolve the issue Happy Troubleshooting..!!!!!!! Reference =-=-=-== 11i : Oracle Application Object Library Report Review Agent Setup Test [ID 200358.1] Troubleshooting the Error Occurred While Attempting to Establish an Applications File Server Connection [ID 117012.1]
Leave a Comment
Hi Folks Some times we get a Request from customers that they are unable to cancel the request because of this error the concurrent manager process that was running this request has exited abnormally .The ICM will mark this request as completed with error." How to navigate : =-=-==-=-=-=-=-=-=-== Tried to Cancel a concurrent request. Used the Cancel Request button from the Administer > Concurrent > Manager form. Got the following message: Request xxxxxx can no longer be cancelled. The Concurrent Manager Process that was running this request has exited abnormally. The ICM will mark this request as completed with error.
Solution ====== This can be safely done while managers are up and running with little care
1) Backup fnd_concurrent_requests table 2) SQL> UPDATE fnd_concurrent_requests SET phase_code = C, status_code = X WHERE Request_id=&request_id Here Request id is the request which we want to cancel. 3) Commit
Leave a Comment
Hi Folks Recently We got Issue with Production Instance. when logging into E-Business Suite 11.5.10.2 we get this error: APP-FND-01564: ORACLE error 6550 in afpoload PLS-00201: identifier FND_PROFILE.GET_SPECIFIC must be declared OR Sometimes When we Access Forms(no specific form.. randomly) Genarating Results App-Fnd-01564: Oracle Error 6550 In Afpoload
we applied patches 9296830 and 9577274.. issue is resolved.. Cause Bug 9585136 CAN NOT SEE THE OUTPUT OF ANY CONCURRENT REQUEST JOB Patch 9577274 will have to be applied to fix the issue reported E-Bus login gives APP-FND-01564: ORACLE error 6550 in afpoload If Someone face similar error it may helpful . just check whether this patches applied or not Solution ============= 1. Take Backup of the environment. 2. Apply Patches 9296830 and 9577274 3.Retest The Issue REFERENCE ========= Note: 1097297.1 E-Business Suite Login Gives App-Fnd-01564: Oracle Error 6550 In Afpoload
Thanks Reddy
Leave a Comment
May 2, 2011
A User Cannot See Newly Assigned Responsibilities
Filed under: Issues appsdba11i @ 11:58 pm Tags: A User Cannot See Newly Assigned Responsibilities
When a responsibility is assigned to a user in the Security / User / Define form, triggers are fired to send business events to the Workflow Deferred Agent Listeners. These events need to be processed before the base tables are updated with the changes. (The data used in the forms is derived from views based on certain workflow tables.) These business events are processed by the Workflow Deferred Agent Listener and Workflow Java Deferred Agent Listener. There can be a delay based on the load of the listeners as these are not the only business events that they process. Running Workflow Directory Service User/Role Validation concurrent request can force a one time update but, this should not be the standard method for this synchronization. Reference: A User Cannot See Newly Assigned Responsibilities (Doc ID 1073368.1)
Leave a Comment
May 1, 2011
All Concurrent Requests Go Into Pending with Status of Standby
Filed under: Concurrent Manager,Issues appsdba11i @ 10:26 pm Tags: All Concurrent Requests Go Into Pending with Status of Standby
All concurrent requests go into pending with status of standby. Cause System Profile Option: Concurrent Active Requests set to 0. Solution
To fix the issue, lease do this: 1. Log into Oracle Applications as SYSADMIN. 2. Select System Administrator responsibility. 3. Navigate to PROFILE > SYSTEM. 4. Query for %CONC%ACTIVE%. 5. Change the profile option for Concurrent: Active Request Limit to Null (blank). 6. Exit Oracle Applications and log in again for the change to take affect. 7. Run a new concurrent request
Comments (2)
Unfortunately, I clicked the Deactivate button on Internal manager in the concurrent manager administer option. I am getting Inactive No Manager error in my EBS 12i, also in the status I am seeing Deactivating and when i unable to activate the Internal concurrent manager since the Activate button is disabled. When i try to start iCM from command line adcmctl.sh start apps/apps You are running adcmctl.sh version 120.14 Starting concurrent manager for VIS Starting JIS_0823@JIS Internal Concurrent Manager Default printer is noprint adcmctl.sh: exiting with status 0 adcmctl.sh: check the logfile /d01/oracle/JIS/inst/apps/JIS_dbapps/logs/appl/admin/log/adcmctl.txt for more information Sloution ========== - Stop the concurrent manager using adcmctl.sh stop apps/ - Start the concurrent manager using adcmctl.sh start apps/
If the above does not help, please try to run cmclean.sql from Note: 134007.1 CMCLEAN.SQL Non Destructive Script to Clean Concurrent Manager Tables
Leave a Comment
The Output Post Processor (OPP) manager does not start. When verifying the status of the manager it is shown as Initializing but the manager never starts. The following error is shown in the OPP manager log file: [9/6/07 6:24:21 AM] [main] Starting GSF service with concurrent process id = 102187. [9/6/07 6:24:21 AM] [main] Initialization Parameters: [9/6/07 6:24:21 AM] [EXCEPTION] [main] java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(Unknown Source) at oracle.apps.fnd.cp.gsf.GSMServiceController.parseParameters(GSMServiceController.jav a:171) at oracle.apps.fnd.cp.gsf.GSMServiceController.init(GSMServiceController.java:130) at oracle.apps.fnd.cp.gsf.GSMServiceController.(GSMServiceController.java:66) at oracle.apps.fnd.cp.gsf.GSMServiceController.main(GSMServiceController.java:428) [9/6/07 6:24:21 AM] [ERROR] [main] Missing initialization parameters, unable to initialize service. Cause ========== Initialization parameter of the OPP manager is not set. Solution The initialization parameter for the Output Post Processor manager is specified in the Parameter field of every manager Work Shift. Below are the steps to follow in order to get the Parameter set: 1. Login with Sysdamin Responsibility 2. Navigate Concurrent / Manager / Define 3. Query for the Output Post Processor manager. 4. Click the Work Shifts button. 5. Check the current parameter value (if any) defined for every of the work shifts assigned to the manager. The value should be similar to the following: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
6. Please make sure that this service parameter is set as shown above and save. 7. Restart the concurrent managers.
Leave a Comment
To find sessions generating lots of redo, you can use either of the following methods. Both methods examine the amount of undo generated. When a transaction generates undo, it will automatically generate redo as well. The methods are: 1) Query V$SESS_IO. This view contains the column BLOCK_CHANGES which indicates how much blocks have been changed by the session. High values indicate a session generating lots of redo. The query you can use is: SQL> SELECT s.sid, s.serial#, s.username, s.program, 2 i.block_changes 3 FROM v$session s, v$sess_io i 4 WHERE s.sid = i.sid 5 ORDER BY 5 desc, 1, 2, 3, 4; Run the query multiple times and examine the delta between each occurrence of BLOCK_CHANGES. Large deltas indicate high redo generation by the session. 2) Query V$TRANSACTION. This view contains information about the amount of undo blocks and undo records accessed by the transaction (as found in the USED_UBLK and USED_UREC columns). The query you can use is: SQL> SELECT s.sid, s.serial#, s.username, s.program, 2 t.used_ublk, t.used_urec 3 FROM v$session s, v$transaction t 4 WHERE s.taddr = t.addr 5 ORDER BY 5 desc, 6 desc, 1, 2, 3, 4; Run the query multiple times and examine the delta between each occurrence of USED_UBLK and USED_UREC. Large deltas indicate high redo generation by the session.
You use the first query when you need to check for programs generating lots of redo when these programs activate more than one transaction. The latter query can be used to find out which particular transactions are generating redo. Reference: How to Find Sessions Generating Lots of Redo or Archive logs (Doc ID 167492.1)