Professional Documents
Culture Documents
User Guide
Contents
ORAchk Collection Manager Application ...................................................................................................... 1
User Guide .................................................................................................................................................... 1
Preface .......................................................................................................................................................... 4
Audience: .............................................................................................................................................. 4
Documentation Accessibility:................................................................................................................ 4
Related Documents: .............................................................................................................................. 4
Introduction .................................................................................................................................................. 5
ORAchk Collection Manager Application Installation ................................................................................... 6
Step #1 Configuring ApEx and Create a Workspace.............................................................................. 6
Step #2 Log in to the Workspace ......................................................................................................... 13
Application Express User Accounts ..................................................................................................... 14
Step #3 Install ORAchk Collection Manager Application ..................................................................... 16
Step #4 Log in to ORAchk Collection Manager Application ................................................................. 22
Upgrading Collection Manager Application ................................................................................................ 24
Getting Started............................................................................................................................................ 29
Incident Ticket System Lookup Lists and Seed Data ............................................................................... 29
Access Control System ............................................................................................................................ 30
ORAchk Collection Manager Application Administration ....................................................................... 31
Email Notification System ....................................................................................................................... 36
ORAchk Collection Manager Application Features ..................................................................................... 41
Global Select Lists ................................................................................................................................... 41
Home tab ................................................................................................................................................ 41
2
Step #1 ........................................................................................................................................ 59
Step #2 ........................................................................................................................................ 61
Step #3 ........................................................................................................................................ 62
Preface
This Guide explains how to install and configure ORAchk Collection Manager
Application.
This Preface contains these topics:
Audience
Documentation Accessibility
Related Documents
Audience:
ORAchk Collection Manager Application Users Guide is intended for anyone responsible
for installing ORAchk Collection Manager Application, Managing and tracking ORAchk
collection data.
Documentation Accessibility:
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility
Program website at
http://www.oracle.com/us/corporate/accessibility/index.html
Related Documents:
4
Introduction
Note:
If the ApEx 4.2 component is already installed & configured on your
database environment, you can directly go to Installation Step #2.
Please follow below links to Install and configuring Application Express 4.2.0 or
Above
Check the latest ApEx version and download using below link:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
6
Use Oracle Application Express installation Guide to install and configure ApEx.
http://docs.oracle.com/cd/E37097_01/doc/index.htm
After installing & configuring ApEx in your environment, follow below steps
Note - 1:
The URLs used for accessing the ORAchk Collection Manager Apex
application will depend on how Apex was deployed initially.
If Apex is configured using the Oracle HTTP Server with mod_plsql, then the
Apex URL would be of the format:.
http://host:port/pls/apex/apex_admin
If Apex is configured using the Oracle XML DB HTTP listener with the embedded
PL/SQL gateway, then the Apex URL would be of the format:.
http://host:port/apex/apex_admin
Creating a Workspace
Log in to Oracle Application Express Administration Services (based on type of
setup you used to configure ApEx.
http://hostname:port/apex/apex_admin
http://hostname:port/pls/apex/apex_admin
eg., http://dbserver.domain.com:8080/apex/apex_admin
ADMIN is the default schema (user) for ApEx administration services in Oracle
Database.
Password is the one you gave at the time of configuring ApEx component in
Oracle Database,
Enter Username and Password details to login Oracle ApEx Administration
Services.
Image 1
After getting in, you will see an ApEx Admin home page, similar screen like
below,
Image 2
Image 3
Image 4
Image 5
Note:
Make sure schema space quota (MB) should be 100 (minimum) to prevent
application import failures.
Image 6
Image 7
Image 8
Image 9
12
Image 10
For the first time login to the workspace admin, it will ask user to reset his/her
password and click on apply changes.
Image 11
Click on Return.
Image 12
Workspace administrators
Developers
End users
Workspace administrators can additionally create and edit user accounts, manage groups,
manage development services.
End users (non-administrative) have no development privileges and can only access
applications that do not use an external authentication scheme. For the ORAchk Collection
Manager application, almost all of the users will fall into this category, ie., the application user
(a special role within the ORAchk Collection Manager application), DBA Managers and the DBAs
they manage all of whom will want to use the application.
o
http://hostname:port/apex
http://hostname:port/pls/apex/
eg., http://dbserver.domain.com:8080/apex/
Use a naming convention for user names for the sake of consistency. A
reasonable naming convention might be firstname.lastname. Whatever
naming convention is used the names should be unique.
Image 13
For non-admin users be sure to use the default No for User is a developer and
User is a Workspace Administrator radio groups.
Assign a temporary password for each user and communicate that password to
the end user. They will be prompted to change this password the first time
they log into the application.
15
First verify that the Workspace Admin Schema owner and the owner of
the Schema being used for import of the ORAchk Collection Manager
Application have grants for Create Job and execute on the database
package DBMS_RLS & UTL_SMTP which are owned by the SYS user. The
ORAchk Collection Manager application is distributed as a SQL script.
That script should be staged on the workstation being used for
installing the application.
TABLE_NAME
from
PRIVILEGE
CM_USER
DBMS_RLS
EXECUTE
CM_USER
UTL_SMTP
EXECUTE
USERNAME
PRIVILEGE
CM_USER
CREATE JOB
Image 14
Image 15
Click Next
17
Image 16
Here you will see the export file has been imported successfully, but
the application file needs to be installed, so click on Install Application.
Image 17
Click Next.
For Parsing Schema, choose the schema specified for the workspace.
18
Note:
As mentioned previously, make sure DBMS_RLS & UTL_SMTP packages
execution permission & create job sys privilege are granted to
parsing schema owner before starting the import of the application to
prevent database support object creation failures which would prevent
the proper installation of the application.
Install As Application
Image 18
Verify Application Name & Parsing schema, Free space allocated for
Application and Install supporting Objects (always should be Yes ).
19
Image 19
Image 20
Note:
Execute privilege on the database package UTL_SMTP privilege
is only required if you want to use the ORAchk Collection Manager Email
Notification System Feature. The UTL_SMTP package is called from one
an application package (RAC13_EMAIL) , so it may created with a
compilation error if you fail to grant the EXECUTE ON UTL_SMTP
privilege to the workspace owner. This compilation error can be seen in
the Installation Summary and can be safely ignored if you are not
planning on using the ORAchk Collection Manager Email Notification
System Feature.
20
Click Next.
Image 21
Click Install.
Image 22
21
Image 23
Image 24
22
After successful login, you are all set to use ORAchk Collection Manager
Application app and its features.
Once ACL enable, Application accessible users initially will see sample data until
they assign to any one of the ACL Functional Roles.
The end user is not an Administrator, end users will have only limited access to
the application. Non-administrator users cannot do any administrative access
unless granted administrator or developer privileges.
To login into the application, end user just needs an application URL & Login
Credentials. Provide the end users with one of the following URLs (they are
interchangeable) and the temporary password that was assigned for them.
http://hostname:port/apex/f?p=ApplicationID
http://hostname:port/pls/apex/f?p=ApplicationID)
eg., http://dbserver.domain.com:8080/apex/f?p=103
23
Please obtain the latest version of the application from the following MOS
Note.
Collection Manager for ORAchk, RACcheck and Exachk (Doc ID 1602329.1)
Note:
For fresh Application Installation and Upgrading the existing application we
provide the same SQL script.
Image 25
24
Image 26
Click on Collection Manager Edit Button and also note down Application ID
number.
Image 27
Image 28
Click on Choose import file and select the previously downloaded new
Collection Manager Application SQL script from the location where it was
staged.
25
Click Next
Image 29
For Parsing Schema, choose the schema specified for the workspace.
o
you have used different Application Id, Please enter that ID number as New
Application.
Image 30
If you have used same application Id, please click on Replace Existing
Application 2310
Image 31
Note:
Before replacing an application consider creating a backup.
Verify Application Name & Parsing schema, Free space allocated for Application
and Install supporting Objects (always should be Yes ). Click on Next
27
Image 32
Image 33
Note:
Execute privilege on the database package UTL_SMTP privilege is only
required if you want to use the ORAchk Collection Manager Email
Notification System Feature. The UTL_SMTP package is called from one
an application package (RAC13_EMAIL) , so it may created with a
compilation error if you fail to grant the EXECUTE ON UTL_SMTP
privilege to the workspace owner. This compilation error can be seen in
the Installation Summary and can be safely ignored if you are not
planning on using the ORAchk Collection Manager Email Notification
System Feature
Click on Install
28
Image 34
You should see Application installed successfully and click on Run Application.
Image 35
Image 36
Please resolve the issues and rerun the failed sql statements manually by
connecting database from SQL Prompt.
Capture the application ID generated for the application(eg, 2310) from the
dialog upon successful installation of the application. This application ID is used
in the URLs for accessing the application and youll want to distribute the
correct URL to the eventual users of the application
Getting Started
Incident Ticket System Lookup Lists and Seed Data
29
The ORAchk Collection Manager application provides a basic Incident Ticket system and is
deployed with seed data for the lookup lists used for data entry for incident tickets:
Products
Category
Customers
Customer Contacts
Notifications
Status Codes
Incident Severity
Incident Urgency
The seed data provided are reasonable values that might be commonly used but each organization may
have additional values that they will want to add or perhaps even change some of the seed data
provided with the application. This data is managed by only Admin role privileged user and using the
Administration tab accessed by clicking the gear icon in the upper right corner
Some thought should be given to the requirements of the organization and the lookup lists should be
configured appropriately before beginning to utilize the incident ticket system.
Admin
o
Admin role user may or may not be a Workspace Administrator for the
application depending upon the role separation requirements of the customer.
30
DBA Manager
DBA
Once the users are configured they should be assigned roles before accessing the system.
Any end user granted an Admin role by the Workspace Administrator will have an Admin User
privileges within the ORAchk Collection Manager application.
eg., http://dbserver.domain.com:8080/apex/f?p=103
Once logged in to the application the Admin User should see an Administration menu choice
(gear icon) in the upper right of the application. Clicking this icon should navigate to the
Administration page pictured below.
Image 37
Only Admin role users can have privilege to edit any section under the Administration menu.
As mentioned earlier, Admin role users need to configure data based on their requirements
under the administration menu in order to prepare for the wider usage of the application. This
is a one-time setup task but the configuration can be changed over time to suit the needs of the
organization. Examples of the configuration data that needs to be set up are:
o
Products
Categories
Notifications
Status codes
Manage Notifications
Incident Severity
32
Urgency
DBA Manager
http://hostname:port/apex/f?p=ApplicationID
http://hostname:port/pls/apex/f?p=ApplicationID)
Upon logging in to the application DBA Managers should see an Administration
menu choice (gear icon) in the upper right of the application. Clicking on it will
access the following page.
Image 38
Click on Manage User Roles,
Image 39
33
In above sample screen, User (Murali) has a DBA Manager Role to Finance BU,
DBA Manager can edit user roles or assign systems in his BU to other users
belongs to his BU.
assign DBAs to one or more systems (according to the BUs the Manager
is assigned to)
ignore any check on a collection, BU or system level basis within the BUs
and systems they manage
Manage any incidents for systems within their assigned Business Units
DBAs
Upon logging in to the application the DBA should see an Administration menu
choice (gear icon) in the upper right of the application. Clicking the icon will
access the following page.
Any end user granted an Admin role by the Workspace Administrator will have
an Admin User privileges within the ORAchk Collection Manager application.
34
Image 40
Click on Manage User Roles, DBA user will only have read access.
Image 41
In above sample screen, user (Murali) has a DBA Role to hpi214-clust system
under Manufacturing BU, but he cannot edit user roles and cannot assign
system to other users.
35
Image 42
b. Under Administration section, click on Manage Email Server & Job Details. This brings up the
following page:
36
Image 43
Here, you need to input:
-
A valid Email Server Name & its Port Number. Then click on Set My Email Server Settings.
On same page you can see Notification Job Run status details.
37
Image 44
c. Now, go back to Administration page, and click on Manage Notifications. This brings up:
Image 45
38
If this is first time, please enter your valid email address. Subsequent access to Manage
Notifications page will show your email address automatically.
Under Collection Notifications section, choose the type of collections for which you want
to receive notifications.
You can also select to receive notification when the available space in ORAchk CM
Tablespace falls below 100MB.
You may validate the notification delivery by clicking on Test button under Test your
email settings.
If the configuration is correct, you will receive an email. If you dont receive an email please
check with admin.
A sample is provided below:
From: username@domainname.com
Sent: Thursday, January 28, 2016 12:21 PM
To: username@domainname.com
Subject: Test Mail From Collection Manager
Testing Collection Manager Email Notification System
Note 1: Manage Notifications section will be available for all users irrespective of the role under
the Administration menu.
Note 2: If the ACL system is enabled, registered users will receive notifications for the systems
that they have access to, otherwise if no ACLs are configured all registered users will receive all
notifications.
Depending upon the selection(s) you made under Collection Notifications section, you will receive an
email with Subject: Collection Manager Notifications containing application URL with results.
39
For Example:
Under Comments column, you will notice Click here for details. When you click on respective URL, it will
request for authentication and then will show respective comparision report. A sample report is shown
below:
40
ORAchk Collection Manager Application has an option to display the data based on select
lists like Business Units, Systems & Data for last periods of time. All these select lists are
global within the application and options available on starting of each tab.
Business Unit
System
Data Interval
Home tab
o
Displays Systems & Their Status in graphs with color coded green, orange and red based on
check results (passed, warning & failed).
The Home tab has an option to display the data based on select lists like Business Units &
Data for last periods of time. There is also an option to filter the most failed/warned checks
& recent collections based on system name.
The Most Failed Checks region displays information for the most frequently failed checks for
all collections for the time period, Business Unit or System selected and displays the check
name, fail count. There is a similar region for Most warned checks
The Recent Collections region displays brief information about recently uploaded collections
based on time frame, Overall score with Fail, Warning and Pass counts and a Status flag.
Recent collections are automatically compared to the last collection from the same system,
whenever it occurred, if there is one.
Status Flags are color-coded green, orange or red based on the comparison between
the recent collection and the last collection, if any.
1. GREEN: There is no difference at all between the two collections or one or
more findings from the last collection improved from WARNING or FAIL to PASS
or there was no earlier collection to compare with.
41
2. ORANGE: There were one or more regressions between the last collection and
the most recent on a given system. In other words some findings transitioned in
a negative way, eg., PASS to WARNING.
3.
RED: There were one or more regressions between the last collection and the
most recent on a given system. In other words some findings transitioned in a
negative way, eg., PASS to FAIL
Recent Activity (In User Range) shows recent activities by all users across all collections
specific to the access role granted the user. Different types of user roles are
1. DBA role user able to see everything within his/her systems which he/she
assigned.
2. DBA Manager role user able to see everything within his/her Business Unit &
Systems which he /she assigned.
3.
Admin role user can see everything When you have a collection data uploaded
in to app
Below you can see a Home Page tab sample screen shot.
Image 48
Collections tab
o
Displays all collections and allows the user to filter the list of collections based on
Business units and System. The user may also filter based on Status Flag by clicking on
the flag buttons across the top of the page. The list is also inherently filtered to those
collections the user has access to, based on their assigned role.
42
The Collections tab displays incident info for each collection indicated by Delta () color
coded Red, Blue & Green based on ticket status, by clicking the delta symbol the user can
raise a new ticket or alter the ticket for an entire collection.
1. RED (No Incident ticket exists): Clicking the red triangle initiates the process to
create a new Incident Ticket for the collection or Individual checks.
2. BLUE (An open Incident ticket exists): Clicking the blue triangle opens the Incident
ticket for editing.
3. GREEN (A closed Incident ticket exists): Clicking the green triangle opens the closed
Incident ticket for viewing.
Collection Score is calculated based on failed, warning & passed checks. If a user raised a
ticket for the collection, resolved the issues and the ticket is closed signifying the issues have
all been resolved then that collection score will be changed to 100%. If a user raised a ticket
for an individual check and if it is closed signifying that the finding has been resolved, then
the status of the check will be PASS and collection score will be recalculated based on that
one finding having been resolved.
Collection Score is derived using following formula.
Every check has 10 points
Failure will deduct 10 points
Warning will deduct 5 points
Info will deduct 3 points
A More Info link next to a collection indicates the collection was manually uploaded into the
application. In those cases there is more information available for the collections and the
user can browse that information
Clicking the linked collection name in the list loads that collection in the Browse Tab
Below you can see a Collections tab sample screen shots.
o
o
43
Image 49
Browse tab
o
Allows the user to list individual checks according to various selectable filters.
Once a list of checks has been created the user may perform various selectable filters
Users may create and alter Incident tickets for individual audit check findings similar to
as described in the Collections tab.
Users may also select checks to ignore and to undo previously ignored checks. If a user
reviews failed audit checks and feels some of them can be ignored for some reason,
then the user may select the checkbox beside the audit check and click on the Ignore
Selected button. Those checks will be marked as FAIL-IGNORED, indicating the check
had failed but is being ignored.
Depending upon the level selected for ignoring the checks will be ignored for the
entire level.
To ignore selected failed checks , you must choose the ignore type from the
following list,
1. Ignore from collection
2. Ignore from system
3. Ignore from business unit
4. Ignore from all business units
44
Note: The domain for ignoring checks is within the role assigned to the user.
All Ignored checks will be listed under the Ignored Checks tab, if needed user can do
undo ignore as well.
To undo selected Ignored checks, you must consider the type from the
following list,
1. Type Undo-Ignore from collection
2. Undo-Ignore from system
3. Undo-Ignore from business unit
4. Undo-Ignore from all business units
Note:
The domain for undoing ignored checks is within the role assigned to
the user.
o
Below you can see a Browse tab & Ignored Check sample screen shots.
Image 50
45
Image 51
Image 52
46
Image 53
Compare tab
o
Image 54
47
Image 55
Image 56
Note:
Row highlighted with blue color tells, patch is recommended but not installed in one of
the collections.
48
Report View has Printable view option to print the graphical summary of system collection.
Displays separate graphical summary view for Database server checks, Instance checks and
Home path checks breakup based on check type and check status in collection.
Displays System Health check details based on status and check type in collection.
Image 57
Image 58
49
Provides an interface for manually uploading a collection into ORAchk Collection Manager
Application and provides a list of uploaded collections and file details. These manually uploaded
collections are unzipped and their data imported into the framework just as if they had been
uploaded at runtime when the tool was run. So even if the tool isnt configured for automatic
upload into the ORAchk Collection Manager Application they can always be uploaded manually.
NOTE:
Collections can be automatically uploaded into the database hosting the
ORAchk Collection Manager Application at runtime using a combination of
tables and environment variables. These requirements are documented in the
ORAchk User Guide. Please refer to the ORAchk User Guide Appendix entitled
Uploading ORAchk Results and Patches to a Database for Reporting.
Below you can see Upload Collections tab sample screen shots
Image 59
50
Starting with ORAchk 2.2.4 Oracle now provides the ORAchk Collection Manager application for
viewing and managing this data from a single repository in order to provide an enterprise-wide
view of ORAchk findings.
For customers who have a large number of systems and databases it would be useful to upload
the results of the audit checks done by the tool and/or the list of installed patches into database
tables for use as a source of data for reporting.
In order to support this feature a number of environment variables need to be set in the ORAchk
execution environment. Please consult the ORAchk User Guide for more details
Environment variables (with example settings):
export RAT_UPLOAD_TABLE=auditcheck_result
export RAT_PATCH_UPLOAD_TABLE=auditcheck_patch_result
export RAT_ZIP_UPLOAD_TABLE=rca13_docs
export RAT_UPLOAD_USER=auditcheck (owner of the table created)
export RAT_UPLOAD_PASSWORD=Auditcheck (password for the owner)
export RAT_UPLOAD_CONNECT_STRING="(DESCRIPTION = (ADDRESS =
(PROTOCOL = TCP)(HOST = bonanza)(PORT = 1521))(LOAD_BALANCE =
yes)(CONNECT_DATA=(SERVER= DEDICATED)(SERVICE_NAME = orcl)))"
export RAT_UPLOAD_ORACLE_HOME=<path of database home> (optional)
Note:
Use the fully qualified address (as in the example above) for the connect string rather
than an alias from the tnsnames.ora file so that it is not necessary to rely on tnsnames.ora file
name resolution on all the servers where the tool might be run. The double quotes should be
included.
o
When the first five above environment variables are set in the execution environment the tool
will assume that the intent is to upload the data into the tables and at the end of the process it
will attempt to upload the data. This process relies upon the environment being properly set, i.e.
the connect string must be reachable, the username and password must be correct and the
table name must be correct. If the tool is unable to connect to the database a message to that
effect will be written to the log. If the RAT_UPLOAD_ORACLE_HOME variable is set the tool will
invoke sqlplus from that home rather than attempting to invoke sqlplus from the current
$ORACLE_HOME derived by the tool. If any of the first four environment variables are not set
then the tool will not attempt to upload the data.
51
The Incidents tab gives you a complete system for tracking support incidents
The Incident tracking system allow you to enter customers and multiple contacts for
each customer, specify products and categories and set up values to limit status codes,
severity and urgency attributes for an incident.
Users can only raise a new ticket by clicking the Delta () symbol, this symbol can be
seen only in Collections & Browse tabs.
The Browse tab allows the user to create a new ticket on individual checks.
The Collections tab allows the user to create a single ticket for entire collection.
Delta () symbol is color coded Red; Blue & Green based on ticket status, by clicking the
delta symbol the user can raise a new ticket or alter the ticket.
RED (No Incident ticket exists): Clicking the red triangle initiates the process to
create a new Incident Ticket for the collection or Individual checks.
BLUE (An open Incident ticket exists): Clicking the blue triangle opens the
Incident ticket for editing.
GREEN (A closed Incident ticket exists): Clicking the green triangle opens the
closed Incident ticket for viewing.
Once a ticket is entered into the system, you can track the progress of the ticket in an
update area of the ticket, or add attachments and links to the incident. You can also use
tags to further classify incidents and use the resulting tag cloud in your reports. Getting
Started
Incident access and management can happen only within user's access control range.
Note that the Incident Tracking Feature of ORAchk Collection Manager Application is a
basic stand-alone system and is not designed for integration with other commercial
enterprise level trouble ticketing systems
Below you can see Upload Collections tab sample screen shots
52
Image 60
Note:
By clicking Delta () symbol colored GREEN in the Collections and Browse
tabs are the alternative ways of editing Incident tickets.
53
54
Step 2
On the next screen choose the Audit Check Type, either OS Check or SQL Check, this choice
decides how your check logic will be coded. OS Checks use a system command to determine check
status, SQL checks run an SQL statement to determine check status.
55
Step 3
Once you have selected an Audit Check Type, the screen will update with the applicable fields. What you
see here will depend on your choice of Audit Check Type.
Any time during authoring click the title of a field to see help documentation specific to that field.
OS and SQL commands are supported. Running user defined checks as root is NOT supported.
56
Step 4
Once a check is created it will show in the Available Audit Checks section.
Further checks can be created and each can be filtered using the filters on this page.
57
Step 5
Click the Generate XML button, on the right you will then see a link to download the generated
user_defined_checks.xml.
All the checks that have been authored and which have not been placed on hold will be included in the
XML file when generated. Placing checks on hold is equivalent to a logical delete. If a problem is
discovered with a check or the logic has not been perfected it can be placed on hold to keep it from
being included in the XML file until such time that it is production ready and the hold can be removed
to include it in the XML file next time it is generated.
Download the user_defined_checks.xml and save it into the same directory as the orachk script. ORAchk
will execute the user defined checks next time it runs.
Alternatively, if it is desirable to run ONLY the user defined checks that is accomplished using the built-in
profile user_defined_checks as an argument in the command line. When this option is used then the
user defined checks will be the only checks run and User Defined Checks section will be the only one
with results displayed in the report.
./orachk profile user_defined_checks
58
If it is desirable to omit the user defined checks at runtime that can be accomplished using the
excludeprofile argument
./orachk excludeprofile user_defined_checks
Step #1.
Image 61
59
Image 62
Click on Delete.
Image 63
Click on Deinstall.
Image 64
60
Image 65
Step #2.
Image 66
61
Select the check box to confirm that you wish to proceed with the removal &
Click Next.
Image 67
Image 68
Step #3.
62
12.1.0.2.5
12.1.0.2.2
Report view with graphical summary and colors are proportional to the number of
passes and failures.
Other/Misc
12.1.0.2.1
Made BU, Systems and Data Interval as Global Items. That is set once and applies to all
pages.
Added 2 new columns target_type and target_value to audit check result table, these
make queries faster and easier to classify checks uniquely.
Report view with graphical summary and breakup based on check type.
Another format of diff report almost similar to diff report generated by collections diff
script.
Other/Misc
Troubleshooting Section
If you see any error like error at line 13: PLS-00201: identifier 'UTL_SMTP' must be
declared in Installation Summary, please grant execute on UTL_SMTP privilege to
Parsing schema or Workspace owner.
If there is a requirement or a desire to download files from within the ORAchk Collection
Manager app then here are two additional steps that will be required. Note these steps
are NOT required to upload files into ORAchk Collection Manager only to download
them FROM the app.
Prior to installing the ORAchk Collection Manager app you will want to run the
below DDL to re-create the Application Express built-in function
WWV_FLOW_EPG_INCLUDE_MOD_LOCAL in the APEX_XXXXX or
FLOW_XXXXXX schema (whichever is appropriate to your environment) as
described below, i.e., the function should return TRUE. After re-creating the
function make sure it is in a VALID state..
CREATE OR replace FUNCTION Wwv_flow_epg_include_mod_l
ocal(
procedure_name IN VARCHAR2)
RETURN BOOLEAN
IS
BEGIN
RETURN TRUE; ----- It should be always RETURN
TRUE
IF Upper(procedure_name) IN ( '' ) THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END Wwv_flow_epg_include_mod_local;
64
Both of these steps can be deferred until such time as the file download
capability is determined to be needed and are not required for the basic
installation and functionality of the application.
Make sure ApEx component has installed Successfully and if you have revoked any
default system privileges from default ApEx users, please grant it back.
Make sure all below ApEx related users should be unlocked and unexpired.
alter user ANONYMOUS account unlock;
alter user XDB account unlock;
alter user APEX_PUBLIC_USER account unlock;
alter user FLOWS_FILES account unlock;
If you see any issues in setting up Email notifications, please cross verify your ACL
permissions and privileges to application schema on SMTP mail server.
Example: To create ACL system and grant privileges to Application schema
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl
=> 'apex1.xml',
=> 'apex1.xml',
If you see any uploaded collection processing is not started or collection status is NEW
for long time, please verify database scheduler jobs (RCA13_PROCESS_DATA &
RCA13_COLLECTION_3718) status and make sure jobs are enabled and running fine.
select * from user_scheduler_jobs where job_name like 'RCA13_13%';
select * from user_scheduler_running_jobs where job_name like 'RCA13_%'
select * from user_scheduler_job_run_details where job_name like 'RCA13_%' order by
log_date desc;
If you see collection process is failed that could be a lack of space in APEX tablespace
and application schema tablespace, so please increase the tablespace sizes as much as
needed.
66