RPM packages elfutils-libelf-devel-0.125 and elfutils-libelf-devel-static-0.125 are pre-req for installing Oracle EBS R12.
When you first try to install it separately, it shows failed dependencies error.
To fix it you must install both packages together as follows:
##############################
rpm -Uvh elfutils-libelf-devel-0.137-3.el5.i386.rpm elfutils-libelf-devel-static-0.137-3.el5.i386.rpm
warning: elfutils-libelf-devel-0.137-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:elfutils-libelf-devel-s########################################### [ 50%]
2:elfutils-libelf-devel ########################################### [100%]
##############################
Best Regards,
Paulo Portugal
Oracle, RAC,Exadata, SRVCTL, Cluster, Streams, XStream, TimesTen, Data Guard, Replication , Security, Database Vault, FGA, RLS, Backup and Recovery, RMAN, Performance and Tuning, Flashback, OID, BPEL, OTM, EBS, E-Business, Certification, OCP, OCM, Opatch, SRVCTL, Oracle Golden Gate
Amazon books
Thursday, August 25, 2011
Thursday, June 2, 2011
How to change WEBLOGIC Console admin password for 11g (10.3)
1-First set environment variables
export BEAHOME=/u01/app/oracle/product/middleware
export DOMAIN_HOME=$BEAHOME/user_projects/domains/base_domain
export CLASSPATH=$CLASSPATH:$BEAHOME/wlserver_10.3/server/lib/weblogic.jar
cd $DOMAIN_HOME/bin
. ./setDomainEnv.sh
2- Now execute the command below to create the new password
cd ../security
mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
java weblogic.security.utils.AdminAccount weblogic new_password . --DON'T FORGET THE "."
3- If it exists remove boot.properties file
cd ../servers/AdminServer
mv data data_old
cd security/
mv boot.properties oldboot.properties
4- Restart Weblogic server
cd $DOMAIN_HOME./startWebLogic.sh
Best Regards,
Paulo Portugal
export BEAHOME=/u01/app/oracle/product/middleware
export DOMAIN_HOME=$BEAHOME/user_projects/domains/base_domain
export CLASSPATH=$CLASSPATH:$BEAHOME/wlserver_10.3/server/lib/weblogic.jar
cd $DOMAIN_HOME/bin
. ./setDomainEnv.sh
2- Now execute the command below to create the new password
cd ../security
mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator
java weblogic.security.utils.AdminAccount weblogic new_password . --DON'T FORGET THE "."
3- If it exists remove boot.properties file
cd ../servers/AdminServer
mv data data_old
cd security/
mv boot.properties oldboot.properties
4- Restart Weblogic server
cd $DOMAIN_HOME./startWebLogic.sh
Best Regards,
Paulo Portugal
Friday, May 6, 2011
Display number values in words
--Create emp table
create table emp
(emp_name varchar2(30),
sal number);
--Insert some data
insert into emp values ('Nome1',1300);
insert into emp values ('Nome2',1400);
insert into emp values ('Nome3',2300);
insert into emp values ('Nome4',5300);
insert into emp values ('Nome5',11300);
commit;
--Query and get number into words
col sal for 99999
col "Extenso" for a70
select sal, (to_char(to_date(sal,'j'), 'jsp')) "Extenso" from emp;
set linesize 140
col parameter for a30
select * from v$nls_valid_values where value like '%BRA%';
alter session set NLS_LANGUAGE='BRAZILIAN PORTUGUESE';
alter session set NLS_TERRITORY='BRAZIL';
export LANG=pt_BR
Regards,
Paulo Portugal
create table emp
(emp_name varchar2(30),
sal number);
--Insert some data
insert into emp values ('Nome1',1300);
insert into emp values ('Nome2',1400);
insert into emp values ('Nome3',2300);
insert into emp values ('Nome4',5300);
insert into emp values ('Nome5',11300);
commit;
--Query and get number into words
col sal for 99999
col "Extenso" for a70
select sal, (to_char(to_date(sal,'j'), 'jsp')) "Extenso" from emp;
set linesize 140
col parameter for a30
select * from v$nls_valid_values where value like '%BRA%';
alter session set NLS_LANGUAGE='BRAZILIAN PORTUGUESE';
alter session set NLS_TERRITORY='BRAZIL';
export LANG=pt_BR
Regards,
Paulo Portugal
Exadata CellCLI command sintaxe:
--Create command:
–CREATE CELLDISK ALL
–CREATE GRIDDISK ALL PREFIX=‘’, SIZE=
--Drop command:
-DROP [CELLDISK | GRIDDISK] ALL
--Alter command:
-ALTER CELL [STARTUP | SHUTDOWN | RESTART ] SERVICES [ALL | MS | RS | CELLSRV]
--List command:
–LIST [ LUN | CELLDISK | GRIDDISK ] [] [DETAIL]
Regards,
Paulo Portugal
–CREATE CELLDISK ALL
–CREATE GRIDDISK ALL PREFIX=‘
--Drop command:
-DROP [CELLDISK | GRIDDISK] ALL
--Alter command:
-ALTER CELL [STARTUP | SHUTDOWN | RESTART ] SERVICES [ALL | MS | RS | CELLSRV]
--List command:
–LIST [ LUN | CELLDISK | GRIDDISK ] [
Regards,
Paulo Portugal
Tuesday, May 3, 2011
Exadata DCLI utility Examples
Below some dcli command examples:
--Check date of all your cells
$dcli -g mycells date
--List cell status
$dcli -c xxxxcell01,xxxxcell02,xxxxcell03,xxxxcell04 cellcli -e list cell
--Running a CellCLI script on many cells
$dcli -g mycells -x listphisicaldiskcommand.scl
--Running a script on all db servers logged in as oracle
$dcli -g mydbservers -l oracle -x dbwork.sh
Best Regards,
Paulo Portugal
--Check date of all your cells
$dcli -g mycells date
--List cell status
$dcli -c xxxxcell01,xxxxcell02,xxxxcell03,xxxxcell04 cellcli -e list cell
--Running a CellCLI script on many cells
$dcli -g mycells -x listphisicaldiskcommand.scl
--Running a script on all db servers logged in as oracle
$dcli -g mydbservers -l oracle -x dbwork.sh
Best Regards,
Paulo Portugal
Thursday, April 14, 2011
Creating IORM Plans on Oracle Exadata:
Create a simple plan:
CellCLI> alter iormplan
dbplan=((name=db1_prod, level=1, allocation=70),
(name=db2_prod, level=1, allocation=30),
(name=db1_dev, level=2, allocation=100),
(name=db1_test, level=3, allocation=70),
(name=other, level=3, allocation=40)),
catplan=''
CellCLI> alter iormplan active
Create a plan based on a Data Guard environment:
CellCLI> alter iormplan dbplan=( -
(name=mydbprod1, level=1, allocation=40, role=primary), -
(name=mydbprod2, level=1, allocation=30, role=primary), -
(name=mydbprod, level=2, allocation=20, role=standby), -
(name=mydbprod2, level=2, allocation=25, role=standby), -
(name=other, level=3, allocation = 50))
Best Regards,
Paulo Portugal
CellCLI> alter iormplan
dbplan=((name=db1_prod, level=1, allocation=70),
(name=db2_prod, level=1, allocation=30),
(name=db1_dev, level=2, allocation=100),
(name=db1_test, level=3, allocation=70),
(name=other, level=3, allocation=40)),
catplan=''
CellCLI> alter iormplan active
Create a plan based on a Data Guard environment:
CellCLI> alter iormplan dbplan=( -
(name=mydbprod1, level=1, allocation=40, role=primary), -
(name=mydbprod2, level=1, allocation=30, role=primary), -
(name=mydbprod, level=2, allocation=20, role=standby), -
(name=mydbprod2, level=2, allocation=25, role=standby), -
(name=other, level=3, allocation = 50))
Best Regards,
Paulo Portugal
Wednesday, April 6, 2011
RMAN Delete archivelog backups
If you want to delete archivelog backups made before sysdate-2 execute the command below:
delete noprompt backup of archivelog all completed before 'sysdate-2';
Your archive backup script would be like that:
########################
run{
allocate channel t1 device type disk;
backup
format '/u01/backup/YOUR_DB_%t_%s_%U'
archivelog all
tag 'BKP_ARCH_YOURDB_2hs_2hs';
delete noprompt backup of archivelog all completed before 'sysdate-2';
}
########################
Best Regards,
Paulo Portugal
delete noprompt backup of archivelog all completed before 'sysdate-2';
Your archive backup script would be like that:
########################
run{
allocate channel t1 device type disk;
backup
format '/u01/backup/YOUR_DB_%t_%s_%U'
archivelog all
tag 'BKP_ARCH_YOURDB_2hs_2hs';
delete noprompt backup of archivelog all completed before 'sysdate-2';
}
########################
Best Regards,
Paulo Portugal
Subscribe to:
Posts (Atom)