Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all 1640 articles
Browse latest View live

Article 7

$
0
0

R12 Error 'Function not available to this responsibility'When Trying to Access Custom Form

After upgrade from 11i to R12 users cannot access the custom form in R12, which
was working fine in 11.5.10.2.Following errors encountered when accessed custom form.

"Function not available to this responsibility. Change Responsibilities or contact
your System Administrator".

The reason for this issue is that, missing entry for CUSTOM_TOP under
default.env file. In R12, CUSTOM_TOP should be defined under default.env in
$INST_TOP/ora/10.1.2/forms/server directory.

Now here is the Solution

1. Login to Linux server with APPLMGR manager user access.

2. Go to $INST_TOP/ora/10.1.2/forms/server directory.

3. Ensure that your CUSTOM_TOP's are registered in the default.env file.

This means , we should create an entry for environment variable CUSTOM_TOP
(which contains physical path to your custom directory) like below in default.env
file present under location .
$INST_TOP/ora/10.1.2/forms/server directory.

For Example:

APPL_TOP=/home/applmgr/PROD/apps/apps_st/appl
CUSTOM_TOP=/home/applmgr/PROD/apps/apps_st/custom

4. Restart the middle tier services.

5. Retest the issue.

Article 6

$
0
0

How To Kill runaway processes After TerminatingConcurrent Request:


Terminate the concurrent request from the front end. Then

SQL>select request_id,oracle_process_id,os_process_id from
fnd_concurrent_requests where request_id=’&Req_Id’;

SQL>select p.spid , s.sid , s.serial# from v$session s , v$process p where s.paddr
= p.addr and s.process = &os_process_id ;

SQL> alter system kill session ‘session-id,session-serial’

$ kill -9 <server pid>

SQL*Loader-128: unable to begin a session ORA-01017: invalid username/password; logon denied

$
0
0
Error:
Programs were erroring out with below error in concurrent program log


Arguments
------------
/u01/prod/attach/1418160319478.txt
------------
ORA-01017: invalid username/password; logon denied
SQL*Loader-704: Internal error: ulconnect: OCISessionBegin [-1]

SQL*Loader: Release 8.0.6.3.0 - Production on Tue Dec 9 22:59:13 2014

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

ORA-01017: invalid username/password; logon denied
SQL*Loader-704: Internal error: ulconnect: OCISessionBegin [-1]

Program exited with status 1
Concurrent Manager encountered an error while running SQL*Loader for your concurrent request 140568679.

Review your concurrent request log file for more detailed information.


+---------------------------------------------------------------------------+
Executing request completion options...

Solution:

When we started trouble shooting we found below points.

- Parameter processes it has been changed from 1528 to 2000 in the init.ora file
- FNDSM log file is below the 2GB.
- The program hasn't been scheduled by an ended user ( Bug 12896168 )
- Instance is using it's own service name (Doc ID 1160553.1)
- Program executable permissions have been check
- Issue occurs in RAC and non RAC environments  

For our issue it was caused by the size of the FNDSM log which was over 2GB.
-rw-r--r--    1 appp14   oaa      2147483647 Dec  9 21:15 FNDSM257792.mgr

To fix the issue, we have truncated the file.
>   FNDSM257792.mgr

After that user ran the program and it got completed successfully.

ORA-08004: sequence FND_CONCURRENT_PROCESSES_S.NEXTVAL exceeds MAXVALUE and cannot be instantiated

$
0
0
Cause:

SQL> select FND_CONCURRENT_PROCESSES_S.nextval from dual;
select FND_CONCURRENT_PROCESSES_S.nextval from dual
*
ERROR at line 1:
ORA-08004: sequence FND_CONCURRENT_PROCESSES_S.NEXTVAL exceeds MAXVALUE and
cannot be instantiated

The FND_CONCURRENT_PROCESSES_S Max value is reached. we need to increase this value

SQL> select * from dba_sequences
where sequence_name = ‘FND_CONCURRENT_PROCESSES_S’ 2 ;

SEQUENCE_OWNER SEQUENCE_NAME MIN_VALUE MAX_VALUE INCREMENT_BY C O CACHE_SIZE LAST_NUMBER
—————————— —————————— ———- ———- ———— – – ———- ———–
APPLSYS FND_CONCURRENT_PROCESSES_S 1 9999999 67778 N N 1000 10048596

Solution:

Increase max value;(shoud be greater Than previoue Max value)

