How to Enable Database Management for Oracle Cloud Databases

 

Please follow below link for Enable Database Management for Oracle Cloud Databases

https://database-heartbeat.com/2021/09/13/enable-db-mgmt/

https://docs.oracle.com/en-us/iaas/database-management/doc/permissions-required-database-management.html#DBMGM-

https://docs.oracle.com/en-us/iaas/database-management/doc/perform-database-management-prerequisite-tasks.html#GUID-BF854DE9-2EB9-4333-B3BF-C164F16A2A1B

https://docs.oracle.com/en-us/iaas/database-management/doc/perform-database-management-prerequisite-tasks.html#DBMGM-GUID-C0C28FF3-12E3-4D45-9ED5-B06B2EF52978

https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cloudshellgettingstarted.htm





Output Post Processor Down : Actual 0 Target 3

“Output Post Processor” Concurrent Manager not able to start

OPP manager log file path :- /u01/apps/inst/apps/QA_QA01/logs/appl/conc/log

[qa1@QA01 log]$ ls -lrt |grep FNDOPP

Error in OPP log file.

[qa1@QA01 log]$ cat FNDOPP2127409.txt

Unable to initialize state monitor.

oracle.apps.fnd.cp.gsm.GenCartCommException: ORA-01422: exact fetch returns more than requested number of rows

ORA-06512: at "APPS.FND_CP_GSM_IPC", line 539

ORA-06512: at line 1

        at oracle.apps.fnd.cp.gsm.GenCartComm.initService(GenCartComm.java:233)

        at oracle.apps.fnd.cp.gsm.GenCartComm.<init>(GenCartComm.java:80)

        at oracle.apps.fnd.cp.gsf.GSMStateMonitor.init(GSMStateMonitor.java:74)

        at oracle.apps.fnd.cp.gsf.GSMStateMonitor.<init>(GSMStateMonitor.java:62)

        at oracle.apps.fnd.cp.gsf.GSMServiceController.init(GSMServiceController.java:111)

        at oracle.apps.fnd.cp.gsf.GSMServiceController.<init>(GSMServiceController.java:66)

        at oracle.apps.fnd.cp.gsf.GSMServiceController.main(GSMServiceController.java:428)

.0002460 secs]


                                                          SOLUTION


