Link From here
Cheers
Osama
For the people who think differently Welcome aboard
Link From here
Cheers
Osama
https://www.youtube.com/watch?v=StydMitHtuI&feature=youtu.be
Cheers
Osama Mustafa
ldap utility BINDASAPPUSER FAILED DUE TO INVALID PASSWORD
The above error happened to Siebel CRM.
the solution is so simple :-
In my version Siebel configured as SSO because of this OID hold all the application user after check o i found that orcladmin have only one week for password expiration Siebel consider this as error so i increase password policy in OID.
Cheers
Osama
cp /OEL6.6. iso /ISOs
mkdir p /var/ISO/OEL6.6
Run the below command to mount it :-mount o loop,ro /ISOs/OEL6.6. iso /var/ISO/OEL6.6
[OL66]
name=Oracle Linux 6.6
baseurl=file:///var/ISO/OEL6.6
gpgkey=file:///etc/pki/rpmgpg/
RPMGPGKEY
gpgcheck=1
enabled=1
yum clean all
yum respolist
The output should be like the below :-
repo id repo name status
OL66 Oracle Linux 6.6 25,459
Thank you
Osama Mustafa
Is your database healthy ?
ORAchk can be used with any database depend on your Platform Solaris Intel, Solaris SPARC, ,HP , Linux , you can check the Oracle Support Document :-
ORAchk – Health Checks for the Oracle Stack (Doc ID 1268927.2)
That include the userGuide and how to Use ORAchk with any platforms,
New Features :-
Database performance, install, scalability & ASM
Cross stack checks for Oracle Applications running on Solaris & Oracle Hardware
Enterprise Manager Agents performance and failure to run
Oracle EBS Accounts Payables
Usually the usage like the below :-
./orachk —> regular healtcheck + HA best practices
./orachk-c hacheck —> HA best practices Only
Cheers
Osama Mustafa
Oracle Home : /u01/app/oracle/product/11.2.0/db_home1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/11.2.0/db_home1/oraInst.loc
OPatch version : 11.2.0.3.6
OUI version : 11.2.0.3.0
Log file location : /u01/app/oracle/product/11.2.0/db_home1/cfgtoollogs/opatch/opatch2015-03-09_16-45-09PM_1.log
Verifying environment and performing prerequisite checks…
Prerequisite check “CheckActiveFilesAndExecutables” failed.
The details are:Following executables are active :
/u01/app/oracle/product/11.2.0/db_home1/lib/libclntsh.so.11.1
UtilSession failed: Prerequisite check “CheckActiveFilesAndExecutables” failed.
Log file location: /u01/app/oracle/product/11.2.0/db_home1/cfgtoollogs/opatch/opatch2015-03-09_16-45-09PM_1.log
oracle@–:~/database_patches/19769496$ fuser /u01/app/oracle/product/11.2.0/db_home1/lib/libclntsh.so.11.1
/u01/app/oracle/product/11.2.0/db_home1/lib/libclntsh.so.11.1: 58536m
Kill -9 58536
To do this follow the below steps :-
LISTENER =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = VIP-HOST )(PORT = 1521))
)
Don’t forget to set the LOCAL_LISTENER Parameter :-
SQL> alter system set local_listener=’LISTENER’;
Or
SQL> alter system set local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = VIP-HOST )(PORT = 1521)) ‘;
Now
export ORACLE_HOSTNAME=VIP-HOSTNAME
emca -config dbcontrol db -repos create
Test the failover on node #2
if for some reason when you try to start emctl and the error still asking for oc4j then export ORACLE_HOSTNAME is bash_profile.
It should work
Cheers
Osama
the below command was working without any problem :-
SQL > shutdown abort
to solve this issue & trace the error since the alertlog not indicating to anything interesting i have to dump systemstate every 5 minutes to know what going on :-
connect / as sysdba
alter session set events ‘10400 trace name context forever, level 1’;
After this you can kill the session that preventing shutdown.
The hangs usually happened for two reasons :-
use v$session_longops Read more here.
Run the below query to check the query.
select count(*) from v$session_longops where time_remaining>0;
Second reason you can use
v$transaction Read from here.
Useful Document :-
Alert Log: Shutdown Waiting for Active Calls to Complete (Doc ID 1039389.6)
Thank you
Osama Mustafa
in the all way you should have valid account for http://support.oracle.com.
I see it’s worth it to post and share the information how to find the desire patch number and how to know next patch release, i will only share MOS document number that will help you understand what i mean.
How to Find Patch ?
Procedure :
make a new text file, and enter this line in that text file like the below :-
crontab myfirstjob
Formatting crontab file :-
what this file contains
|
Number
|
Meaning
|
Allowed range
|
|
1
|
Minutes
|
0-59
|
|
2
|
Hours
|
0-23
|
|
3
|
Days
|
1-31
|
|
4
|
Months
|
1-12 OR First 3 letters of the Month name
|
|
5
|
Days of the week
|
0-7 OR First 3 letters of the Day name
|
|
6
|
Name of the program
|
Any program
|
Some useful command can be used with cron :-
Show all the task running under cron.
crontab -l
crontab -e
Some example from crontab file :-
# Minute Hour Day of Month Month Day of Week Command
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat)
0 12 * * * /u01/backup.sh
For more example about crontab press here
Cheers
Osama Mustafa