SQL> ALTER SEQUENCE APPLSYS.FND_CONCURRENT_PROCESSES_S MAXVALUE 99999999;

Sequence altered.

RC-50014: Fatal: Execution of AutoConfig was failed Raised by oracle.apps.ad.clone.ApplyApplTop

$
0
0
Error While Running the adcfgclone in Apps tier.

AutoConfig is exiting with status 27

RC-50014: Fatal: Execution of AutoConfig was failed
Raised by oracle.apps.ad.clone.ApplyApplTop
ERROR: AutoConfig completed with errors. Check logfile at /prddb02/inst/apps/HUAT_hlifedev/admin/log/ApplyAppsTier_04211435.log for details.
ApplyApplTop Completed Successfully.

# Checking the status of AutoConfig run of ApplyApplTop
Warning : AutoConfig has completed with  errors .
Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line  after fixing the problem


Cause: 

Check the write permission on the respective mount point.

Solution:

Chmod -R 777 /prddb02

Kindly re-check the isse.

Users Receive Error "Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object" During Login To E-Business Suite

$
0
0
On : 12.1.1 version, Jserv, JDK, JVM, JRE

When attempting to login EBS, the following error occurs.

ERROR
-----------------------
Unable to generate forwarding URL. Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login EBS
2. Error occurs

Also, Following error message can be found in OACORE application log:
......
Caused by: oracle.net.ns.NetException: Socket read timed out
at oracle.net.ns.Packet.receive(Packet.java:320)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:286)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1042)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:301)
... 80 more

Workaround:
--------------------------------------------------------
Comments out the definition in /etc/resolve.conf
e.g.
Before:
#search kkcl.com
nameserver 202.96.209.133
nameserver 202.96.209.133
After:
#search kkcl.com
#nameserver 202.96.209.133
#nameserver 202.96.209.133
--------------------------------------------------------
This is a temporarily solution for this issue.
If customer wants to fix the issue permanently.
The solution is to get help from OS/Network DBA to setup DNS server correctly.

Starting Http Server by "Opmnctl Startall" result with "[error] (79) Value too large for define data type: could not open transfer log file /apps/oracle/logs/access_log" error in error_log file