1. Shutdown the internal manager by using adcmctl.sh stop apps/****
2. Make sure there is no FNDLIBR processe running:
            $ ps -ef| grep FNDLIBR 
3. If there is any FNDLIBR processe please kill it $ kill -9 pid
4. Run cmclean.sql script as document from Note 134007.1
5. Restart the internal manager by using adcmctl.sh start apps/*****

Retest issue. I hope issue has been resolved.


                                             OR 

For performance issue please increase java heap size

Maximum Memory Usage Per Process:


The maximum amount of memory or maximum Java heap size a single OPP process can use is by default set to 512MB. 

This value is seeded by the Loader Data File: $FND_TOP/patch/115/import/US/afoppsrv.ldt which specifies that the 

DEVELOPER_PARAMETERS is “J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m”.


How to determine the current maximum Java heap size:

SELECT service_id, service_handle, developer_parameters

FROM fnd_cp_services

WHERE service_id = (SELECT manager_type

FROM fnd_concurrent_queues

WHERE concurrent_queue_name = ‘FNDCPOPP’);SERVICE_ID SERVICE_HANDLE DEVELOPER_PARAMETERS

———- ————– ——————————————————–

1091 FNDOPP J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m


Increase the maximum Java heap size for the OPP to 1024MB (1GB):


UPDATE fnd_cp_services

SET developer_parameters =

‘J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx1024m’

WHERE service_id = (SELECT manager_type

FROM fnd_concurrent_queues

WHERE concurrent_queue_name = ‘FNDCPOPP’);


The OPP queue can be Recreated the using $FND_TOP/patch/115/sql/afopp002.sql file as ‘APPLSYS’ user. 


OPP Running process status.

SQL> select sid,serial#,status,logon_time,module from v$session where module like'%OPP%';

SID SERIAL# STATUS LOGON_TIM MODULE
--- ------- ------- --------- ------
5769 31 ACTIVE 14-APR-15 FNDCPOPP

5773 10 ACTIVE 14-APR-15 FNDCPOPP

5780 4 ACTIVE 14-APR-15 FNDCPOPP


Check from front end.

Actual and Target processes should both be 3.






GRANT statement

Syntax for GRANT statement

 

GRANT SELECT ON all_objects to <Schema_name>;

GRANT EXECUTE ANY PROCEDURE to <Schema_name>;

GRANT CONNECT TO <Schema_name>;

GRANT RESOURCE TO <Schema_name>;

ALTER USER <Schema_name> DEFAULT ROLE ALL;

GRANT SELECT ANY TABLE TO <Schema_name>;

GRANT CREATE SESSION TO <Schema_name>;

GRANT CREATE TRIGGER TO <Schema_name>;

GRANT CREATE ANY VIEW TO <Schema_name>;

ALTER USER <Schema_name> QUOTA UNLIMITED ON <Schema_name>;

grant create any procedure to <Schema_name>;

grant create table to <Schema_name>;

grant create view, create procedure, create sequence to <Schema_name>;

GRANT DROP ANY TABLE to <Schema_name>;

GRANT DELETE ANY TABLE to <Schema_name>;

GRANT INSERT ANY TABLE to <Schema_name>;

GRANT UPDATE ANY TABLE to <Schema_name>;

GRANT EXECUTE ANY PROCEDURE to <Schema_name>;

GRANT CREATE ANY SEQUENCE to <Schema_name>;

GRANT CREATE SYNONYM to <Schema_name>;

grant create any index to <Schema_name>;

GRANT READ ANY TABLE TO <Schema_name>;

GRANT SELECT ANY DICTIONARY TO <Schema_name>;

GRANT CREATE TRIGGER TO <Schema_name>;

GRANT SELECT ANY TABLE TO <Schema_name>;

GRANT CREATE ANY VIEW TO <Schema_name>;


For example, if we want our books_admin user to have the ability to perform 

SELECT, UPDATE, INSERT, and DELETE capabilities on the books table, 

we might execute the following GRANT statement:

GRANT SELECT,INSERT,UPDATE ON <Schema_name>.Table_name TO <Schema_name>;


ORA-02020: too many database links in use


Cause:  The current session has exceeded the INIT.ORA open_links maximum.


Solution :-

SQL> show parameter open_links;

NAME                                 TYPE        VALUE

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

open_links                           integer              0

open_links_per_instance              integer     4


[oracle@ora ~]$ sqlplus sys/****@PDB as sysdba

SQL*Plus: Release 12.2.0.1.0 Production on Fri Oct 15 14:37:19 2021

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

Last Successful login time: Fri Oct 15 2021 14:37:01 -04:00

Connected to:

Oracle Database 12c EE High Perf Release 12.2.0.1.0 - 64bit Production


SQL> shut immediate

Pluggable Database closed.

SQL> startup

Pluggable Database opened.

SQL> show parameter open_links;


NAME                                 TYPE        VALUE

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

open_links                           integer              4

open_links_per_instance              integer     4

SQL>


PLS-00201: identifier 'AD_JAR.GET_JRIPASSWORDS' must be declared

 ADADMIN With Error "PLS-00201: identifier 'AD_JAR.GET_JRIPASSWORDS' must be declared"

While running ADOP / ADPATCH the below error occurs:

The ORACLE username specified below for Application Object Library

uniquely identifies your existing product group: APPLSYS

Enter the ORACLE password of Application Object Library [APPS] : *****

AutoPatch is verifying your username/password.

Connecting to APPS......Connected successfully.

Error: Unable to execute statement <

Begin

ad_jar.get_jripasswords(:l_storepass, :l_keypass);

End;

> len = 63

AutoPatch error:

ORA-06550: line 3, column 1:

PLS-00201: identifier 'AD_JAR.GET_JRIPASSWORDS' must be declared

ORA-06550: line 3, column 1:

PL/SQL: Statement ignored

AutoPatch error:

Unable to get passwords from Vault

Possible Reasons:

The AD_JAR object not available in apps schema.

 SQL> desc AD_JAR

ERROR:

ORA-04043: object AD_JAR does not exist

Solution:

1. Please login as applmgr (Unix user that own application binaries )

2. Source the application environment file . (APPS.env)

3. cd $AD_TOP/patch/115/sql/

4. Login to database as apps database user and run below 2 SQL's

@ADJRIS.pls

@ADJRIB.pls

5. Run the below SQL to see whether objects are valid

select owner,object_type,status from dba_objects where object_name='AD_JAR';

Set Oracle User password never expired in 12C database?

ERROR:

ORA-28002: the password will expire within 7 days

ERROR at line 1:

ORA-28007: the password cannot be reused

Solution :-

 SQL> select username, account_status, EXPIRY_DATE from dba_users where username='SYSTEM';

SQL> select profile from DBA_USERS where username = 'HR';

SQL> SELECT * FROM dba_profiles WHERE profile = 'DEFAULT' AND resource_type = 'PASSWORD';

Next, change the profile limit to unlimited.

SQL> alter profile DEFAULT limit PASSWORD_REUSE_TIME unlimited;

SQL> alter profile DEFAULT limit PASSWORD_REUSE_MAX unlimited;

SQL> alter profile DEFAULT limit PASSWORD_LIFE_TIME  unlimited;

SQL> ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS 100 PASSWORD_LOCK_TIME 100;

SQL> ALTER PROFILE DEFAULT LIMIT PASSWORD_GRACE_TIME unlimited;

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

SQL> alter user HR account lock;

SQL> select USERNAME,ACCOUNT_STATUS,LOCK_DATE,EXPIRY_DATE,LAST_LOGIN from dba_users where USERNAME='HR';

SQL> select LIMIT, RESOURCE_NAME from dba_profiles where RESOURCE_NAME in ('PASSWORD_GRACE_TIME','PASSWORD_LIFE_TIME','PASSWORD_REUSE_MAX','PASSWORD_REUSE_TIME') and PROFILE=(select profile from dba_users where username='SYSTEM');

LIMIT           RESOURCE_NAME

UNLIMITED PASSWORD_LIFE_TIME

UNLIMITED PASSWORD_REUSE_TIME

UNLIMITED PASSWORD_REUSE_MAX

UNLIMITED       PASSWORD_GRACE_TIME

For development you can disable password policy if no other profile was set (i.e. disable password expiration in default one):

SQL> ALTER PROFILE "DEFAULT" LIMIT PASSWORD_VERIFY_FUNCTION NULL;

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

create a new policy and assign that to your users:

SQL> create profile unlimited_password_policy limit password_life_time unlimited;

SQL> alter user <username> profile unlimited_password_policy;

SQL> ALTER PROFILE unlimited_password_policy LIMIT PASSWORD_GRACE_TIME unlimited;

Oracle E-Business Suite 12.2.10 Now Available

 Many new features and enhancements were requested and voted on by customers using the social media capabilities of the Oracle E-Business Suite Communities on My Oracle Support. Other new features and enhancements reflect continued development of themes introduced in earlier 12.2 releases, including functional innovation, user interface modernization, and increased operational efficiency.

For details regarding the EBS 2020 innovations, see:

The EBS 12.2.10 release update pack (RUP) is delivered on My Oracle Support as Patch 30399999.  Instructions for downloading and applying this latest RUP on top of the EBS 12.2 codeline can be found here:

What Does Release 12.2.10 Include?

As a consolidated suite-wide patchset, this RUP includes new features, statutory and regulatory updates, and enhancements for stability, performance, and security.

Release 12.2.10 is cumulative. That means that as well as providing new updates for this release, it also includes updates that were originally made available as one-off patches for earlier 12.2 releases.

For a complete list of new features, refer to:

Common Questions and Answers About Upgrading

  • Q: Is there a direct upgrade path from EBS 12.2.x to 12.2.10?
  • A: Yes. Release 12.2.x customers can apply 12.2.10 directly to their environments. EBS 12.2.10 is an online patch, so it can be applied while an existing Release 12.2.x system is running.
  • Q: Is there a direct upgrade path from Release 12.1 to Release 12.2.10?
  • A: No. Release 12.1 customers must first upgrade to Release 12.2 before applying 12.2.10.
            • Q: Is there a direct upgrade path from Release 12.0 to Release 12.2.10?
            • A: No. Release 12.0 customers must first upgrade to Release 12.2 before applying 12.2.10.
            • Q: Is there a direct upgrade path from EBS 11i to 12.2.10?
            • A: No. Release 11i customers must first upgrade to Release 12.2 before applying 12.2.10.

            Additional References


            What is Oracle EBS 12.2.10?

            EBS 12.2.10 is Oracle’s most recent iteration of the E-Business Suite collection of software applications for enterprise resource planning, customer relationship management, and supply chain management. The previous version, EBS 12.2.9, was released last year in August 2019.

            This release schedule is in line with Oracle’s EBS roadmap, which aims to deliver a new EBS patch on an annual basis. Oracle also plans to issue an upcoming “12.X” version of EBS which will be supported through at least 2030, although details at this point are hazy.

            What’s New in Oracle EBS 12.2.10?

            With that said, what are the new features in EBS 12.2.10?

            EBS 12.2.10 is a cumulative patch, which means that it includes both new features and updates that were part of previous 12.2 patches. According to Oracle product management director Elke Phelps, many of the new EBS 12.2.10 features were requested and voted on by EBS customers, while others have been in the pipeline as part of Oracle’s overarching goals of improving operational efficiency and modernizing the user interface.

            Just a few of the most anticipated new features of EBS 12.2.10 are:

            • Order management: Oracle iStore uses Enterprise Command Center technology to “provide a modern user experience in B2B shopping.” The Performance Evaluation Dashboard in the Oracle Incentive Compensation Command Center lets administrators view employees’ sales attainment and performance across different roles, plans, and periods.
            • Logistics:2.10 has made significant updates to the Receiving Dashboard, Reservations Dashboard, and Reservations HTML UI. For example, the Receiving Dashboard allows users to track material by “Expected Date,” track pending inspections, manage pending putaways, and much more. Oracle Warehouse Management (WMS) has added various enhancements, e.g. creating optimized travel paths for pickers to finish their work with a single pass through the warehouse.
            • Procurement: As with Order Management, Oracle iStore now has “an enhanced consumer-like shopping experience”. The Employee Shopping Tracker in the Oracle Procurement Command Center helps improve catalog content by tracking employees’ shopping searches.
            • Projects:2.10 includes more accurate financial management for U.S. federal trading partners, with support for G-Invoicing (government invoicing).
            • The 12.2.10 features listed above really are just the tip of the iceberg—there are also various improvements to asset lifecycle management, human capital management, financial management, and more. For the full list of new features in EBS 12.2.10, check out Oracle’s document “Announcing Oracle E-Business Suite: Innovations in 2020.”

              Upgrading to Oracle EBS 12.2.10

              Keeping your EBS deployment up-to-date is crucial—especially if you’re using Oracle EBS 12.1, which is scheduled to end Premier Support next year. (Still using EBS 12.1? Check out our white paper “Time is Running Out for Oracle EBS 12.1 – Here’s What You Can Do.”)

              If you’re already on EBS 12.2, you can install 12.2.10 through My Oracle Support as Patch 30399999. The good news is that 12.2.10 is an online patch, i.e. you can keep your EBS deployment running while it installs. You can find detailed instructions for applying the 12.2.10 patch here.

              If you’re not yet on EBS 12.2, however, you won’t yet be able to install 12.2.10 by itself (and it’s high time that you start planning for an upgrade). You’ll first have to upgrade to a EBS 12.2.x version, and then install the 12.2.10 patch.

              Looking for some help? As an Oracle Platinum Partner with 17 different specializations in Oracle products, Datavail has helped countless clients enjoy the latest features and bug fixes by upgrading their Oracle deployments. Get in touch with Datavail’s team of Oracle experts today to chat about your business needs and objectives.

            ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%'

             This MySQL error — ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%' — means that MySQL cannot find the user ...