Sunday, 13 March 2016

RDBMS ISSUES

* GSS for all schemas failed

* 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

==>select owner, table_name, stattype_locked
    from dba_tab_statistics
    where stattype_locked is not null;

==>
To unlock schema exec dbms_stats.unlock_schema_stats ('AR');
To unlock Table  exec dbms_stats.unlock_table_stats('AR', 'AR_REV_REC_QT');
ISSUE


Issue Clarification
===================

+ SYSAUX Tablespace growing abnormally

Action plan Note.852028.1 / SR .1319894591
===========

+ Take cold backup
+ change retention to 4 minutes (currently it is 7 minutes)
    * SQL> execute DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(retention => 5760);
    Here retention is in minutes so 4 x 24 x 60 = 5760 minutes
+ Purging snaps from dec 17 to dec 31
    * exec dbms_workload_repository.drop_snapshot_range(low_snap_id => 22760, high_snap_id=>24129);
+ Set statistics_level parameter to TYPICAL
    * SQL> alter system set statistics_level=TYPICAL;
   
   
Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Note 752057.1

AD Administration error:
The following ORACLE error:

ORA-28000: the account is locked


occurred while executing the SQL statement:

CONNECT APPLSYS/*****

AD Administration error:
Error getting configuration information in adadmin_main()

You should check the file
/dcab1i/applmgr/1200/admin/DCAB1I/log/adadmin.log

select * from dba_profiles where PROFILE='DEFAULT';

created new profile assigned to APPLSYS
we can revert the back to DEFAULT once the action is done


SQL> ALTER USER APPLSYS PROFILE appusr_default;

User altered.


SQL> ALTER USER APPLSYS ACCOUNT UNLOCK;

User altered.


After the action plan completed pls execute as system user

+ALTER USER APPLSYS PROFILE DEFAULT;

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

utlrp failing

error
====

ERROR:
ORA-04045: errors during recompilation/revalidation of SYS.DBMS_OUTPUT
ORA-04067: not executed, package body "SYS.NAME_SECURITY" does not exist
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.NAME_SECURITY"
ORA-06512: at line 2
ORA-06508: PL/SQL: could not find program unit being called:
"SYS.NAME_SECURITY"
ORA-06512: at line 2
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_OUTPUT"
ORA-06512: at line 1



Tried Workaround
==============
ref rfc .3BK7JUR

+ Disabled the trigger  NAMECHECK_BEFORE_DDL_DB_TRG


SQL> select OWNER,TRIGGER_NAME,TRIGGER_TYPE,STATUS from dba_triggers where TRIGGER_NAME='NAMECHECK_BEFORE_DDL_DB_TRG';

OWNER                          TRIGGER_NAME                   TRIGGER_TYPE     STATUS
------------------------------ ------------------------------ ---------------- --------
SYS                            NAMECHECK_BEFORE_DDL_DB_TRG    BEFORE EVENT     ENABLED

alter trigger NAMECHECK_BEFORE_DDL_DB_TRG disable;


OWNER                          TRIGGER_NAME                   TRIGGER_TYPE     STATUS
------------------------------ ------------------------------ ---------------- --------
SYS                            NAMECHECK_BEFORE_DDL_DB_TRG    BEFORE EVENT     DISABLED

utlrp running fine now


SQL> select count (*) from dba_objects where status='INVALID';

  COUNT(*)
----------
    160341


SQL> /

  COUNT(*)
----------
    131268
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 Gather Schema Statistics  -> completed with error

Cause: FDPSTP failed due to ORA-20000: Unable to analyze TABLE "APPS"."CPDEFERSAMESITE371_TAB", insufficient privileges or does not exist
ORA-06512: at "APPS.FND_STATS", line 768
ORA-06512: at line 1
.

The SQL statement bein
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
In GATHER_SCHEMA_STATS , schema_name= ALL percent= 20 degree = 3 internal_flag= NOBACKUP
ORA-20000: Unable to analyze TABLE "APPS"."CPDEFERSAMESITE371_TAB", insufficient privileges or does not exist
+---------------------------------------------------------------------------+
End of log messages from FND_FILE




SQL> select OWNER,OBJECT_NAME,CREATED from dba_objects  where object_name like '%COSTPARAMETERS372%'
  2  ;


no rows selected



The Following tables are created with lowe  case hence GSS is unable to pick the tables.

SQL> select OWNER,OBJECT_NAME,CREATED from dba_objects  where object_name like '%372%';

APPS                           costParameters372_TAB
APPS                           costParameters372_TAB$xd



The above two tables might have created using quotes '"'

Action Plan
-------------
Get approval from customer to rename below two tables

+ connect as APPS
+ rename below tables
costParameters372_TAB    to  COSTPARAMETERS372_TAB
costParameters372_TAB$xd to  COSTPARAMETERS372_TAB$XD

+and rerun the GSS once again.


Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue Description                     : OS 64 Bi migration Done, After installing software sqlplus
error out

bash-3.00$ sqlplus "/as sysdba"


SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 29 15:54:00 2010


Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

ERROR:
ORA-01031: insufficient privileges


Solution
=========

whenever there is an OS upgrade, the cc image add this huge group that does not let RDBMS connect to the DB
for it can only read up to 132 characters
 solution is to move these huge groups to the end of the file

move huge groups to the end of the file (in /etc/group  file)

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue :

alter index GEOR_COA_MAP.GEOR_GEFA_GNW_COA_B_XPK rebuild tablespace intfx parallel 16
*

ERROR at line 1:
ORA-12801: error signaled in parallel query server P000, instance

aohsgeor89:TGEO2I1 (1)
ORA-01950: no privileges on tablespace 'INTFX'



Solution
========

SQL> ALTER USER GEOR_COA_MAP  QUOTA 100M ON INTFX;

User altered.

SQL> alter index GEOR_COA_MAP.GEOR_GEFA_GNW_COA_B_XPK rebuild tablespace intfx parallel 16;

Index altered.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

issue : adstats.sql ==> failed

    --- adstats.sql started at 2011-01-29 21:49:31 ---
   
    Please don't start any services until this script finish
   
    declare
    *


    ERROR at line 1:


    ORA-20011: Approximate NDV failed: ORA-00600: internal error code, arguments:


    [1350], [1], [23], [], [], [], [], [], [], [], [], []


    ORA-06512: at "SYS.DBMS_STATS", line 20509


    ORA-06512: at "SYS.DBMS_STATS", line 20958


    ORA-06512: at "SYS.DBMS_STATS", line 21499
    ORA-06512: at line 5


    ORA-06512: at line 17

-bash-3.2$ ls -ld $ORACLE_HOME/nls/data/9idata

drwxr-xr-x+ 2 ordppgri dbdppgri 560 Jan 28 02:46 /dppgri/oracle/product/112/nls/data/9idata

-bash-3.2$

SQL>  echo $ORA_NLS10

Solution
======

-bash-3.2$ export ORA_NLS10=$ORACLE_HOME/nls/data/9idata
-bash-3.2$  echo $ORA_NLS10

/dppgri/oracle/product/112/nls/data/9idata

Reran the script

SQL> @adstats.sql
Connected.


System altered.
--------------------------------------------------

--- adstats.sql started at 2011-01-29 23:36:42 ---

--------------------------------------------------



ANAYYZE table partition issue
-----------------------------

Following NOTE ID 111990.1

$ pwd
/pleari/oracle/product/102/rdbms/admin
$ ls -l utlvalid.sql
-rw-rw-r-- 1 orpleari dbpleari 747 Jun 24  1998 utlvalid.sql


SQL> sho user
USER is "APPLSYS"
SQL> @utlvalid.sql

Table created.

SQL>


SQL> select count(*) from invalid_rows;

  COUNT(*)
----------
         0

SQL>




SQL> SELECT TABLE_OWNER,TABLE_NAME,PARTITION_NAME FROM ALL_TAB_PARTITIONS WHERE TABLE_NAME='WF_USER_ROLE_ASSIGNMENTS'
  2  ;

TABLE_OWNER          TABLE_NAME                     PARTITION_NAME
-------------------- ------------------------------ ------------------------------
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       AMV_APPR
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       AMV_CHN
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       ENG_LIST
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       FND_RESP
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       FND_USR
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       GBX
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       HTB_SEC
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       HZ_GROUP
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       HZ_PARTY
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       PER_ROLE
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       POS

TABLE_OWNER          TABLE_NAME                     PARTITION_NAME
-------------------- ------------------------------ ------------------------------
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       PQH_ROLE
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       UMX
APPLSYS              WF_USER_ROLE_ASSIGNMENTS       WF_LOCAL_ROLES

14 rows selected.

SQL> SELECT TABLE_OWNER,TABLE_NAME,PARTITION_NAME FROM ALL_TAB_PARTITIONS WHERE TABLE_NAME='WF_LOCAL_USER_ROLES';

TABLE_OWNER          TABLE_NAME                     PARTITION_NAME
-------------------- ------------------------------ ------------------------------
APPLSYS              WF_LOCAL_USER_ROLES            AMV_APPR
APPLSYS              WF_LOCAL_USER_ROLES            AMV_CHN
APPLSYS              WF_LOCAL_USER_ROLES            ENG_LIST
APPLSYS              WF_LOCAL_USER_ROLES            FND_RESP
APPLSYS              WF_LOCAL_USER_ROLES            FND_USR
APPLSYS              WF_LOCAL_USER_ROLES            GBX
APPLSYS              WF_LOCAL_USER_ROLES            HTB_SEC
APPLSYS              WF_LOCAL_USER_ROLES            HZ_GROUP
APPLSYS              WF_LOCAL_USER_ROLES            HZ_PARTY
APPLSYS              WF_LOCAL_USER_ROLES            PER_ROLE
APPLSYS              WF_LOCAL_USER_ROLES            POS

TABLE_OWNER          TABLE_NAME                     PARTITION_NAME
-------------------- ------------------------------ ------------------------------
APPLSYS              WF_LOCAL_USER_ROLES            PQH_ROLE
APPLSYS              WF_LOCAL_USER_ROLES            UMX
APPLSYS              WF_LOCAL_USER_ROLES            WF_LOCAL_ROLES

14 rows selected.



+There are 14 Partitions for tables WF_LOCAL_USER_ROLES and  WF_USER_ROLE_ASSIGNMENTS;



SQL> analyze table WF_USER_ROLE_ASSIGNMENTS partition (AMV_APPR) validate structure cascade into invalid_rows;

Table analyzed.


+ Requesting Analyst to Alalyze for rest of the partitions:

syntax
-------

analyze table WF_USER_ROLE_ASSIGNMENTS partition (partition_name) validate structure cascade into invalid_rows;


Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


issue: some one changed apps pwd using alter user

Solution:

updated FND_ORACLE_USERID  to have same ENCRYPTED_ORACLE_PASSWORD for APPLSYS and APPS

SQL> SELECT oracle_id, read_only_flag, ORACLE_USERNAME, encrypted_oracle_password FROM apps.FND_ORACLE_USERID  WHERE ORACLE_USERNAME in ( 'APPLSYS', 'APPS' ) ;

 ORACLE_ID R ORACLE_USERNAME
---------- - ------------------------------
ENCRYPTED_ORACLE_PASSWORD
--------------------------------------------------------------------------------
         0 E APPLSYS
ZG91C91B5F3A04D35A0B3420DE7A3DC1DE35B8D6B914F65744DB55B77DE7F3753163267210CCC9CA
E2C876B9FDC96B834E78

       900 U APPS
ZG91C91B5F3A04D35A0B3420DE7A3DC1DE35B8D6B914F65744DB55B77DE7F3753163267210CCC9CA
E2C876B9FDC96B834E78

+ ALTER USER APPS IDENTIFIED BY < applsys pwd which is working>

retest the issue
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Db autoconfig failing
=====================

[AutoConfig Error Report]
The following report lists errors AutoConfig encountered during each

phase of its execution.  Errors are grouped by directory and phase.
The report format is:

      <filename>  <phase>  <return code where appropriate>

  [PROFILE PHASE]

  AutoConfig could not successfully execute the following scripts:

    Directory: /pexc5i/oracle/product/111/appsutil/install/PEXC5I1_aohsexcc25

      afdbprf.sh              INSTE8_PRF         1

  [APPLY PHASE]

  AutoConfig could not successfully execute the following scripts:

    Directory: /pexc5i/oracle/product/111/appsutil/install/PEXC5I1_aohsexcc25

      adcrobj.sh              INSTE8_APPLY       1


AutoConfig is exiting with status 2

Solution
=========
=> Resolved the afdbprf.sh issue by editing the template for afdbprf.sql as follows :-


bash-3.2$ pwd
/pexc5i/oracle/product/111/appsutil/template
bash-3.2$ ls -l afdbprf.sql

-rw-r--r-- 1 orpexc5i dboracrs 2797 Mar 13 05:55 afdbprf.sql

Before
-------

     32 connect &1/&2@&3
After
-----
     32 REM connect &1/&2@&3

     33 connect &1/&2


=> Resolved the adcrobj.sh issue by editing the template for adcrobj.sql as follows :-


bash-3.2$ pwd
/pexc5i/oracle/product/111/appsutil/template

bash-3.2$ cp adcrobj.sql adcrobj.sql_bkp

Before
-------
     32 connect &1/&2@&3

After
-----
     32 REM connect &1/&2@&3
     33 connect &1/&2


=> AC on DB tier completed successfully

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

SSUE:
SQL> startup upgrade
ORACLE instance started.


Total System Global Area 1.8840E+10 bytes
Fixed Size                  2167576 bytes

Variable Size            7247760616 bytes
Database Buffers         1.1543E+10 bytes

Redo Buffers               47550464 bytes
Database mounted.

ORA-01092: ORACLE instance terminated. Disconnection forced
Process ID: 17654

Session ID: 1200 Serial number: 5

alert log
==========
ORA-1092 : opitsk aborting process
Tue Mar 22 18:16:47 2011
Starting ORACLE instance (normal)
Oracle image stored on remote server adc36stor04-nas
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0

From trace file
-------------------
*** 2011-0.22 18:14:45.344
Validate domain 0
Validated domain 0, flags = 0x0

*** 2011-0.22 18:14:51.551
ORA-39701: database must be mounted EXCLUSIVE for UPGRADE or DOWNGRADE

*** 2011-0.22 18:14:51.557
USER (ospid: 20836): terminating the instance due to error 39701



+ Workaround.

SQL> sho parameter CLUSTER_DATABASE

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cluster_database                     boolean     TRUE


SQL> ALTER SYSTEM SET CLUSTER_DATABASE=FALSE SCOPE=SPFILE;

System altered.



SQL> sho parameter CLUSTER_DATABASE

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cluster_database                     boolean     FALSE



SQL> startup upgrade
ORACLE instance started.

Total System Global Area 1.8840E+10 bytes
Fixed Size                  2167576 bytes
Variable Size            7247760616 bytes
Database Buffers         1.1543E+10 bytes
Redo Buffers               47550464 bytes
Database mounted.
Database opened.


Note : After utlirp.sql is completed set CLUSTER_DATABASE back to TRUE.
       ALTER SYSTEM SET CLUSTER_DATABASE=TRUE SCOPE=SPFILE;


Thanks,
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
OLAP Catalog VALID 10.2.0.4.0 is missing after migration

Action plan
-----------
+ Observed that olap.sql was not ran as '@' was missing at the begning of the script olap.sql

Run /olap/admin/olap.sql SYSAUX TEMP


+ @?/olap/admin/olap.sql SYSAUX TEMP

+ Bounce database
+ run utlrp.sql

Thanks

 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
ISSUE OLAP catalog showa INVALID


I've tried solution from
Invalid Olap Catalog And Mising CWM$ Tables (Doc ID 1308148.1)

but that did not resolve the issue.



Then noticed that there are many OLAP objects duplicated - INVLIDS in SYS while valid in OLAPSYS.


Comparing to PROD:

SQL> select object_name, object_type, count(*) from dba_objects where owner in
('SYS','OLAPSYS') and object_type in ('VIEW','PACKAGE','PACKAGE BODY') group by object_name,
object_type having count(*) > 1;

no rows selected

The same query on TEST returned many rows.

So I've basically dropped all the objects from that list owned by SYS. Then Ran utlrp.


SQL> SELECT comp_name, status, substr(version,1,10) as version from dba_registry;


COMP_NAME                           STATUS      VERSION

----------------------------------- ----------- ----------

OLAP Catalog                        VALID       10.2.0.4.0

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Doc ID 358015.1


Queries on dba_registry results with this error:

ORA-04063: View "SYS.DBA_REGISTRY" has errors..


Cause

DBA_REGISTRY is invalid and errors out when compiled

   
    ORA-04063: View "SYS.DBA_REGISTRY" Has Errors. " (Doc ID 358015.1)
Modified29-JUL-2010TypePROBLEMStatusMODERATED(EXTERNAL)Priority3To Bottom

In this Document
  Symptoms
  Cause
  Solution

Platforms: 1-914CU;

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

Applies to:
Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.1.0.8 - Release: 10.2 to 11.1
Information in this document applies to any platform.
***Checked for relevance on 25-Jul-2010***
Symptoms

Queries on dba_registry results with this error:

ORA-04063: View "SYS.DBA_REGISTRY" has errors..

.


Cause

DBA_REGISTRY is invalid and errors out when compiled

Compiling view DBA_REGISTRY  results in this error:

OWNER           NAME                           TYPE           SEQUENCE            LINE   POSITION     
--------------- ------------------------------ ------------ ----------          ---------- ----------                                                         
TEXT                                                                          
--------------------------------------------------------------------------------
ATTRIBUTE MESSAGE_NUMBER                                                      
--------- --------------
SYS             DBA_REGISTRY                   VIEW                  1                   0          0                                                         
ORA-00904: "DBMS_REGISTRY"."SCHEMA_LIST_STRING": invalid identifier  


.
Solution

Recreate the DBMS_REGISTRY package and the DBA_REGISTRY view.  As sysdba run :
$ORACLE_HOME/rdbms/admin/prvtcr.plb
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

System tablespace conversion is failing

QL> EXEC dbms_space_admin.tablespace_migrate_to_local('SYSTEM');

BEGIN dbms_space_admin.tablespace_migrate_to_local('SYSTEM'); END;

*
ERROR at line 1:

ORA-10647: Tablespace other than SYSTEM, APPS_UNDOTS1, TEMP2 not found in read
only mode

ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1


Analysis:
=========

The temporary tablespace assigned to users is tablespace group TEMP:



SQL> select * from DBA_TABLESPACE_GROUPS;

GROUP_NAME               TABLESPACE_NAME

------------------------------ ------------------------------
TEMP                   TEMP1

TEMP                   TEMP2
TEMP                   TEMP3
TEMP                   TEMP4

SQL> select * from v$tempfile;

Currently all those temporary tablespaces are online and causes the package
dbms_space_admin.tablespace_migrate_to_local to fail


need to create one new default temporary tablespacefor the action and put offline the temp
tablespace components:

Action done:
============

SQL> create temporary tablespace temptemp tempfile '/tidbki/oradata/data02/temptemp.dbf' size
2000M;

Tablespace created.

SQL> drop tablespace temp4;

Tablespace dropped.


SQL> drop tablespace temp3;

Tablespace dropped.

SQL> drop tablespace temp2;


Tablespace dropped.

SQL> drop tablespace temp1;

Tablespace dropped.


------------------------------------------
Please restart the conversion script
------------------------------------------
When the script completes, pleate create back the temporary tablespaces as it was:

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&




Issue
=======


SQL> @conv_system.sql

BEGIN dbms_space_admin.tablespace_migrate_to_local('SYSTEM'); END;

*

ERROR at line 1:

ORA-10647: Tablespace other than SYSTEM, APPS_UNDOTS1, TEMP not found in read

only mode

ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1

Findings
=======


SQL> select TABLESPACE_NAME,STATUS from dba_Tablespaces where status not like 'READ ONLY';


TABLESPACE_NAME                STATUS
------------------------------ ---------

SYSTEM                         ONLINE
TEMP1                          ONLINE

SYSAUX                         ONLINE
APPS_UNDOTS1                   ONLINE

APPS_UNDOTS2                   ONLINE
APPS_4K_UNDOTS1                ONLINE

Solution
=======


Before converting system to local

1) offline the sysaux tablespace

2) drop APPS_UNDOTS2 and APPS_4K_UNDOTS1

then convert system to local

bring sysaux to online



SME


SQL> @/ood_repository/patches/DSDCVI/DATABASE11G_AUTOMATION_11R20X_WRK/sql/conv_system.sql
BEGIN dbms_space_admin.tablespace_migrate_to_local('SYSTEM'); END;

*
ERROR at line 1:
ORA-10647: Tablespace other than SYSTEM, APPS_UNDOTS1, APPSTEMP not found in
read only mode
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 227
ORA-06512: at line 1



SQL> select TABLESPACE_NAME,STATUS from dba_Tablespaces where status not like 'READ ONLY';

TABLESPACE_NAME                STATUS
------------------------------ ---------
SYSTEM                         ONLINE
APPS_UNDOTS1                   ONLINE
SYSAUX                         OFFLINE
TMP1                           ONLINE
APPSTEMP                       ONLINE

SQL>


SQL> select USERNAME,DEFAULT_TABLESPACE,TEMPORARY_TABLESPACE from dba_users where DEFAULT_TABLESPACE like '%TMP%';

no rows selected


dropped nondefault tablespace

SQL> drop tablespace TMP1 including contents and datafiles;

Tablespace dropped.


SQL> @/ood_repository/patches/DSDCVI/DATABASE11G_AUTOMATION_11R20X_WRK/sql/conv_system.sql

PL/SQL procedure successfully completed.

SQL>


+ Proceed with further steps

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


Issue : aflobbld.sql  failing

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine


ORA-20000: Oracle Text error:
DRG-50857: oracle error in dreii0fsh


ORA-01653: unable to extend table APPLSYS.DR$FND_LOBS_CTX$I by 8192 in
tablespace APPS_TS_TX_DATA


ORA-06512: at line 277


TABLESPACE_NAME      Allocated Used/Unused MB Allocated_Free MB %Allocated_Free MB
Space_AutoExtensible MB MaxChunk MB

-------------------- ------------------------ ----------------- ------------------
----------------------- -----------

APPS_TS_TX_DATA                        395000            127906                 32                
      0         512

APPS_TS_TX_DATA_OATM                   508544            508173                100                
 671456    2359.875


Workaround
---------------

1. Take a snapshot of the original state of the fnd_lobs entries for comfort sake:

select

FILE_FORMAT,
count(*)
from
fnd_lobs
group by FILE_FORMAT;


2. Set the file_format column of all rows other than FND_HELP so that they won't get indexed:


update fnd_lobs
set FILE_FORMAT = 'IGNORE'
where NVL(PROGRAM_NAME,'NULL') != 'FND_HELP' ;

commit;


3. Most versions of aflobbld.sql, as written, will only rebuild the FND_LOBS_CTX index if the
status of the index is invalid or missing. To force the rebuilding of the index we may first have
to drop it.

Check the status of the fnd_lobs_ctx index. If it is valid, then drop it.


select status
from all_indexes
where owner='APPLSYS'
and index_name='FND_LOBS_CTX'

and table_name='FND_LOBS';


If this returns a status of "valid", then "drop index applsys.fnd_lobs_ctx
force"


4. Run aflobbld.sql. This takes two parameters; the name of the applsys schema and the name of the
apps schema.
Typically "@aflobbld.sql applsys apps".


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Database not starting

SQL> startup

*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 11953
Session ID: 505 Serial number: 3


ARC0: Error 19504 Creating archive log file to '/sid/arch/sid_1_5272_771798806.arc'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance sid - Archival Error
ORA-16038: log 4 sequence# 5272 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 4 thread 1: '/sid/oradata/data03/log04a.dbf'
ORA-00312: online log 4 thread 1: '/sid/oradata/data03/log04b.dbf'
Wed Feb 29 19:05:45 2012

Solution
========

Changed the archive destination from /sid/arch to other location available location eg /sid/log/arch

and started database,
db started sucessfully


&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

issue

sid/oracle> sqlplus "/ as sysdba"


SQL*Plus: Release 11.2.0.2.0 Production on Tue May 22 05:08:15 2012


Copyright (c) 1982, 2010, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges



Enter user-name:

   
On node 30:
/sid/oracle/product/112/rdbms/lib> strings config.o
dbpworti


--- this is post refresh issue.


Fixed as follows:

/sid/oracle/product/112/rdbms/lib> rm config.o

/sid/oracle/product/112/rdbms/lib> make -f ins_rdbms.mk ioracle

chmod 755 /sid/oracle/product/112/bin

 - Linking Oracle

rm -f /sid/oracle/product/112/rdbms/lib/oracle

gcc  -o /sid/oracle/product/112/rdbms/lib/oracle -m64 -L/sid/oracle/product/112/rdbms/lib/
-L/sid/oracle/product/112/lib/ -L/sid/oracle/product/112/lib/stubs/   -Wl,-E
/sid/oracle/product/112/rdbms/lib/opimai.o /sid/oracle/product/112/rdbms/lib/ssoraed.o
/sid/oracle/product/112/rdbms/lib/ttcsoi.o  -Wl,--whole-archive -lperfsrv11
-lippdcemerged -lippsemerged -lippdcmerged  -lippsmerged -lippcore  -lippcpemerged -lippcpmerged 
-lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11
-lsnls11 -lnls11 -lcore11 -lnls11 -lsnls11 -lunls11  -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11
-lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lasmclnt11
-lcommon11 -lcore11 -laio    `cat /sid/oracle/product/112/lib/sysliblist`
-Wl,-rpath,/sid/oracle/product/112/lib -lm    `cat /sid/oracle/product/112/lib/sysliblist`
-ldl -lm   -L/sid/oracle/product/112/lib
test ! -f /sid/oracle/product/112/bin/oracle ||\

mv -f /sid/oracle/product/112/bin/oracle /sid/oracle/product/112/bin/oracleO

mv /sid/oracle/product/112/rdbms/lib/oracle /sid/oracle/product/112/bin/oracle




chmod 6751 /sid/oracle/product/112/bin/oracle



/sid/oracle/product/112/rdbms/lib> sqlplus


SQL*Plus: Release 11.2.0.2.0 Production on Tue May 22 05:36:03 2012


Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Enter user-name: / as sysdba


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production

With the Partitioning, Real Application Clusters, OLAP, Data Mining

and Real Application Testing options

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

on MT
----

$ sqlplus sys/X0zTJ0qh as sysdba

SQL*Plus: Release 10.1.0.5.0 - Production on Thu May 24 21:55:44 2012

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-01031: insufficient privileges


Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied



Solution :

Create password file correctly

$ORACLE_HOME/dbs/orapwd FILE=orapwDTWRI password=syspassword  entries=10

 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Oracle Real Application Clusters    11.2.0.3.0      INVALID



SQL> startup pfile='/tmp/pfile-rac'

ORA-00439: feature not enabled: Real Application Clusters
ORA-01078: failure in processing system parameters

Because => An Oracle Home disabled RAC.

solution

Before that  modified '/tmp/pfile-rac' file use *.cluster_database=true to support RAC

So, we should relink library to enable RAC on this Oracle Home

$ cd $ORACLE_HOME/rdbms/lib

$ make -f ins_rdbms.mk rac_on

$ make -f ins_rdbms.mk ioracle

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


+ unable to start listner


bash-3.2$ lsnrctl start $ORACLE_SID
lsnrctl: symbol lookup error: lsnrctl: undefined symbol: nlgh


+ tried to relink

-bash-3.2$ ./relink all
writing relink log to: /sid/oracle/product/112/install/relink.log
./relink: line 181:  5562 Segmentation fault      $RUNINSTALLER $ARGS > $LOGFILE 2>&1


Solution:

-bash-3.2$ cd $ORACLE_HOME/network/lib
-bash-3.2$ make -f ins_net_server.mk install

+ start listner lsnrctl start $ORACLE_SID
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

issue


Done step prepare_db_for_migration
      Running step undo_reorg
 
ERROR : undo_reorg.pl FAILED

  ERROR at line 1:
 
  ORA-04045: errors during recompilation/revalidation of MDSYS.SDO_GEOR_ERR_TRIGGER
 
  ORA-04067: not executed, package body "SYS.NAME_SECURITY" does not exist
 
  ORA-06508: PL/SQL: could not find program unit being called: "SYS.NAME_SECURITY"
 
  ORA-06512: at line 2
 
  ORA-06508: PL/SQL: could not find program unit being called: "SYS.NAME_SECURITY"
 
  ORA-06512: at line 2
 
  ORA-04045: errors during recompilation/revalidation of MDSYS.SDO_TOPO_DROP_FTBL
 
  ORA-04067: not executed, package body "SYS.NAME_SECURITY" does not exist
 
  ORA-06508: PL/SQL: could not find program unit being called: "SYS.NAME_SECURITY"
 
  ORA-06512: at line 2
 
  ORA-06508: PL/SQL: could not find program unit being called: "SYS.NAME_SECURITY"
 
  ORA-06512: at line 2
 
occurred when try to drop TABLESPACE APPS_UNDOTS1
  issue fixed as follow
  =============
  1-alter trigger NAMECHECK_BEFORE_DDL_DB_TRG disable;
 
  2-alter system set undo_tablespace=APPS_UNDOTS1 scope=both
 
  .drop TABLESPACE BOB_UNDO INCLUDING CONTENTS AND DATAFILES;
 
  4-rerun the automation again starting from step 8
 
 
 
  after the upgrade completed please enable the trigger again
 
Thanks and Regards
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

+ issue unable to create spfile.
observation
===========


SQL> create spfile='/sid/oradata/data01/spfilesid.ora' from pfile='/sid/oracle/product/112/dbs/initsid.ora';
create spfile='/sid/oradata/data01/spfilesid.ora' from pfile='/sid/oracle/product/112/dbs/initsid.ora'
*
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 12658
Session ID: 10 Serial number: 36


spfiles is getting deleted after creating..

tried to create pfile from theother non-prod


+ parameter file got corrupted
+ created new parameter file
+ now able to create spfile from pfile

SQL> startup pfile='/sid/oracle/product/112/dbs/initsid.ora';
ORACLE instance started.

Total System Global Area 4275781632 bytes
Fixed Size                  2220200 bytes
Variable Size            2080378712 bytes
Database Buffers         2147483648 bytes
Redo Buffers               45699072 bytes
Database mounted.
Database opened.

SQL> create spfile='/sid/oradata/data01/spfilesid.ora' from pfile='/sid/oracle/product/112/dbs/initsid.ora';

File created.



Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
ISSUE:
db upgrade
run migration failed
----
=============================

begin if initjvmaux.startstep('CREATE_JAVA_SYSTEM') then
*

ERROR at line 1:

ORA-03113: end-of-file on communication channel
ERROR:

ORA-03114: not connected to ORACLE


WORK AROUND
============

Ran below steps manually (ref (Doc ID 852917.1))
------------------------

SQL> begin if initjvmaux.startstep('CREATE_JAVA_SYSTEM') then
 initjvmaux.rollbacksetup;
 commit;
 initjvmaux.rollbackset;
 initjvmaux.exec('create or replace java system');
 commit;
  2    3    4    5    6    7   initjvmaux.rollbackcleanup;
 initjvmaux.endstep;
 end if; end;
 /
   8    9   10 
PL/SQL procedure successfully completed.

SQL>

Try to restart the automation

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Issue :
--------

5
    Running step recompile_invalids

ERROR : recompile_invalids.pl FAILED

Analysis :
----------
1) Is same issue occurred  in non-prod ( Yes/No/NA) :NA
2) Reviewed Non-prod RFC ( Yes / No /NA ) :NA
3) Reviewed issue resolution portal ( Yes / No )  :yes
4) Observations :-

LOG : Command result : Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
LOG : Checking logfile /ood_repository/patches/TCPUSI/DATABASE11G_AUTOMATION_11R204_WRK/TCPUSI/CONSOLE_LOGS/../MIGRATION_LOGS/SQL_LOG/rdbms_utlrp.log for errors ....
LOG : Found ERROR : ORA-03113: end-of-file on communication channel
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
LOG : Found ERROR : ORA-03114: not connected to ORACLE
ERROR : Errors found while running utlrcmp.sql
ERROR : sql file that was run is /ood_repository/patches/TCPUSI/DATABASE11G_AUTOMATION_11R204_WRK/TCPUSI/CONSOLE_LOGS/../MIGRATION_LOGS/SQL_LOG/rdbms_utlrp.sql
ERROR : log file generated is /ood_repository/patches/TCPUSI/DATABASE11G_AUTOMATION_11R204_WRK/TCPUSI/CONSOLE_LOGS/../MIGRATION_LOGS/SQL_LOG/rdbms_utlrp.log
ERROR : Please check log file to see if the errors are ignorable
ERROR : If the errors can be ignored, you can restart the run
ERROR : If running in standalone mode, restart will require
ERROR : editing the script run_upgrade.sh
LOG : CURRENT STEP FAILED

Findings
-----------
SQL> select ACTIVE_STATE,DATABASE_STATUS,STATUS,STARTUP_TIME from v$instance;

ACTIVE_ST DATABASE_STATUS   STATUS       STARTUP_T
--------- ----------------- ------------ ---------
NORMAL    ACTIVE            OPEN         10-FEB-15


SQL> sho parameter compatible

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
compatible                           string      11.2.0

Solution
---------
SQL> alter system set compatible='11.2.0.4.0' scope=spfile sid='*';

System altered.


SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  977076224 bytes
Fixed Size                  2259200 bytes
Variable Size             348129024 bytes
Database Buffers          612368384 bytes
Redo Buffers               14319616 bytes
Database mounted.
Database opened.
SQL>

SQL> sho parameter compatible

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
compatible                           string      11.2.0.4.0
SQL>

+ Restart the automation form step " 5. START FROM recompile_invalids"

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
SSUE:
ORA-20000: ORU-10027: buffer overflow, limit of 1000000 bytes

+ serveroutput size in script is set to 1000000

Made below changes in the script


bash-3.2$ diff ProcessMonitorSubtypeFix_v1.1.sql ProcessMonitorSubtypeFix_v1.1.sql_bkp12dec13
1c1

< set serveroutput on size unlimited;
---
> set serveroutput on size 1000000
bash-3.2$


+ request to rerun the script now


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE : unable to conect sqlplus
 bash-3.2$ sqlplus '/as sysdba'


 SQL*Plus: Release 11.2.0.3.0 Production on Mon Dec 23 19:54:00 2013


 Copyright (c) 1982, 2011, Oracle.  All rights reserved.

 ERROR:
 ORA-01031: insufficient privileges




 Observation:

 bash-3.2$ cd /sid/oracle/product/112/rdbms/lib
 bash-3.2$ ls -lrt config.o

 -rw-r--r-- 1 orsid dbsid 1328 Sep 14 23:01 config.o
 bash-3.2$ strings config.o

dbpavcri    <<<<<<<<<<<<

Solution:
==========

bash-3.2$ cp config.o config.o_abkp
bash-3.2$ rm config.o
bash-3.2$ make -f ins_rdbms.mk ioracle


+ Able to connect now
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

observed that apps and applsys are not connecting with same password

SQL> conn apps/****

Connected.
SQL> conn applsys/****
ERROR:
ORA-04045: errors during recompilation/revalidation of

XXPEPSICO_IBERICA.XXPEPIB_ON_LOGON_TRIGGER
ORA-01031: insufficient privileges

CAUSE:TRIGGER" XXPEPSICO_IBERICA.XXPEPIB_ON_LOGON_TRIGGER" IS INVALID AND CAUSING TO FAIL WHILE CONNECTING TO APPLSYS

SOLUTION:
---------


OWNER                OBJECT_NAME                    OBJECT_TYPE         STATUS

-------------------- ------------------------------ ------------------- -------

XXPEPSICO_IBERICA    XXPEPIB_ON_LOGON_TRIGGER       TRIGGER             INVALID




SQL> ALTER TRIGGER XXPEPSICO_IBERICA.XXPEPIB_ON_LOGON_TRIGGER COMPILE;

Trigger altered.

SQL>  conn applsys/***
Connected.
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


ISSUE:SQL> startup restrict;
    ORA-01078: failure in processing system parameters
    ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings
    ORA-00848: STATISTICS_LEVEL cannot be set to BASIC with SGA_TARGET or MEMORY_TARGE
   
    SOLUTION:
    ==========
   
   
    SQL> alter system set memory_target=0 scope= spfile;
   
    System altered.
   
   
   
    SQL> startup restrict;
    ORACLE instance started.
   
    Total System Global Area 4526469120 bytes
   
    Fixed Size                  2220720 bytes
    Variable Size            2197818704 bytes
   
    Database Buffers         2315255808 bytes
    Redo Buffers               11173888 bytes
   
    Database mounted.
    Database opened.
    SQL>
   
    Shutdown and started normally
   
    to execution analyst
   
    + After the action plan
    + revert memory_target to 6G
   
      alter system set memory_target=6G  scope= spfile;
   
    Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/sid/oradata/data02/system01.dbf'


resolved after nfs locks clearing

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE
-bash-3.2$ ls -lrt /sid/oradata/data01/intfd02.dbf

ls: /sid/oradata/data01/intfd02.dbf: No such file or directory



-bash-3.2$ cd /sid/oradata/data01/
-bash-3.2$ ls -lrt intfd02.dbf

-rw-r----- 1 orsid dbsid 104865792 Sep 15 01:34 intfd02.dbf
-bash-3.2$



SQL> select FILE_NAME,FILE_ID from dba_data_files where
FILE_NAME='/sid/oradata/data01/intfd02.dbf';

no rows selected




SQL> select FILE_NAME,FILE_ID from dba_data_files where FILE_NAME like '%intfd%';

FILE_NAME                                                       FILE_ID

------------------------------------------------------------ ----------

/sid/oradata/data01/intfd01.dbf                                   12

/sid/oradata/data01/intfd02.dbf                                  118


SQL> select FILE_NAME,FILE_ID from dba_data_files where
FILE_NAME='/sid/oradata/data01/intfd02.dbf ';


FILE_NAME                                                       FILE_ID

------------------------------------------------------------ ----------

/sid/oradata/data01/intfd02.dbf                                  118

+ Findings


Datafile was created with space at the end of the file


Action Plan
-----------


sqlplus:  shutdown;


linux# mv '/sid/oradata/data01/intfd02.dbf ' '/sid/oradata/data01/intfd02.dbf'


startup mount;


ALTER DATABASE     RENAME FILE '/sid/oradata/data01/intfd02.dbf ' TO
'/sid/oradata/data01/intfd02.dbf'

ALTER DATABASE OPEN;

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Issue
===

BEGIN

move_qt_pkg.move_queue_table('ASO','ASO_ORDER_FEEDBACK_T','APPS_TS_QUEUES','DUMMY');
END;

/  2    3    4 
BEGIN
*
ERROR at line 1:

ORA-32426: materialized view log on "ASO"."AQ$_ASO_ORDER_FEEDBACK_T_S" in DST

upgrade
ORA-06512: at "SYS.MOVE_QT_PKG", line 441

ORA-06512: at "SYS.MOVE_QT_PKG", line 108
ORA-06512: at line 2



SQL> set lines 400
SQL> col PROPERTY_NAME for a30
SQL> col VALUE for a20

SQL> SELECT PROPERTY_NAME, SUBSTR(property_value, 1, 30) value
FROM DATABASE_PROPERTIES

WHERE PROPERTY_NAME LIKE 'DST_%'
ORDER BY PROPERTY_NAME;  2    3    4


PROPERTY_NAME                  VALUE
------------------------------ --------------------

DST_PRIMARY_TT_VERSION         14
DST_SECONDARY_TT_VERSION       4

DST_UPGRADE_STATE              UPGRADE



Solution:
=========
* if DST_UPGRADE_STATE is "UPGRADE" then an upgrade is already in progress, check if an
other DBA is doing a upgrade, if not then issue:


CONN / as sysdba

alter session set "_with_subquery"=materialize;

alter session set "_simple_view_merging"=TRUE;
set serveroutput on
VAR numfail number

BEGIN
DBMS_DST.UPGRADE_DATABASE(:numfail,
parallel => TRUE,
log_errors => TRUE,

log_errors_table => 'SYS.DST$ERROR_TABLE',
log_triggers_table => 'SYS.DST$TRIGGER_TABLE',

error_on_overlap_time => FALSE,
error_on_nonexisting_time => FALSE);

DBMS_OUTPUT.PUT_LINE('Failures:'|| :numfail);
END;
/

VAR fail number
BEGIN

DBMS_DST.END_UPGRADE(:fail);
DBMS_OUTPUT.PUT_LINE('Failures:'|| :fail);
END;
/


SELECT PROPERTY_NAME, SUBSTR(property_value, 1, 30) value
FROM DATABASE_PROPERTIES

WHERE PROPERTY_NAME LIKE 'DST_%'
ORDER BY PROPERTY_NAME;


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE: unable to start database
SQL> startup

ORA-00119: invalid specification for system parameter LOCAL_LISTENER


ORA-00132: syntax error or unresolved network name 'LISTENER_sid'

FINDINGS/OBSERVATION:

----------------------

SQL> create pfile='/sid/oracle/product/112/dbs/sidfromspfile.ora' from
spfile='/sid/oracle/product/112/dbs/spfilesid.ora';

File created.


$ grep -i local /sid/oracle/product/112/dbs/sidfromspfile.ora

*.local_listener='LISTENER_sid'
$


Removed *.local_listener='LISTENER_sid' from pfile and recreated spfile


SQL> create spfile='/sid/oracle/product/112/dbs/spfilesid.ora' from
pfile='/sid/oracle/product/112/dbs/sidfromspfile.ora';

File created.



SQL> startup

ORACLE instance started.

Total System Global Area 8351150080 bytes

Fixed Size                  2244992 bytes
Variable Size            6006247040 bytes

Database Buffers         2315255808 bytes
Redo Buffers               27402240 bytes

Database mounted.
Database opened.
SQL>


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
 

Issues in starting services(Apache, opmn , icm , disco etc)

ISSUE:
Apache Web Server Listener is not running.

Starting Apache Web Server Listener (dedicated HTTP in SSL mode) ...

Syntax error on line 1231 of /pageni/product/iAS/Apache/Apache/conf/httpd.conf:

SSLCertificateChainFile: file '/pageni/product/iAS/Apache/Apache/conf/ssl.crt/ca.crt' not exists
or empty
/pageni/product/iAS/Apache/Apache/bin/apachectl startssl: httpd could not be started

Apache Web Server Listener (PLSQL) :httpd ( pid 2694 ) is running.

Can not start Apache Web Server now

Solution 3:
============


commented out SSLCertificateChainFile in $APACHE_TOP/Apache/conf/httpd.conf and apache was
started.

Thanks

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
ISssue : forms not launching
error FRM-40833 : Could not completely load the dynamic user exit libraries. User exit FND did not execute

Solution Note :754347.1

To resolve the issue

1. Copy fndfmxit.so from a backup

2. Place it in $FND_TOP/bin

3. Do NOT relink fnddmxit.so, instead bounce services and you should be able to launch forms now

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue :forms not coming SR .1788103321

Approach
---------

+ there seems to some kind of problem linked with binary frmweb
  Will strive to take strace from this binary
+ the error message in trace fiele is

open("/sid/product/1012/lib/libXm.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/sid/product/1012/jdk/jre/lib/i386/libXm.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

+ file /sid/product/1012/lib/libXm.so.2 seems to be missing on OS level.
will create collaboration request to System admin team to fix the issue on OS level.

+ libraries are missing in /usr/X11R6/lib/ on host aohssbic02, which is reason why dsbici and tsbici froms sever can't start.

Forms issues is resolved after installing the rpm openmotif21
Reference note id:880088.1
ISSUE:

Got the below error while accessing the forms

FRM-40010: Cannot read form

/SID/applmgr/1211/fnd/12.0.0/forms/US/FNDSCSGN



===> The above error is happening while accessing the forms in first time.


If you open this is second time it's working fine.


Solution
---------

bash-3.00$ pwd
/SID/inst/apps/SID_aohsrigs03/ora/10.1.2/forms/server
bash-3.00$ ls
appsweb.cfg  appsweb.cfg_org  default.env  ftrace.cfg  socket.env  txkcsa.cfg  txkLoadXMLInDB.sh

+ compare  default.env and socket.env with files in snapshot, if difference found restore

Note: 1200 is replaced with 1211

ex:bash-3.00$ diff socket.env ../../socket.env
32,36c32,36
< APPL_TOP=/SID/applmgr/1200
< APPL_TOP2=/SID/applmgr/1200
< APPL_TOP3=/SID/applmgr/1200
< APPL_TOP4=/SID/applmgr/1200
< ADMIN_SID=/SID/applmgr/1200/admin/SID
---
> APPL_TOP=/SID/applmgr/1211
> APPL_TOP2=/SID/applmgr/1211
> APPL_TOP3=/SID/applmgr/1211
> APPL_TOP4=/SID/applmgr/1211
> ADMIN_SID=/SID/applmgr/1211/admin/SID
44c44
< REPORTS_PATH=/SID/applmgr/1200/au/12.0.0/plsql:/SID/applmgr/1200/fnd/12.0.0/reports:/SID/applmgr/1200/au/12.0.0/reports:/SID/applmgr/1200/au/12.0.0/graphs
---
> REPORTS_PATH=/SID/applmgr/1211/au/12.0.0/plsql:/SID/applmgr/1211/fnd/12.0.0/reports:/SID/applmgr/1211/au/12.0.0/reports:/SID/applmgr/1211/au/12.0.0/graphs


< XNP_TOP=/SID/applmgr/1200/xnp/12.0.0
< XTR_TOP=/SID/applmgr/1200/xtr/12.0.0
< ZPB_TOP=/SID/applmgr/1200/zpb/12.0.0
< ZX_TOP=/SID/applmgr/1200/zx/12.0.0
---
> XNP_TOP=/SID/applmgr/1211/xnp/12.0.0
> XTR_TOP=/SID/applmgr/1211/xtr/12.0.0
> ZPB_TOP=/SID/applmgr/1211/zpb/12.0.0
> ZX_TOP=/SID/applmgr/1211/zx/12.0.0

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Please do the following changes and try to relink again 1273390.1

1. Open $AD_TOP/bin/adrelinknew.sh 2. find the string below in the LINUX section
   
CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh'


3. change this to the string below

CPP_LDFLAGS=' -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -lclntsh -Wl,--noinhibit-exec'


&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


Issue :

Jserv and tcfsocket is not working on DMZ node

Solution
=========
commented below line in httpd.conf


#Configuration file containing Aceess Restrictions in a DMZ configuration.
#include "/thorui/product/iAS/Apache/Apache/conf/url_fw.conf"

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE : unable to view  MHP Purchasing Super User Responsibility


Observation:

MHP Purchasing Super User Responsibility was end dated  for SYSADMIN user

Solution:
--------

Removed end-date from 'MHP Purchasing Super User Responsibility' for SYSADMIN user

+ Ran conc requests "Workflow Directory Services User/Role Validation" ( with parameters YES,NO,YES and YES,YES,no) and "Synchronize WF LOCAL tables"
+ Able to view the responsibility 'MHP Purchasing Super User' now.


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Doc ID 390425.1

Thu Feb 24 18:02:19 2011] [warn] pid file /var/opt/TBAXTC_aohsbaxt03/Apache/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?[Thu Feb 24 18:02:19 2011] [error] OPM:Fail
to allocate memory for mutex in shmpool[Thu Feb 24 18:02:19 2011] [error] OPM:Fail to call
opm_sys_init[Thu Feb 24 18:02:19 2011] [error] OPM: process manager could not create internal
tables[Thu Feb 24 18:02:19 2011] [crit] (37)No locks available: Apache JServ encountered a fatal
error; check your ApJServLogFile for details if none are present in this file.  Exiting.


Httpd processes are getting defunct while starting up .



cat /etc/fstab

Recomended action plan

---------------------------------

Request  SA's to to mount the NFS disks using the nolock option

Issue fixed

Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue
======

OC4JGroup:default_group          | OC4J:oacore        |     N/A | Down

$ adopmnctl.sh startall

You are running adopmnctl.sh version 120.4.12000000.3

opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=aohsioil23:11025
    5 of 6 processes started.

ias-instance id=PIOI1I_aohsioil23.aohsioil23.orclsourcing.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
    default_group/oacore/default_group/

Error
--> Process (index=4,uid=863643606,pid=0)
    no port available from the port range
    failed to start a managed process after the maximum retry limit
    no port available from the port range
    no port available from the port range
    Log:
    none


 cause disco services was running on this node some port was occupying:

 Solution
 ======

 Brought down all the services on 23 including disco services
 
 Started MT services. started successfully.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


ISSUE: FORMS COMING WITH BLANK PAGE
RFC .1F6J1FJ
Applied Note ID 1221913.1 to apply interoperability dev6i  Patch 9935935


Issue fixed, able to launch forms now

submitted active users req id 63145888

Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE
======

+ tried to generate using adadmin , failed
Generating any out of date or missing jar files.

adearea();
Warning=> unable to locate /dmoi/applmgr/common/java/owa.zip file.

  Signing product JAR files in  JAVA_TOP -
  /dmoi/applmgr/common/java

   using entity Customer and certificate 1.

Successfully created javaVersionFile.

  Generating product JAR files in JAVA_TOP -
  /dmoi/applmgr/common/java with command:

 adjava -mx512m -nojit oracle.apps.ad.jri.adjmx
@/dmoi/applmgr/1159/admin/dmoi_BALANCE/out/genjars.cmd


Failed to generate product JAR files in JAVA_TOP -
   /dmoi/applmgr/common/java.

adogjf() Unable to generate jar files under JAVA_TOP

Observation
------------

bash-2.05$ pwd
/dmoi/product
bash-2.05$ ls -l identitydb.obj
lrwxrwxrwx    1 apdmoi aadmoi       25 May 13  2005 identitydb.obj -> ../applmgr/identitydb.obj
bash-2.05$


 bash-2.05$ ls -ltr ../applmgr/identitydb.obj
-rwxrwxrwx    1 apdmoi aadmoi        0 Mar 21 08:45 ../applmgr/identitydb.obj
bash-2.05$

+ identitydb.obj file shows 0 byte.


Solution
--------
+Copied the $HOME/identitydb.obj from production   to devlopment inatance dmoi
+ Ran adadmin to regenerate jarfiles, Running fine..


Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE :Apache not starting

Error log
==========

[Tue Mar 29 16:06:55 2011] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
[Tue Mar 29 16:10:16 2011] [warn] pid file /var/opt/SID_aohsapig04/Apache/logs/httpd_pls.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Mar 29 16:10:16 2011] [notice] FastCGI: process manager initialized (pid 16075)
[Tue Mar 29 16:10:17 2011] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations



[Tue Mar 29 16:10:14 2011] [warn] pid file /var/opt/SID_aohsapig04/Apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Mar 29 16:10:14 2011] [error] OPM:Fail to open file /var/opt/SID_aohsapig04/Apache/logs/SID_opm_sys_mtx.pid.15981
[Tue Mar 29 16:10:14 2011] [error] OPM:Fail to create mutex
[Tue Mar 29 16:10:14 2011] [error] OPM: process manager could not create internal tables
[Tue Mar 29 16:10:14 2011] [crit] (13)Permission denied: Apache JServ encountered a fatal error; check your ApJServLogFile for details if none are present in this file.  Exiting.




bash-3.00$ grep -i s_lock_pid_dir $CONTEXT_FILE
         <lock_pid_dir oa_var="s_lock_pid_dir">/var/opt/SID_aohsapig04/Apache/logs</lock_pid_dir>
bash-3.00$

bash-3.00$ ls -lrt /var/opt/SID_aohsapig04/Apache/logs/httpd.pid
-rwxrwxrwx  1 root root 6 Mar 29 16:10 /var/opt/SID_aohsapig04/Apache/logs/httpd.pid
bash-3.00$

bash-3.00$ touch test.txt
touch: cannot touch `test.txt': Read-only file system
bash-3.00$

+ Unable to create/overwrite pid file
+ Request SA's to give 777 permissions to '/var/opt/SID_aohsapig04/Apache/logs/'

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 Issue:
Test   Verify TCF Socket Server servlet              : FAILED              
Test   Verify JServ                                  : FAILED              



Solution
---------

bash-3.00$ diff httpd.conf httpd.conf_bkp8apr11
1414c1414
< #include "/SID/product/SID_aohssfir09/iAS/Apache/Apache/conf/url_fw.conf"
---
> include "/SID/product/SID_aohssfir09/iAS/Apache/Apache/conf/url_fw.conf"
bash-3.00$



bash-3.00$ diff httpd.conf httpd.conf_bkpapr811
1414c1414
< #include "/SID/product/SID_aohssfir05/iAS/Apache/Apache/conf/url_fw.conf"
---
> include "/SID/product/SID_aohssfir05/iAS/Apache/Apache/conf/url_fw.conf"
bash-3.00$


Issue resolved
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Forms issue:

error:

failed to connect to server:tst.bardahl.com.mx:10513

java.net.socketException:Connection reset

Solution:

bash-3.00$ diff adformsrvctl.sh_s  adformsrvctl.sh
237,248c237,248
<                printf "Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...\n";
<                /SID/applmgr/1213/fnd/12.0.0/bin/txkrun.pl -script=ChkFormsDeployment
<                exit_code=$?
<                if [ $exit_code -ne 0 ]; then
<                  printf "Error while executing the perl script txkChkFormsDeployment.pl\n";
<                  printf "$LOGAP\n\n";
<                  printf "\n$program: exiting with status 1\n\n"
<                  exit 1;
<                else
<                  printf "Perl script txkChkFormsDeployment.pl got executed successfully\n";
<                  printf "\n\n";
<                fi
---
>                #printf "Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...\n";
>                #/SID/applmgr/1213/fnd/12.0.0/bin/txkrun.pl -script=ChkFormsDeployment
>                #exit_code=$?
>                #if [ $exit_code -ne 0 ]; then
>                #  printf "Error while executing the perl script txkChkFormsDeployment.pl\n";
>                #  printf "$LOGAP\n\n";
>                #  printf "\n$program: exiting with status 1\n\n"
>                #  exit 1;
>               # else
>               #   printf "Perl script txkChkFormsDeployment.pl got executed successfully\n";
>                #  printf "\n\n";
>                #fi
bash-3.00$

+ Forms issue Resolved.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


Issue : Apache PLSQL component not starting

error log
----------
[Sat Dec 10 01:21:26 2011] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
/bin/sh: 6829 Killed
[Sat Dec 10 01:52:53 2011] [warn] pid file /SID/product/iAS/Apache/Apache/logs/httpd_pls.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Dec 10 01:52:54 2011] [notice] Oracle HTTP Server Powered by Apache/1.3.19 configured -- resuming normal operations
~

Solution

woeaap03:apSID>diff httpd_pls.conf httpd_pls.conf_bkp10dec11
107c107
< PidFile /var/opt/SID_woeaap03/Apache/logs/httpd_pls.pid
---
> PidFile /SID/product/iAS/Apache/Apache/logs/httpd_pls.pid
woeaap03:apSID>


woeaap03:apSID>adapcctl.sh status

adapcctl.sh version 115.55

Apache Web Server Listener :httpd ( pid 10801 ) is running.
Apache Web Server Listener (PLSQL) :httpd ( pid 11036 ) is running.

adapcctl.sh: exiting with status 0
 

 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

issue : No responsibility for sysadmin user

SQL> select count(*) from fnd_user_resp_groups where USER_ID=0;

  COUNT(*)
----------
         0
        
Downloaded the sysadmin user responsibilities  from test instance and uploaded to DPSNLI
 FNDLOAD apps/Y7wOF6kd 0 Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct sysadminresp.ldt FND_USER USER_NAME='SYSADMIN'

 FNDLOAD apps/C5uLB2sj 0 Y UPLOAD $FND_TOP/patch/115/import/afscursp.lct sysadminresp.ldt FND_USER USER_NAME='SYSADMIN'


 select count(*) from fnd_user_resp_groups where USER_ID=0;

  COUNT(*)
----------
        14

+ ran below concurrent programs from backend

 Sync responsibility role data into the WF table.
 Workflow Directory Services User/Role Validation

 CONCSUB APPS/*** SYSADMIN 'System Administrator' SYSADMIN WAIT=Y CONCURRENT FND AFFURGO2 START='"24-FEB-2012 01:00:00"' REPEAT_DAYS=1 REPEAT_END='"24-FEB-2012 23:59:00"' Y 0 0
 
 CONCSUB APPS/*** SYSADMIN 'System Administrator' SYSADMIN WAIT=Y CONCURRENT FND FNDWFDSURV START='"24-FEB-2012 01:00:00"' REPEAT_DAYS=1 REPEAT_END='"24-FEB-2012 23:59:00"' Y 0 0

+ Now able to view the responsibilities for sysadmin user

Thanks,
 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
"system Administrator" responsibility not showing(listing) for sysadmin user

COL USER_NAME FOR A17
COL RESPONSIBILITY_NAME FOR A30
COL END_DATE FOR A20

select a.USER_NAME,  b.RESPONSIBILITY_ID, c.RESPONSIBILITY_NAME, b.END_DATE
from apps.FND_USER a, apps.FND_USER_RESP_GROUPS b, apps.FND_RESPONSIBILITY_VL c
where a.USER_ID=b.USER_ID and b.RESPONSIBILITY_ID=c.RESPONSIBILITY_ID
and user_name = UPPER('&user_name');


OBSERVATION:

+ Compared with non-pord  and found that "System Administrator"  role is inactive (navig  User Management ->Users-> query for sysadmin user.. and in roles search for "System Administrator"

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Apache server not starting



adapccl.sh start

--> Process (index=1,uid=555560055,pid=26257)

    failed to start a managed process after the maximum retry limit
    Log:

    /SID/mtlog/SID_aohsapas33/logs/ora/10.1.3/opmn/HTTP_Server~1.log


adapcctl.sh: exiting with status 0


adapcctl.sh: check the logfile /SID/mtlog/SID_aohsapas33/logs/appl/admin/log/adapcctl.txt
for more information ... 


Apache Error log
===========


[Sun Apr  1 01:57:41 2012] [warn] pid file /var/opt/SID_aohsapas33/Apache/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?

[Sun Apr  1 01:57:41 2012] [error] mod_ossl: Cannot allocate shared memory: mm:core: failed to
open memory file (No such file or directory)

[Sun Apr  1 01:57:43 2012] [warn] pid file /var/opt/SID_aohsapas33/Apache/logs/httpd.pid
overwritten -- Unclean shutdown of previous Apache run?

[Sun Apr  1 01:57:43 2012] [error] mod_ossl: Cannot allocate shared memory: mm:core: failed to
open memory file (No such file or directory)

Cause:

SSLSessionCache    location in ssl.conf  has invalid location    

[AMD64] apSID@aohsapas35 > diff ssl.conf
/SID/inst/apps/SID_aohsapas35/ora/10.1.3/Apache/Apache/conf/ssl.conf
42c42

< SSLSessionCache        
shmcb:/SID/mtlog/SID_aohsapas35/logs/ora/10.1.3/Apache/ssl_scache(512000)
---

> SSLSessionCache        
shmcb:/var/opt/SID_aohsapas35/Apache/logs/ora/10.1.3/Apache/ssl_scache(512000)

Solution
=========
Made below changes
==================

[AMD64] apSID@aohsapas35 > diff ssl.conf ssl.conf_bkp1mar12
42,43c42

< #SSLSessionCache        
shmcb:/var/opt/SID_aohsapas35/Apache/logs/ora/10.1.3/Apache/ssl_scache(512000)

< SSLSessionCache        
shmcb:/SID/mtlog/SID_aohsapas35/logs/ora/10.1.3/Apache/ssl_scache(512000)
---

> SSLSessionCache        
shmcb:/var/opt/SID_aohsapas35/Apache/logs/ora/10.1.3/Apache/ssl_scache(512000)

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&



oafm not starting
=================

bash-3.2$ adoafmctl.sh start

You are running adoafmctl.sh version 120.8


Starting OPMN managed OAFM OC4J instance  ...

adoafmctl.sh: exiting with status 150

adoafmctl.sh: check the logfile /SID/mtlog/SID_aohsmich38/logs/appl/admin/log/adoafmctl.txt
for more information ... 


solution
========

found the oafm process was failing to start due to timeout.


Tried setting the timeout value to 600 to 1200 in opmn.xml and finally, the process started.


ref Doc ID 564536.1 (have updated the custom template opmn_xml_1013.tmp with same value.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&




Forms failed to launch

FRM-40010:cannot read form
/SID/applmgr/1213/fnd/12.0.0/forms/US/FNDSCSGN

+ Corrected below files on nodes rmohsclop95 and rmohsclop95

 socket.env , default.env and appsweb.cfg

+1206 entries are there in socket.env , default.env  --> corrected

bash-3.00$ pwd
/SID/inst/apps/SID_rmohsclop95/ora/10.1.2/forms/server
bash-3.00$

bash-3.00$ diff appsweb.cfg appsweb.cfg_4sep12
108c108
< EndUserMonitoringURL=
---
> EndUserMonitoringURL=https://r12test.clopay.com:443/oracle_smp_chronos/oracle_smp_chronos_sdk.gif
112c112
< serverName=r12test
---
> serverName=rmohsclop95
bash-3.00$

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Forms are not working with any  user other than sysadmin

SOlution
   
ICX_FORMS_LAUNCHER (ICX: Forms Launcher)

is set to http://r12test.clay.com:443/OA_HTML/frmservlet on Site level - this is not valid URL.

It's set correctly on SYSADMIN level to: https://r12test.clay.com:443/OA_HTML/frmservlet


Please set the profile option properly to
 https://r12test.clay.com:443/OA_HTML/frmservlet

on site level and let the customer re-test.

Regards,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue:  TCF Socket Server servlet and
     Verify JServ   failed    on DMZ node

below urls does not work
http://aohspsnl17.orclsourcing.com:12515/oa_servlets/oracle.apps.fnd.tcf.SocketServer
http://aohspsnl17.orclsourcing.com:12515/servlets/Hello   
error
Access to the requested URI has been blocked by the URL Firewall

Fix:
Made below changes in httpd.conf

bash-3.2$ diff httpd.conf httpd.conf_bkpold
1412c1412
< #include "/tpsn2i/product/TPSN2I_aohspsnl17/iAS/Apache/Apache/conf/url_fw.conf"
---
> include "/tpsn2i/product/TPSN2I_aohspsnl17/iAS/Apache/Apache/conf/url_fw.conf"
bash-3.2$

below urls  working
http://aohspsnl17.orclsourcing.com:12515/oa_servlets/oracle.apps.fnd.tcf.SocketServer
http://aohspsnl17.orclsourcing.com:12515/servlets/Hello   


Thanks,

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Issue: OTA is not running

SQL> SELECT count(*)

from gv$session vs
where   vs.inst_id = userenv('INSTANCE')
and action like '%OXTA%';  2    3    4


  COUNT(*)
----------
         0


SQL> select decode(count(*),0,'Error: OTA is Not Running','OTA is Running') from gv$session
where action like '%OXTA%';

DECODE(COUNT(*),0,'ERROR:
-------------------------

Error: OTA is Not Running

Solution:
========
+ Unable to ping OTA Fom url https://ebsotest.ntenergy.com/OA_HTML/US/ECXOTAPing.htm

+ user name and password not defined correctly  in data-sources.xml
    $INST_TOP/ora/10.1.3/j2ee/oafm/application-deployments/oafm/data-sources.xml
   
    + Made below changes.


bash-3.2$ diff data-sources.xml data-sources.xml_abkp26jun14
29c29

<       password="->ASADMIN"
---
>       password="->W52C0m5a23"

bash-3.2$

+ Bounced the OAFM container .
       

+ able to ping OTA Fom url https://ebsotest.ntenergy.com/OA_HTML/US/ECXOTAPing.htm



SQL> select name from v$database;
NAME
---------
TTEI


SQL> select decode(count(*),0,'Error: OTA is Not Running','OTA is Running') from gv$session

where action like '%OXTA%';  2

DECODE(COUNT(*),0,'ERROR:
-------------------------
OTA is Running

Thanks,

 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
ISSUE:  Node manager WLS_DISCO is not starting

OBSERVATION/FINDINGS
====================

 the Node Manager associated with machine mohcord002.orclsourcing.com  is not reachable

<Jul 11, 2014 9:44:39 PM EDT> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.>
<Jul 11, 2014 9:44:39 PM> <SEVERE> <Fatal error in node manager server>
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at javax.net.ssl.impl.SSLServerSocketImpl.bind(Unknown Source)
       
       
SEVERE: Fatal error in node manager server
java.net.BindException: Address already in use

+ port 5556 is occupied by dev instance DCORDI
+ changed to available  port  5557 in nodemanager.properties and config.xml

Changed StartScriptName to below value

+ bash-3.2$ diff nodemanager.properties nodemanager.properties_abkp
12c12
< StartScriptName=startWebLogic.sh
---
> StartScriptName=startNodeManager.sh
bash-3.2$



bash-3.2$ pwd
/tcordi/disco11g/.zfs/snapshot/.498ZPJD-exp18Jul14_mohcord001_TCORDI_PROJ_20140711_0207/product/user_projects/domains/TCORDI/config

bash-3.2$ grep -i 555  config.xml
      <listen-port>5556</listen-port>

changed listen-port to 5557

bash-3.2$ grep -i 555 /tcordi/disco11g/product/user_projects/domains/TCORDI/config/config.xml
      <listen-port>5557</listen-port>
bash-3.2$


+ Reatarted services

Able to start Node manager WLS_DISCO


 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

 Issue: Apache not starting

+ mount point /var/opt/SID_host/Apache/logs 100% filled

Removed few  files from /var/opt/SID_host/Apache/logs

bash-3.2$ adopmnctl.sh startall

You are running adopmnctl.sh version 120.6.12010000.5

Starting Apache...
Apache started successfully.


Starting OACORE oc4j...
OACORE oc4j started successfully.


Starting OAFM oc4j...
OAFM oc4j started successfully.



adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /tgac3i/inst/apps/SID_host/logs/appl/admin/log/adopmnctl.txt for more information ...

bash-3.2$ adopmnctl.sh status

You are running adopmnctl.sh version 120.6.12010000.5

Checking status of OPMN managed processes...

Processes in Instance: SID_host.mohgaco014.orclsourcing.com
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group          | OC4J:oafm          |   16863 | Alive
OC4JGroup:default_group          | OC4J:oacore        |   16756 | Alive
OC4JGroup:default_group          | OC4J:oacore        |   16757 | Alive
HTTP_Server                      | HTTP_Server        |   16705 | Alive


adopmnctl.sh: exiting with status 0

Thanks,

 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
ISSUE : responsibilities missing to sysadmin user


SQL> select count(*) from fnd_user_resp_groups where USER_ID=0;

  COUNT(*)
----------

        11

+ Ran below concurrent prog from backend


Run the concurrent request Workflow Directory Services User/Role Validation as follows:

a. "Workflow Directory Services User/Role Validation" Parameters : 100000, Yes, No, No"

b. "Workflow Directory Services User/Role Validation" Parameters : 100000, No, Yes, No"


 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

ISSUE: logo not displaying on DMZ login page after compiling jsps

Observation/findings:


https://appnttest.orclsourcing.com/OA_MEDIA/Masternautnew_180913.png --works

But

https://appsmsntmfstest.orclsourcing.com/OA_MEDIA/Masternautnew_180913.png -errors


Access to the requested URI has been blocked by the URL Firewall.

If you believe that you have reached this page while performing valid operations within the
application, please send mail to aptmsnti@orclsourcing.com explaining what you were doing
when you got this error


+ Observed that url_fw.conf  not excluded form httpd.conf.

Solution:

=========
+ Made below changes

bash-3.2$  diff httpd.conf httpd.conf_bkp2514
1127c1127

< #include
"/tmsnti/inst/apps/TMSNTI_mohmsnt014/ora/10.1.3/Apache/Apache/conf/url_fw.conf"
---

> include
"/tmsnti/inst/apps/TMSNTI_mohmsnt014/ora/10.1.3/Apache/Apache/conf/url_fw.conf"

bash-3.2$

+ bounced services


+ Now able to see logo on URL https://appsmsntmfstest.orclsourcing.com


+ Request customer to retest the issue.

Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue : unable to start apache

$ adapcctl.sh start


adapcctl.sh version 115.55


Apache Web Server Listener is not running.

Starting Apache Web Server Listener (dedicated HTTP)
...


08/24/12-02:18:58 :: Removing gantt cache directory


+ solution
============

Moved gantt directory ( get gantt cache directory from adapcctl.sh )

+ And started apache on all Mts

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Concurrent manager
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Issue : CM not coming up only one FNDLIBR process is running

Solution:
Brought down MT services

Ran cmclean.sql

To implement the solution, please execute the following steps:
1. Log in as applmgr
2. Cd to $FND_TOP/patch/115/sql
3. Run the script: afdcm037.sql



Broughtup services

Cm up and running now.


bash-3.00$ ps -ef | grep FNDLIBR | wc -l
174
bash-3.00$

Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Issue : CM not coming up only one FNDLIBR process is running


started relink on /sid/product/1012/bin but didn't helped




==> Restored the 1012 bin directory from a backup 

bash-3.2$ pwd
/sid/product/1012/bin

bash-3.2$ cd ..
bash-3.2$ mv bin bin_Bkp

bash-3.2$ cd
/sid/product/.zfs/snapshot/.4MFTMKY-exp20Jan15_mohe10o002_sid_PROJ_20150113_1939/1012

bash-3.2$ cp -R bin /sid/product/1012/
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue : FNDLIBR defunct


After Full Instance Bounce.

All services UP and Running. Except on PCP2 node  - aohsgeor32


Showing :

24676 ?        Z      0:00  \_ [FNDLIBR] <defunct>

24677 ?        Z      0:00  \_ [FNDLIBR] <defunct>

24684 ?        Z      0:00  \_ [FNDLIBR] <defunct>

Action
======

1 - Stop MT services on all MT nodes and make sure no stray processes
2 - Bounce DB instance

3 - Launch adadmin and choose the task to relink all product executables.
4 - Run cmclean.sql

5 - Start MT services on MT nodes one by one
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue :


aptwhiri 15816  0.2  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15817  0.4  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15818  0.4  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15819  0.5  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15821  0.5  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15822  0.2  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15823  0.5  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>

aptwhiri 15824  0.5  0.0     0    0 ?        Z    22:43   0:00 FNDLIBR <defunct>


<Action Plan>

ran cmclean and relinked the following


adrelink.sh force=y link_debug=y "fnd FNDLIBR"

adrelink.sh force=y link_debug=y "fnd FNDSM"

$AD_TOP/bin/adrelink.sh force=y ranlib=y "inv INVLIBR"

$AD_TOP/bin/adrelink.sh force=y ranlib=y "inv INCTM"

$AD_TOP/bin/adrelink.sh force=y ranlib=y "fnd FNDCRM"

Now CM is up and running.

48627651 -AU

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


ISSUE FNDLIBR defunct

Solution
********

Ref Doc ID 392246.1
Faced the issue as XBOL_TOP is not set correctly.

sqlnet.expire_time  is set to 10  and set FDCPTRW to 11 in the customsid_mohpucl006.env file
in MT.
bash-3.2$ grep -i FDCPTRW customsid_mohpucl006.env
FDCPTRW=11
export FDCPTRW
bash-3.2$


and added the missing env file in APPSsid_mohpucl006.env


bash-3.2$ cd /sid/applmgr/1200/admin/
bash-3.2$ cd ..


bash-3.2$ diff APPSsid_mohpucl006.env APPSsid_mohpucl006.env_bkp
33c33


< . /sid/applmgr/1200/customsid_mohpucl006.env
---
>
bash-3.2$

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

(Doc ID 1413393.1)

apdfrdei 29573  0.0  0.0      0     0 ?        Z    13:54   0:00 POXCON <defunct>
apdfrdei 29574  0.0  0.0      0     0 ?        Z    13:54   0:00 POXCON <defunct>
apdfrdei 29575  0.0  0.0      0     0 ?        Z    13:54   0:00 POXCON <defunct>
apdfrdei 29576  0.0  0.0      0     0 ?        Z    13:54   0:00 POXCON <defunct>
apdfrdei 29577  0.0  0.0      0     0 ?        Z    13:54   0:00 INCTM <defunct>
apdfrdei 29578  0.0  0.0      0     0 ?        Z    13:54   0:00 RCVOLTM <defunct>

Below managers do not start, Die after restart ( processes going to defunct)


USER_CONCURRENT_QUEUE_NAME   DESCRIPTION                                                            CONCURRENT_QUEUE_NAME          RUNNING_PROCESSES TARGET_PROCESSES
--------------------------------------------------------------------------------------------------- ------------------------------ ----------------- ----------------
PO Document Approval Manager  PO Document Approval Manager Queue                                     PODAMGR                         0                4
Receiving Transaction Manager Receiving Transaction Manager program                                  RCVOLTM                         0                1
Inventory Manager             Manager to run Immediate Concurrent Programs defined in INVLIBR        INVMGR                          1                1


SQL> select * from ad_bugs where bug_number='12923944';

no rows selected


cd $FND_TOP/bin/
$ strings FNDTMTST | grep afptm.lc
$Header: afptm.lc 120.6.12010000.2 2009/08/05 18:35:08 jtoruno ship $


Action Plan
===========

1. Download and review the readme and pre-requisites for Patch: 12923944:R12.FND.B

2. Ensure that you have taken a backup of your system before applying the recommended patch.

3. Apply the patch in a test environment.

4. Confirm the following file versions:
afptm.lc 120.6.12010000.3

The following command can be used to confirm the file version: strings $FND_TOP/bin/FNDTMTST | grep afptm.lc

5. Bounce the concurrent managers.

6. Retest the issue

Issue fixed after patch       
Thanks,
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue:- Active users failed with error
Symptoms:-

REP-0059: Unable to locate resources for subcomponent 'VGS'.
Check the location of resource file.

Cause:- corrupted files under location /sid/product/1012/guicommon/vgs/admin/resource/US

Resolution/Fix:- Copied files from other instance
Reference Note/RFC:- NA

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


Issue Active users failing


Enter Password:
REP-0004: Warning: Unable to open user preference file.
ORA-01410: invalid ROWID
 ==> select user_name, application_name, responsibility_name,
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:

REP-300: invalid ROWID
 ==> select user_name, application_name, responsibility_name,


+ Bounced CM , ran utlrp

copied prefs.ora to $HOME from  /tsukai/product/1012/tools/admin

+ Now Active user completed Normal req id 1262941

Thanks
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

How to Cancel Cost Manager (CMCTCM ) And Relaunch It (Doc ID 373207.1)


Solution

1 - To cancel the Cost Manager : use one of the following method :
a) use Sysadmin responsability
Navigate to /Request/view
Set : specific Request=on
        Name=Cost Manager.

In the lower part of the Find requests window
you have a field "Select the Number of Days to view" set by default to 7 days
-> Set "Select the Number of Days to view"=9999
In fact this field is a filter which limits how far back it will query requests.

From here Cancel the Cost Manager which is Pending Scheduled.

or

b) run
SELECT request_id RequestId,
request_date RequestDt, concurrent_program_name,
phase_code Phase,
status_code Status FROM
fnd_concurrent_requests fcr,
fnd_concurrent_programs fcp
WHERE fcp.application_id = 702 AND
fcp.concurrent_program_name in ('CMCTCM', 'CMCMCW', 'CMCACW') AND
fcr.concurrent_program_id = fcp.concurrent_program_id AND
fcr.program_application_id = 702 AND fcr.phase_code <> 'C'

Cancel all the requests from the above output.
by going /Sysadmin / Concurrent / Request
query for the RequestId returned from the select above

In the lower part of the Find requests window
you have a field "Select the Number of Days to view" set by default to 7 days
-> Set "Select the Number of Days to view"=9999
In fact this field is a filter which limits how far back it will query requests.

Cancel the request id other than running. Let the running request get over.

2 - Run the cmclean.sql script available from Metalink (cf Note 134007.1)

3 - Restart the cost manager via
Inventory / Setup / Transactions / Interface Managers
on line 'cost manager' - do Tools > Launch
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

*********************************
Issue : With out put post processiong (OPP)
*********************************
The concurrent manager has timed out waiting for the Output Post-processor to finish this request

Action Plan
==========
1> Increase number of workers for OPP to 2 (currently 1)
2> Increase value for profile, Concurrent:OPP Process Timeout, to 600 (currently 300)
3> Restart OPP Concurrent Manager

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue:-Active users going in pending state


Cause:- This requests were  waiting in CM queue "TAM : High Workload"  and "TAM :
Fast Running Jobs" which were  in deactivated state

Resolution/Fix:- Reactivated the manages "TAM : High Workload" and "TAM : Fast
Running Jobs" all the pending ones got completed.

The "Active user" report has a request type defined as "XTAM_FAST" which is 
specialized for the queue TAM : Fast Running Jobs

hence on starting  the "TAM : Fast Running Jobs" they got completed.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&


Request viewlog and view output not working

Actions Done :

------------

Changed Profile "RRA: Service Prefix" from TSIB1I_ to Blank at Site Level and the issue
is fixed.
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Issue: concurrent requests  running with " inactive nomanager "

We don't include any program for specialization rules for Stadnard Mangaer. "Active User and Prints environment variable values " concurrent programs were included for the Standard Mangaer. Excluded the Print Variable concurrent Program and Active Responsibility concurrent program from the Standard Manager.  Now all the requests are being processed.

We can not delete any line from the Specialization rules from the any Manager.
So I changed the include to exclude the  "Prints environment variable values" concurrent requests.
And renamed the Active user to "Active Responsibilities and Users" and excluded from the standard Manger.

Now all the concurrent requests will be processed except these two requests "Active Responsibilities and Users" and  "Prints environment variable values"
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Unable to start CM( fndlibr) processes on secondary pcp node

SOlution:
=========

$ diff sqlnet.ora sqlnet.ora.bak
13c13

< tcp.invited_nodes = (RMOHSAVCR99.orclsourcing.com, mohAVCR598.orclsourcing.com,
mohAVCR596, mohAVCR599.orclsourcing.com)
---

> tcp.invited_nodes = (RMOHSAVCR99.orclsourcing.com, mohAVCR598.orclsourcing.com,
mohAVCR596)
16c16


 -> node 599 was not allowed to Net8 connect to node 598


  => adding it to tcp.invited_nodes fixed the issue

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&