$
0
0
OMS_HOME/Apache/Apache/log/error_log
shows:
[timestamp] [error] (79) Value too large for define data type: could not open transfer log file
/apps/oracle/logs/access_log
or
[Tue Oct 11 11:26:36 2011] [notice] child pid 16173 exit signal File size limit exceeded (25)
[Tue Oct 11 11:26:36 2011] [notice] child pid 16177 exit signal File size limit exceeded (25)
There is another symptom:
Log files under
OMS_HOME/Apache/Apache/log/*
are very BIG, about 2GB


To implement the solution, please execute the following steps:

1.Stop Application Server
2.Please take a backup of files under :
     $OH/opmn/logs/*
     $OH/Apache/Apache/log/*
3.Please remove all files under :
     $OH/opmn/logs/*
     $OH/Apache/Apache/log/*
4.run the command : "opmnctl startall"
5.run the command : "opmnctl status"
Now the HTTP Server is running fine.


AWR snapshot cannot be generated MMON slave hangs

$
0
0
Scenario:
AWR snapshot was not generated. With manual snap creation the execution used to get hanged.
exec DBMS_WORKLOAD_REPOSITORY.create_snapshot();
They asked for 10046 trace. To take trace for manual snap creation “execute dbms_workload_repository.create_snaphot();”
SQL> oradebug setospid 25807 -- ospid
SQL> oradebug unlimit
SQL> oradebug Event 10046 trace name context forever, level 12
-- waiting for few minutes
SQL> oradebug Event 10046 trace name context off
SQL> oradebug dump errorstack 3
-- waiting for few minutes
SQL> oradebug dump errorstack 3
SQL> exit
oradebug level 3 errorstack provides the following information:
Current statement
Call Stack Trace
Files Currently Opened
Process State for the pid
Pinned Buffer History
Cursor Dump
Fixed PGA, SGA and UGA
In memory trace dump
Trace file shows:
application name: sqlplus.exe, hash value=254292535
waiting for 'enq: WF - contention' wait_time=0, seconds since wait started=1432
name|mode=57460006, 0=0, 0=0
blocking sess=0x000000057A706358 seq=37
Dumping Session Wait History
for 'enq: WF - contention' count=1 wait_time=2.999985 sec
name|mode=57460006, 0=0, 0=0
The session collecting snapshot is continually waiting for “enq: WF – contention”. So, the waiting was for this wait to flush the statistics to AWR. mmon trace shows, it error out while flushing the stats.
MMON trace are generated in bdump location.
MMON trace shows:
*** KEWRAFM1: Error=13518 encountered by Auto Flush Main.

13518, 00000, "Invalid database id (%s)"
// *Cause: The operation failed because the specified database ID
// does not exist in the Workload Repository.
// *Action: check the database id and retry the operation.
The mmon trace provided some more hint. The error state that database ID is invalid as the database ID doesn’t exists.
The MMON process takes snapshots at regular intervals (default 60 minutes) and inserts that data into the AWR tables. These tables containing AWR information are under SYS schema. The AWR related tables all begin with “WR”:
SQL> select distinct dbid from WRM$_DATABASE_INSTANCE ;

no row selected.
It has to show DB ID similar to the output for next statement. If it doesn’t, then in that case the DB ID needs to be populated in AWR tables i.e the missing DB ID.
SQL> select dbid from v$database;
WRM$_DATABASE_INSTANCE will be populated when instance is bounced. This is the case when we try to recreate AWR with the help of catnoawr.sql andcatawrtb.sql. The DBID is not populated in the AWR tables. The Database needs to be bounced.
When a function / procedure is invoked from DBMS_WORKLOAD_REPOSITORY package, it refers to WRM$_DATABASE_INSTANCE table to get dbid information. If the AWR repositories are recreated, the table doesn’t have any data in it.
After a reboot of the database, the dbid was recorded in WRM$_DATABASE_INSTANCE table of sys. But this didn’t resolved our problem. We were still not able to generate AWR snaps.
Then we went for systemstate 266 trace. Collected system state dump level 266 for the session for creating manual snapshot.
sqlplus /nolog
SQL> oradebug setmypid
Statement processed.
SQL> oradebug unlimit
Statement processed.
SQL> oradebug dump systemstate 266
Statement processed.
-- waiting for few minutes
SQL> oradebug dump systemstate 266
Statement processed.
SQL> oradebug tracefile_name
c:\oracle112\diag\rdbms\orcl\orcl\trace\orcl_ora_1136.trc
SQL> exit
mmon trace:
*** 2011-10-04 11:23:47.339
*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2011-10-04 11:24:47.339
*** KEWRAFC: Flush slave failed, AWR Enqueue Timeout
*** 2011-10-04 11:25:50.339
The trace shows the waiting is for flushing snapshots. Remedy for the problem is to disable the flushing of AWR data.
alter system set "_awr_disabled_flush_tables" = 'wrh$_tempstatxs';
Its a dynamic parameter, doesn’t require bounce of database.

Displays information about credentials in 12C

$
0
0
COLUMN credential_name FORMAT A25
COLUMN username FORMAT A20
COLUMN windows_domain FORMAT A20

SELECT credential_name,
       username,
       windows_domain
FROM   dba_credentials
ORDER BY credential_name;

Start notification mailer in R12

$
0
0
To start notification mailer, we need to execute the following.

 sqlplus apps/<apps password>
 declare
 p_retcode number;
 p_errbuf varchar2(100);
 m_mailerid fnd_svc_components.component_id%TYPE;
 begin
 -- Find mailer Id
 -----------------
 select component_id
 into m_mailerid
 from fnd_svc_components
 where component_name = 'Workflow Notification Mailer';
 --------------
 -- Start Mailer
 -----------------
 fnd_svc_component.start_component(m_mailerid, p_retcode, p_errbuf);
 commit;
 end;
 /

Cancelling Concurrent Request

$
0
0
--By request id
update fnd_concurrent_requests
set status_code='D', phase_code='C'
where request_id=&req_id;

--By program_id
update fnd_concurrent_requests
set status_code='D', phase_code='C'
where CONCURRENT_PROGRAM_ID=&prg_id;

Checking last run of a Concurrent Program along with Processed time

$
0
0
SELECT DISTINCT c.USER_CONCURRENT_PROGRAM_NAME,
            round(((a.actual_completion_date-a.actual_start_date)*24*60*60/60),2) AS Process_time,
            a.request_id,a.parent_request_id,To_Char(a.request_date,'DD-MON-YY HH24:MI:SS'),To_Char(a.actual_start_date,'DD-MON-YY HH24:MI:SS'),
  To_Char(a.actual_completion_date,'DD-MON-YY HH24:MI:SS'), (a.actual_completion_date-a.request_date)*24*60*60 AS end_to_end,
            (a.actual_start_date-a.request_date)*24*60*60 AS lag_time,
            d.user_name, a.phase_code,a.status_code,a.argument_text,a.priority
FROM   apps.fnd_concurrent_requests a,
            apps.fnd_concurrent_programs b ,
            apps.FND_CONCURRENT_PROGRAMS_TL c,
            apps.fnd_user d
WHERE       a.concurrent_program_id= b.concurrent_program_id AND
            b.concurrent_program_id=c.concurrent_program_id AND
            a.requested_by =d.user_id AND
--          trunc(a.actual_completion_date) = '20-MAY-2016'
c.USER_CONCURRENT_PROGRAM_NAME='Incentive Compensation Analytics - ODI' --  and argument_text like  '%, , , , ,%';
--          and status_code!='C'

CONCURRENT REQUESTS COMPLETED WITH ERRORS

$
0
0
COL name FORMAT a50
COL st_time FORMAT a7
COL requestor FORMAT a18
SET TRIMSPOOL ON
SET FEEDBACK OFF
SET TERM OFF
SET VERIFY OFF
SET PAGES 9000
SET LINES 120
SELECT a.request_id request_id
, SUBSTR(a.user_concurrent_program_name,1,50) name
, TO_CHAR(a.actual_start_date,'Hh34:MI') st_time
, TO_CHAR(a.actual_completion_date,'Hh34:MI') end_time
, requestor
, DECODE(a.phase_code, 'R'
,'Running', 'P'
,'Inactive', 'C'
,'Completed', a.phase_code) phase_code
, DECODE(a.status_code, 'E'
,'Error', 'C'
,'Normal', 'X'
,'Terminated', 'Q'
,'On Hold', 'D'
,'Cancelled', 'G'
,'Warning', 'R'
,'Normal', 'W'
,'Paused', a.status_code) status_code
FROM apps.fnd_conc_req_summary_v a
WHERE TRUNC(actual_completion_date) >= TRUNC(SYSDATE -1)
AND a.status_code IN ('E','X','D')
ORDER BY actual_start_date
/

NUMBER OF CONCURRENT REQUESTS IN A DAY

$
0
0
SET LINES 120
SET PAGES 0
COL cnt FORMAT 999999 HEADING "Total No of Requests"
SELECT ' Number of Concurrent Requests for ', SYSDATE - 1 FROM dual ;
SET PAGES 900
SELECT COUNT(*) cnt
FROM apps.fnd_concurrent_requests
WHERE TRUNC(actual_start_date) = TRUNC(SYSDATE) - 1
/

RC-20010 Fatal: Could not find Info-ZIP version 2.3 in the PATH

$
0
0
RC-20010 Fatal: Could not find Info-ZIP version 2.3 in the PATH
                                               
When you run db Tier pre cloning steps at R12 and later

$perl adpreclone.pl dbTier
RC-20010: Fatal: Could not find Info-ZIP's zip version 2.3 in the PATH. Please make sure you have zip version 2.3 in your PATH and rerun the command.zip 2.3 is normally available in $ORACLE_HOME/bin/ or it can be downloaded from http://www.info-zip.org/Zip.html

Cause:

The error is due to the fact that Zip Version 3.0 is installed in you $ORACLE_HOME/bin/zip file, where the adpreclone.pl asks for zip 2.3. It is very likely to have zip 2.3 at your Linux system!

Solution:

First check if indeed you have the zip 2.3
[root@ebs6 bin]# rpm -qa zip
zip-2.31-2.el5
If you have it, rename the zip 3.0 to old, and use the zip 2.3
$mv $ORACLE_HOME/bin/zip $ORACLE_HOME/bin/zip.old
$cp /usr/bin/zip $ORACLE_HOME/bin/zip
$chown oracle:oinstall $ORACLE_HOME/bin/zip
If you don't have the zip 2.3 version, download it and install it in the $ORACLE_HOME/bin directory. After that run $>perl adpreclone.pl dbTier

If you want to use Zip 3 , then install Patch : 9171651 and apply all prerequisites patches.

Oracle Reports REP-0069: REP-57054: Error

$
0
0
When any concurrent requests with the execution method Oracle Reports are submitted, temp files are created under the path of

$INST_TOP/logs/ora/10.1.2/reports/cache

These files are not purged with the "Purge Concurrent Request and/or Manager Data" program.These files can be deleted manually.

Sometimes, concurrent programs fail with following error message

"REP-0069: Internal error
REP-57054: In-process job terminated:Finished successfully but output is voided"

As workaround , setting cachesize parameter to value bigger than 0 can be used. But this workaround disables Cache cleanup functionality which is deletion of temp report file after Concurrent request completed successfully.So manual cleanup of cache will be needed.

According to Metalink Note : 1237834.1 permanent fix is as follow,

1. Apply Patch 14374587

2. Add the following property names and values into $INST_TOP/ora/10.1.2/reports/conf/rwbuilder.conf

<property name="cacheSize" value="0"/>
<property name="noVoidedOutputError" value="yes"/>

With patch and setting these properties , accumulation of temp files are prevented.

3. But Autoconfig will overwrite above these changes when executed.To prevent this ,

a. Create custom directory under $FND_TOP/admin/template
    mkdir $FND_TOP/admin/template/custom

b. Copy $FND_TOP/admin/template/rwbuilder_conf_1012.tmp to this new directory
    cp $FND_TOP/admin/template/rwbuilder_conf_1012.tmp $FND_TOP/admin/template/custom

c. Add same entries into rwbuilder_conf_1012.tmp as above

   <property name="cacheSize" value="0"/>
   <property name="noVoidedOutputError" value="yes"/>

ORA-03206: maximum file size of XXXX blocks in AUTOEXTEND clause is out of range

$
0
0

If you are creating SMALLFILE datafile (default) with 8k blocks with datafile size greater than 32 GB than oracle will pop up with ORA-03206 error.


Because oracle will allow only up to 32 GB of datafile size limit with 8k blocks, maximum data blocks per datafile : 2^22 -1 = 4194303. So oracle simply won’t allow you in this case.


More than 32 GB datafile with 8k blocks than your datafile should be create with BIGFILE keyword.

Calculations are as follows:

Oracle allows max number of datafile is 65533 and Maximum data blocks per datafile is 2^22 -1 = 4194303 blocks.

Rman Format options

$
0
0



You can use format options with backup commands to specify a location and name for backup pieces
%F - combines database identifier (DBID), day, month, year and sequence number
%U - Specifies a system generated unique filename (default)
%u - specifies an 8 character name
%d - name of database
%s - backup set number
%t - backup set timestamp
%p - piece number within the backup set

Concurrent Manager getting down with FDPCRQ encountered an ORACLE error in Cloned Instance

$
0
0
Concurrent Manger are getting down with the following error in the ICM log as follows,

Routine FDPCRQ encountered an ORACLE error. ORA-04031: unable to
allocate 32 bytes of shared memory ("shared pool".


Review your error messages for the cause of the error. (=<POINTER>)
.............................................................................


APP-FND-01388: Cannot read value for profile option FND_MGR_STRTUP_THRES_TIME in routine &ROUTINE.


List of errors encountered:
.............................................................................
_ 1 _
Routine AFPCAL received failure code while parsing or running your
concurrent program CPMGR

Review your concurrent request log file for more detailed information.
Make sure you are passing arguments in the correct format.


Cause:

 FND_NODES Table not cleaned up properly

Solution:


1) Connect to SQLPLUS as APPS user and run the following statement :

select CONCURRENT_QUEUE_NAME from FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like 'FNDSM%';

2) If you found that FND_NODES table having incorrect node entries (old node from the Source Instance) then execute the below query to clean it up,

EXEC FND_CONC_CLONE.SETUP_CLEAN;
COMMIT;

3) Then Run AutoConfig on all tiers, firstly on the DB tier and then the APPS tiers and webtiers to repopulate the required system tables.

then make sure now you are able to see the correct entries in the FND_NODES table and then start the application services.






Host Concurrent Program completed with error in oracle application

$
0
0

When we run the shell script as a concurrent program and its completed with error as follows,


ERROR:

The executable file /devapp/apps/apps_st/appl/XXHN/1.0.0/bin/XXHNMVFILEINT1for this concurrent program cannot be executed.

Contact your system administrator or support representative.


Verify that the execution path to the executable file

Cause:

The program has not soft linked with Fnd executable

Solution:

Create a soft link with the program name and fnd_executable.

--> Go to XXHNMVFILEINT1.prog and create the below link as follows,

ln -s -f $FND_TOP/bin/fndcpesr XXHNMVFILEINT1

Now, Try to re-run the program and check...


Viewing all 1640 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>