R12 : Password Change utility - AFPASSWD

Oracle has introduced a new utility to change the Oracle E-Business Suite passwords in R12.1.2. Reason for introducing the utility is to allow separation of duties between DBA and Application DBA.

The traditional FNDCPASS is mostly executed on the concurrent manager node alone and requires APPS, SYSTEM username and passwords. AFPASSWD can be run from the database tier as well as the application tier.

Example : Here I am changing the SYSADMIN password. In my environment, TWO_TASK is set by default therefore I am not giving @

$AFPASSWD -f SYSADMIN
Enter the ORACLE password of Application Object Library 'APPSUSER':
Connected successfully to APPS.
Working...
Enter new password for user [SYSADMIN]:
Verify new password for user [SYSADMIN]:
Password is changed successfully for user SYSADMIN.
Password is changed successfully for user SYSADMIN.
AFPASSWD completed successfully.

You can test the SYSADMIN login with new password. You can get all the different options of the utility by just typing 'AFPASSWD'.

$AFPASSWD
Usage:
AFPASSWD [-c [@]] -f
AFPASSWD [-c [@]] -o
AFPASSWD [-c [@]] -a
AFPASSWD [-c [@]] -l {TRUE|FALSE}
AFPASSWD [-c [@]] -L {TRUE|FALSE}
AFPASSWD [-c [@]] -s

Options:
-c [@]
Specify the connection string to be use, parameters

Application-manager user and/or TWO_TASK value,
this option can be use in combination with the others.
(If not provided, AFPASSWD will try to default the values
from the environment)

is the APPS schema owner.

-f
Change the password for an Application user.

-o
Change the password for an Oracle Applications Database user.

-a Modify ALLORACLE users.

-l {TRUE|FALSE}
Lock|Unlock account for a single Oracle Applications database user.

-L {TRUE|FALSE}
Lock|Unlock accounts for non-essential Oracle Applications database users

-s
Modify APPLSYS user. This requires the execution
of autoconfig (in ALL-TIERS) to distribute the
changes on your instance ie DB-TIER and ADMIN-TIER.

-h
Display this help.

Notes:
- AFPASSWD will prompt for the required passwords.
- AFPASSWD will prompt for new passwords twice for confirmation.
- Data entered for which contains spaces must be enclosed
in double quotes. For example, AFPASSWD -f "SCOTT TIGER"
- The only option permitted in combination with other options is the -c option.
Otherwise, there should only be one option per command (see usage above).
If additional options are provided on the command line, only the first valid
option after -c (if -c is present) will be executed.
$

Reference:

http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120sacg.pdf

http://download.oracle.com/docs/cd/B53825_08/current/acrobat/121sasg.pdf

How to Change Applications Passwords using Applications Schema Password Change Utility (FNDCPASS or AFPASSWD) [ID 437260.1]

Oracle: Oracle 11g R2 (11.2.0.2) Patchset

Oracle have released 11.2.0.2 version of the database towards end of 2010. The Oracle 11g Release 2 version you download from oracle.com/otn.oracle.com is 11.2.0.1.

The 11.2.0.2 version is 10098816. You can download from Metalink/MyOracleSupport.com.

Following metalink notes gives the details of Oracle Database Patchset/PSU:

  • Quick Reference to Patchset Patch Numbers [ID 753736.1]
  • Locating or finding RDBMS (Database server) patchsets on Metalink [ID 422681.1]
  • How To Find RDBMS patchsets on My Oracle Support [ID 438049.1]

11.2.0.2.1 PSU is already available on metlaink. The patch no# is 10248523 .

For windows 32 bit, Below are the list of installation types and corresponding package:

Oracle Database (includes Oracle Database and Oracle RAC) ->
p10098816_112020_platform_1of6.zip
p10098816_112020_platform_2of6.zip

Oracle Database Client -> p10098816_112020_platform_3of6.zip

Oracle Gateways -> p10098816_112020_platform_4of6.zip

Oracle Examples -> p10098816_112020_platform_5of6.zip

Deinstall -> p10098816_112020_platform_6of6.zip

Follow the patch read me for respective operating system to understand the packages associated with installation.

Oracle: Event 10046 and trace levels

10046 EVENT levels have four trace levels:
1 - Enable standard SQL_TRACE functionality (Default)
4 - As Level 1 PLUS trace bind values
8 - As Level 1 PLUS trace waits
12 - As Level 1 PLUS both trace bind values and waits

Oracle: Rotate Listener logfile

One of the larger growing log fileon Oracle RDBMS is listener.log located at $TNS_ADMIN. You can clean it up and put the logfile to rotation without shutting down the listener.

$ ls -l *.log
-rw-r----- 1 oracle dba 13387343 Mar 18 09:53 listener.log

Truncate file/ Clear the logfile:

cat /dev/null > listener.log

or

echo "" > listener.log

Now, listener.log will be of 0 bytes.

Mac: YouTube videos stop playing on Safari

Des Moines, IA: I was having a problem accessing YouTube on Safari. I used to get a black screen. I tried updating Safari Application, updating the flash plugin on my mac. It didn't really work out.

Here is a workaround:

Open the url http://www.youtube.com/swf_test.html on a new window. Right click on the video screen and select 'settings'. You can see a check box 'Enable Hardware Acceleration' on Display tab of the small pop-up window. Uncheck the option.

The alternate option is to Quit Safari application, Open 'Applications' folder in the Finder. Right-click on Safari, select 'Get Info', check 'Open in 32-bit mode' option.

Again make sure you have latest Safari, Flash Plugin on you machine.