<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3444161262512195873</id><updated>2012-02-08T08:05:36.302-02:00</updated><category term='ORA-38029'/><category term='PENDING TRANSACTIONS'/><category term='clone.pl; runInstaller; clone'/><title type='text'>Paulo Portugal</title><subtitle type='html'>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</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>81</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5658951107792597318</id><published>2012-01-07T10:57:00.000-02:00</published><updated>2012-01-07T10:57:49.664-02:00</updated><title type='text'>Undo segments status is PARTLY AVAILABLE</title><content type='html'>Alert log shows:&lt;br /&gt;&lt;br /&gt;SMON: about to recover undo segment 309&lt;br /&gt;SMON: mark undo segment 309 as available&lt;br /&gt;SMON: about to recover undo segment 312&lt;br /&gt;SMON: mark undo segment 312 as available&lt;br /&gt;SMON: about to recover undo segment 40&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To fix:&lt;br /&gt;&lt;br /&gt; Check which segments have status PARTLY AVAIABLE and if you do not have any in-doubt transaction (dba_2pc_pending , v$transaction, etc) them:&lt;br /&gt; &lt;br /&gt; alter rollback segment XXXXX online;&lt;br /&gt; &lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5658951107792597318?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5658951107792597318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2012/01/undo-segments-status-is-partly.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5658951107792597318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5658951107792597318'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2012/01/undo-segments-status-is-partly.html' title='Undo segments status is PARTLY AVAILABLE'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-167770705716141339</id><published>2011-09-23T11:14:00.001-03:00</published><updated>2011-09-23T11:14:26.282-03:00</updated><title type='text'>Resseting Oracle VM Manager Password for ADMIN or Any other user</title><content type='html'>1-Login to database as SYS user or OVS user&lt;br /&gt;&lt;br /&gt;2-Take a backup from OVS_USER table&lt;br /&gt;create table OVS_USER_BKP as select * from OVS_USER;&lt;br /&gt;&lt;br /&gt;3-Run the command below:&lt;br /&gt;UPDATE OVS_USER set password='testepasswd' where account_name='ADMIN';&lt;br /&gt;commit;&lt;br /&gt;&lt;br /&gt;4-Encrypt the password with this command below:&lt;br /&gt;UPDATE OVS_USER set password=create_encrypt_passwd('testepasswd') where account_name='$USER';&lt;br /&gt;commit;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-167770705716141339?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/167770705716141339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/resseting-oracle-vm-manager-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/167770705716141339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/167770705716141339'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/resseting-oracle-vm-manager-password.html' title='Resseting Oracle VM Manager Password for ADMIN or Any other user'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8221020428076795065</id><published>2011-09-21T14:35:00.000-03:00</published><updated>2011-09-21T14:35:09.020-03:00</updated><title type='text'>Mount ISO on Linux</title><content type='html'>1-Create directory to be used &lt;br /&gt;mkdir -p /mnt/disk&lt;br /&gt;&lt;br /&gt;2-Mount using command below:&lt;br /&gt;mount -o loop OracleVM-Manager-2.2.0.iso /mnt/disk&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8221020428076795065?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8221020428076795065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/mount-iso-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8221020428076795065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8221020428076795065'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/mount-iso-on-linux.html' title='Mount ISO on Linux'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8409211965491037342</id><published>2011-09-21T14:33:00.002-03:00</published><updated>2011-09-21T14:33:52.596-03:00</updated><title type='text'>Creating OVS repository - Oracle VM</title><content type='html'>1-Create partition using fdisk&lt;br /&gt;&lt;br /&gt;2-Make ocfs2&lt;br /&gt;mkfs.ocfs2 /dev/sda4&lt;br /&gt;&lt;br /&gt;3-Create repository&lt;br /&gt;./opt/ovs-agent-2.3/utils/repos.py -n /dev/sda4 --options rw,sync&lt;br /&gt;&lt;br /&gt;4-List ID for repository&lt;br /&gt;./opt/ovs-agent-2.3/utils/repos.py -l&lt;br /&gt;&lt;br /&gt;5-Mark it  as a ROOT repos&lt;br /&gt;./opt/ovs-agent-2.3/utils/repos.py -r 12d25384-1eda-4e95-9f91-1b6f304a5587&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8409211965491037342?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8409211965491037342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/creating-ovs-repository-oracle-vm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8409211965491037342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8409211965491037342'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/09/creating-ovs-repository-oracle-vm.html' title='Creating OVS repository - Oracle VM'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-101430712305478008</id><published>2011-08-25T14:26:00.000-03:00</published><updated>2011-08-25T14:26:39.160-03:00</updated><title type='text'>adopmnctl.sh httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory</title><content type='html'>If you got message below:&lt;br /&gt;&lt;br /&gt;"adopmnctl.sh httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory" &lt;br /&gt;&lt;br /&gt;Apply patch 6078836 (that can be downloaded from Metalink).&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-101430712305478008?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/101430712305478008/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/08/adopmnctlsh-httpd-error-while-loading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/101430712305478008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/101430712305478008'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/08/adopmnctlsh-httpd-error-while-loading.html' title='adopmnctl.sh httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2169246446814038868</id><published>2011-08-25T14:22:00.000-03:00</published><updated>2011-08-25T14:22:57.647-03:00</updated><title type='text'>Installing RPM packages for EBS R12</title><content type='html'>RPM packages elfutils-libelf-devel-0.125 and elfutils-libelf-devel-static-0.125 are pre-req for installing Oracle EBS R12.&lt;br /&gt;&lt;br /&gt;When you first try to install it separately, it shows failed dependencies error.&lt;br /&gt;&lt;br /&gt;To fix it you must install both packages together as follows:&lt;br /&gt;&lt;br /&gt;##############################&lt;br /&gt;rpm -Uvh elfutils-libelf-devel-0.137-3.el5.i386.rpm elfutils-libelf-devel-static-0.137-3.el5.i386.rpm&lt;br /&gt;warning: elfutils-libelf-devel-0.137-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159&lt;br /&gt;Preparing...                ########################################### [100%]&lt;br /&gt;   1:elfutils-libelf-devel-s########################################### [ 50%]&lt;br /&gt;   2:elfutils-libelf-devel  ########################################### [100%]&lt;br /&gt;##############################&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2169246446814038868?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2169246446814038868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/08/installing-rpm-packages-for-ebs-r12.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2169246446814038868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2169246446814038868'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/08/installing-rpm-packages-for-ebs-r12.html' title='Installing RPM packages for EBS R12'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7973247127316656405</id><published>2011-06-02T11:59:00.001-03:00</published><updated>2011-06-02T11:59:38.598-03:00</updated><title type='text'>How to change WEBLOGIC Console admin password for 11g (10.3)</title><content type='html'>1-First set environment variables&lt;br /&gt; export BEAHOME=/u01/app/oracle/product/middleware&lt;br /&gt; export DOMAIN_HOME=$BEAHOME/user_projects/domains/base_domain&lt;br /&gt; export CLASSPATH=$CLASSPATH:$BEAHOME/wlserver_10.3/server/lib/weblogic.jar&lt;br /&gt; cd $DOMAIN_HOME/bin&lt;br /&gt; . ./setDomainEnv.sh &lt;br /&gt;&lt;br /&gt;2- Now execute the command below to create the new password&lt;br /&gt; cd ../security&lt;br /&gt; mv DefaultAuthenticatorInit.ldift oldDefaultAuthenticator&lt;br /&gt; java weblogic.security.utils.AdminAccount weblogic new_password .    --DON'T FORGET THE "."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3- If it exists remove boot.properties file &lt;br /&gt;&lt;br /&gt; cd ../servers/AdminServer&lt;br /&gt; mv data data_old&lt;br /&gt; cd security/&lt;br /&gt; mv boot.properties oldboot.properties &lt;br /&gt;&lt;br /&gt;4- Restart Weblogic server&lt;br /&gt;&lt;br /&gt;cd $DOMAIN_HOME./startWebLogic.sh&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7973247127316656405?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7973247127316656405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/06/how-to-change-weblogic-console-admin.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7973247127316656405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7973247127316656405'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/06/how-to-change-weblogic-console-admin.html' title='How to change WEBLOGIC Console admin password for 11g (10.3)'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7572326129573501058</id><published>2011-05-06T16:53:00.001-03:00</published><updated>2011-05-06T16:53:42.664-03:00</updated><title type='text'>Display number values in words</title><content type='html'>--Create emp table&lt;br /&gt;create table emp&lt;br /&gt;(emp_name varchar2(30),&lt;br /&gt;sal number);&lt;br /&gt;&lt;br /&gt;--Insert some data&lt;br /&gt;insert into emp values ('Nome1',1300);&lt;br /&gt;insert into emp values ('Nome2',1400);&lt;br /&gt;insert into emp values ('Nome3',2300);&lt;br /&gt;insert into emp values ('Nome4',5300);&lt;br /&gt;insert into emp values ('Nome5',11300);&lt;br /&gt;commit;&lt;br /&gt;&lt;br /&gt;--Query and get number into words&lt;br /&gt;col sal for 99999&lt;br /&gt;col "Extenso" for a70&lt;br /&gt;select sal, (to_char(to_date(sal,'j'), 'jsp')) "Extenso" from emp;&lt;br /&gt;&lt;br /&gt;set linesize 140&lt;br /&gt;col parameter for a30&lt;br /&gt;select * from v$nls_valid_values where value like '%BRA%';&lt;br /&gt;alter session set NLS_LANGUAGE='BRAZILIAN PORTUGUESE';&lt;br /&gt;alter session set NLS_TERRITORY='BRAZIL';&lt;br /&gt;export LANG=pt_BR&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7572326129573501058?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7572326129573501058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/display-number-values-in-words.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7572326129573501058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7572326129573501058'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/display-number-values-in-words.html' title='Display number values in words'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-9060872422280683104</id><published>2011-05-06T16:18:00.000-03:00</published><updated>2011-05-06T16:18:37.304-03:00</updated><title type='text'>Exadata CellCLI command sintaxe:</title><content type='html'>--Create command:&lt;br /&gt; –CREATE CELLDISK ALL&lt;br /&gt; –CREATE GRIDDISK ALL PREFIX=‘&lt;prefix&gt;’, SIZE=&lt;size&gt;&lt;br /&gt;--Drop command:&lt;br /&gt; -DROP [CELLDISK | GRIDDISK] ALL&lt;br /&gt;&lt;br /&gt;--Alter command:&lt;br /&gt; -ALTER CELL [STARTUP | SHUTDOWN | RESTART ] SERVICES [ALL | MS | RS | CELLSRV]&lt;br /&gt;&lt;br /&gt;--List command: &lt;br /&gt; –LIST [ LUN | CELLDISK | GRIDDISK ] [&lt;name&gt;] [DETAIL]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-9060872422280683104?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/9060872422280683104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/exadata-cellcli-command-sintaxe.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9060872422280683104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9060872422280683104'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/exadata-cellcli-command-sintaxe.html' title='Exadata CellCLI command sintaxe:'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-837053996018299284</id><published>2011-05-03T15:14:00.001-03:00</published><updated>2011-05-03T15:14:45.343-03:00</updated><title type='text'>Exadata DCLI utility Examples</title><content type='html'>Below some dcli command examples:&lt;br /&gt;&lt;br /&gt;--Check date of all your cells&lt;br /&gt;$dcli -g mycells date&lt;br /&gt;&lt;br /&gt;--List cell status&lt;br /&gt;$dcli -c xxxxcell01,xxxxcell02,xxxxcell03,xxxxcell04 cellcli -e list cell&lt;br /&gt;&lt;br /&gt;--Running a CellCLI script on many cells &lt;br /&gt;$dcli -g mycells -x listphisicaldiskcommand.scl&lt;br /&gt;&lt;br /&gt;--Running a script on all db servers logged in as oracle&lt;br /&gt;&lt;br /&gt;$dcli -g mydbservers -l oracle -x dbwork.sh&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-837053996018299284?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/837053996018299284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/exadata-dcli-utility-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/837053996018299284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/837053996018299284'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/05/exadata-dcli-utility-examples.html' title='Exadata DCLI utility Examples'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2839466858042979633</id><published>2011-04-14T16:13:00.000-03:00</published><updated>2011-04-14T16:13:53.202-03:00</updated><title type='text'>Creating IORM Plans on Oracle Exadata:</title><content type='html'>Create a simple plan:&lt;br /&gt;&lt;br /&gt;CellCLI&gt; alter iormplan &lt;br /&gt;             dbplan=((name=db1_prod, level=1, allocation=70),&lt;br /&gt;                     (name=db2_prod, level=1, allocation=30),&lt;br /&gt;                     (name=db1_dev,  level=2, allocation=100),&lt;br /&gt;                     (name=db1_test, level=3, allocation=70),&lt;br /&gt;                     (name=other,    level=3, allocation=40)),&lt;br /&gt;catplan=''&lt;br /&gt;&lt;br /&gt;CellCLI&gt; alter iormplan active&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a plan based on a Data Guard environment:&lt;br /&gt;&lt;br /&gt;CellCLI&gt; alter iormplan dbplan=( -&lt;br /&gt; (name=mydbprod1, level=1, allocation=40, role=primary), -&lt;br /&gt; (name=mydbprod2, level=1, allocation=30, role=primary), -&lt;br /&gt; (name=mydbprod,  level=2, allocation=20, role=standby), -&lt;br /&gt; (name=mydbprod2, level=2, allocation=25, role=standby), -&lt;br /&gt; (name=other,     level=3, allocation = 50))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2839466858042979633?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2839466858042979633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/04/creating-iorm-plans-on-oracle-exadata.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2839466858042979633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2839466858042979633'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/04/creating-iorm-plans-on-oracle-exadata.html' title='Creating IORM Plans on Oracle Exadata:'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-388500924317644609</id><published>2011-04-06T10:44:00.001-03:00</published><updated>2011-04-06T10:44:19.447-03:00</updated><title type='text'>RMAN Delete archivelog backups</title><content type='html'>If you want to delete archivelog backups made before sysdate-2 execute the command below:&lt;br /&gt;&lt;br /&gt;delete noprompt backup of archivelog all completed before 'sysdate-2';&lt;br /&gt;&lt;br /&gt;Your archive backup script would be like that:&lt;br /&gt;&lt;br /&gt;########################&lt;br /&gt;run{&lt;br /&gt;allocate channel t1 device type disk;&lt;br /&gt;&lt;br /&gt;backup&lt;br /&gt;   format '/u01/backup/YOUR_DB_%t_%s_%U'&lt;br /&gt;   archivelog all&lt;br /&gt;   tag 'BKP_ARCH_YOURDB_2hs_2hs';&lt;br /&gt;&lt;br /&gt;delete noprompt backup of archivelog all completed before 'sysdate-2';&lt;br /&gt;}&lt;br /&gt;########################&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-388500924317644609?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/388500924317644609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/04/rman-delete-archivelog-backups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/388500924317644609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/388500924317644609'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/04/rman-delete-archivelog-backups.html' title='RMAN Delete archivelog backups'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3346813593040532528</id><published>2011-03-24T15:27:00.000-03:00</published><updated>2011-03-24T15:27:17.592-03:00</updated><title type='text'>How to change Java Heap Size - Weblogic</title><content type='html'>If you are trying to deploy and are facing timeout on Weblogic, try to increse Java Heap Size.&lt;br /&gt;&lt;br /&gt;Find and edit file setDomainEnv.sh (path example: /ora01/XXX/WEBLOGIC/BEA/user_projects/domains/xxx_domain/bin):&lt;br /&gt;&lt;br /&gt;Add lines below:&lt;br /&gt;&lt;br /&gt;USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m"&lt;br /&gt;export USER_MEM_ARGS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Restart Weblogic:&lt;br /&gt;  stopWebLogic.sh&lt;br /&gt;  startWebLogic.sh&lt;br /&gt;&lt;br /&gt;Test again!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3346813593040532528?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3346813593040532528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/how-to-change-java-heap-size-weblogic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3346813593040532528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3346813593040532528'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/how-to-change-java-heap-size-weblogic.html' title='How to change Java Heap Size - Weblogic'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2436526996756129615</id><published>2011-03-24T15:21:00.000-03:00</published><updated>2011-03-24T15:21:20.247-03:00</updated><title type='text'>Check whether Oracle Installation is 32bit or 64bit</title><content type='html'>Run the PL/SQL Block bellow to check which Oracle is installed:&lt;br /&gt;&lt;br /&gt;################################################&lt;br /&gt;set serveroutput on&lt;br /&gt;declare&lt;br /&gt;   v_metadata  varchar2(1000);&lt;br /&gt;   v_plataform varchar2(1000);&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;select metadata into v_metadata from sys.kopm$;&lt;br /&gt;&lt;br /&gt;select substr(lpad(v_metadata,112),109,4) into v_plataform from dual;&lt;br /&gt;&lt;br /&gt;if v_plataform = 'B023' then&lt;br /&gt;   dbms_output.put_line(a =&gt; 'My Oracle installation is ----32bit----!');&lt;br /&gt;else&lt;br /&gt;   dbms_output.put_line(a =&gt; 'My Oracle installation is ----64bit----!');&lt;br /&gt;end if;&lt;br /&gt;&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;################################################&lt;br /&gt;&lt;br /&gt;Or just check oracle file in $ORACLE_HOME/bin:&lt;br /&gt;--64 bit example&lt;br /&gt;$ file oracle&lt;br /&gt;oracle: setuid setgid ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped&lt;br /&gt;&lt;br /&gt;--32bit example:&lt;br /&gt;$ file oracle&lt;br /&gt;oracle: setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2436526996756129615?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2436526996756129615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/check-whether-oracle-installation-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2436526996756129615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2436526996756129615'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/check-whether-oracle-installation-is.html' title='Check whether Oracle Installation is 32bit or 64bit'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-6233317742867712873</id><published>2011-03-02T21:58:00.001-03:00</published><updated>2011-03-02T21:58:48.148-03:00</updated><title type='text'>Change hostname | IP address of an APEX Server</title><content type='html'>If you need to change IP address or | and hostname of server that hosts Oracle Application Express just run the command below after changing IP and hostname:&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;dbms_xdb.setlistenerendpoint(&lt;br /&gt;        endpoint =&gt; dbms_xdb.XDB_ENDPOINT_HTTP&lt;br /&gt;      , host =&gt; '10.10.10.18'&lt;br /&gt;      , port =&gt; 8080 &lt;br /&gt;      , protocol =&gt; dbms_xdb.XDB_PROTOCOL_TCP);&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After that, access your Apex site like http://10.10.10.18:8080/apex/apex_admin&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-6233317742867712873?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/6233317742867712873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/change-hostname-ip-address-of-apex.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6233317742867712873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6233317742867712873'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/03/change-hostname-ip-address-of-apex.html' title='Change hostname | IP address of an APEX Server'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8978134538260294420</id><published>2011-02-04T16:17:00.000-02:00</published><updated>2011-02-04T16:17:10.051-02:00</updated><title type='text'>ERROR: ccr.oracle.com installing Oracle Agent</title><content type='html'>If you are installing Oracle Grid Control agent in silent mode and got this error below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Checking Temp space: must be greater than 150 MB.   Actual 52640 MB    Passed&lt;br /&gt;Checking swap space: must be greater than 150 MB.   Actual 5686 MB    Passed&lt;br /&gt;Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-02-04_04-04-02PM. Please wait ...ERROR: ccr.oracle.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Run the installation again adding the "-y" parameter like this:&lt;br /&gt;&lt;br /&gt;./agentDownload.linux -b /u01/agent11g -y&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8978134538260294420?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8978134538260294420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/error-ccroraclecom-installing-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8978134538260294420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8978134538260294420'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/error-ccroraclecom-installing-oracle.html' title='ERROR: ccr.oracle.com installing Oracle Agent'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4854355739225465861</id><published>2011-02-01T21:47:00.001-02:00</published><updated>2011-02-01T21:47:58.733-02:00</updated><title type='text'>Using Flash Cash on Tables with Exadata</title><content type='html'>When creating tables to use Exadata Flash Cash use the sintaxe below:&lt;br /&gt;&lt;br /&gt;CREATE TABLE tab1 (col1 number)&lt;br /&gt;PARTITION BY RANGE (col1)&lt;br /&gt; (PARTITION p1 VALUES LESS THAN (1000)&lt;br /&gt;   STORAGE (CELL_FLASH_CACHE KEEP),&lt;br /&gt;  PARTITION p2 VALUES LESS THAN (2000)&lt;br /&gt;   STORAGE (CELL_FLASH_CACHE NONE),&lt;br /&gt;  PARTITION p3 VALUES LESS THAN (3000)&lt;br /&gt;   STORAGE (CELL_FLASH_CACHE DEFAULT));&lt;br /&gt;   &lt;br /&gt;&lt;br /&gt;You can also use ALTER TABLE or ALTER INDEX as follows:&lt;br /&gt;&lt;br /&gt;ALTER INDEX idx1 STORAGE (CELL_FLASH_CACHE KEEP);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4854355739225465861?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4854355739225465861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/using-flash-cash-on-tables-with-exadata.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4854355739225465861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4854355739225465861'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/using-flash-cash-on-tables-with-exadata.html' title='Using Flash Cash on Tables with Exadata'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5930809852988427556</id><published>2011-02-01T19:22:00.001-02:00</published><updated>2011-02-01T19:22:10.756-02:00</updated><title type='text'>Table compression in 11gR2 Databases and Exadata</title><content type='html'>If you need to create a compress table for an OLTP system use the syntax below:&lt;br /&gt;&lt;br /&gt;create table TAB_1(&lt;br /&gt;col1 number,&lt;br /&gt;col2 varchar2(30)) &lt;br /&gt;COMPRESS FOR OLTP;&lt;br /&gt;&lt;br /&gt;If you need to create a compress table for Direct Load use the command below:&lt;br /&gt;&lt;br /&gt;create table TAB_2 (&lt;br /&gt;col1 number,&lt;br /&gt;col2 varchar2(30))&lt;br /&gt;COMPRESS BASIC;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now you want to compress for Exadata Machine. For warehouse compression use:&lt;br /&gt;&lt;br /&gt;CREATE TABLE tab_1 (&lt;br /&gt;col1 number,&lt;br /&gt;col2 varchar2(30))&lt;br /&gt;COMPRESS FOR QUERY [ LOW | HIGH ] ;&lt;br /&gt;&lt;br /&gt;For Online Archival Compression use:&lt;br /&gt;&lt;br /&gt;CREATE TABLE tab_1 (&lt;br /&gt;col1 number,&lt;br /&gt;col2 varchar2(30))&lt;br /&gt;COMPRESS FOR ARCHIVE [ LOW | HIGH ] ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5930809852988427556?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5930809852988427556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/table-compression-in-11gr2-databases.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5930809852988427556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5930809852988427556'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/table-compression-in-11gr2-databases.html' title='Table compression in 11gR2 Databases and Exadata'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7692094110864836866</id><published>2011-02-01T18:45:00.001-02:00</published><updated>2011-02-01T18:50:57.395-02:00</updated><title type='text'>Exadata Smart Scan - CELL_OFFLOAD_PLAN_DISPLAY parameter</title><content type='html'>If you want to control whether the offload status is show in execution plan set the parameter as below:&lt;br /&gt;&lt;br /&gt;ALTER SYSTEM OR SESSION SET CELL_OFFLOAD_PLAN_DISPLAY=ALWAYS;&lt;br /&gt;&lt;br /&gt;The value options for this parameter are:&lt;br /&gt;AUTO -&gt; display the predicate if cell is present and table is on the cell&lt;br /&gt;ALWAYS -&gt; always show&lt;br /&gt;NEVER -&gt; never show offload status&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Some views that can be used to gather cell statistics information:&lt;br /&gt;&lt;br /&gt;V$SQLAREA&lt;br /&gt;V$SQLSTATS&lt;br /&gt;V$SQLAREA_PLAN_HASH&lt;br /&gt;V$SQLSTATS_PLAN_HASH&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;on columns like :&lt;br /&gt;&lt;br /&gt;IO_CELL_OFFLOAD_ELIGIBLE_BYTES&lt;br /&gt;IO_CELL_OFFLOAD_RETURNED_BYTES&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7692094110864836866?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7692094110864836866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/exadata-smart-scan-celloffloadplandispl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7692094110864836866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7692094110864836866'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/02/exadata-smart-scan-celloffloadplandispl.html' title='Exadata Smart Scan - CELL_OFFLOAD_PLAN_DISPLAY parameter'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3264231614205740859</id><published>2011-01-30T20:23:00.001-02:00</published><updated>2011-01-30T20:23:10.603-02:00</updated><title type='text'>Configuring a parallel backup in RMAN with RAC</title><content type='html'>In order to make the most use of your RAC environment you can parallel your backups simply by changing the following parameters:&lt;br /&gt;&lt;br /&gt;RMAN&gt; configure default device type to sbt;&lt;br /&gt;RMAN&gt; configure device type sbt parallelism 3;&lt;br /&gt;RMAN&gt; configure channel device type sbt connect='sys/passwd@MYDB';&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3264231614205740859?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3264231614205740859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/configuring-parallel-backup-in-rman.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3264231614205740859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3264231614205740859'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/configuring-parallel-backup-in-rman.html' title='Configuring a parallel backup in RMAN with RAC'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2126638596810653950</id><published>2011-01-30T20:06:00.001-02:00</published><updated>2011-01-30T20:06:41.237-02:00</updated><title type='text'>Create an ASM instance in Silent mode using DBCA</title><content type='html'>Use the command below to create an ASM instance using dbca in Silent mode.&lt;br /&gt;&lt;br /&gt;dbca -silent -nodelist node1,node2 -configureASM -asmSysPassword manager -diskString /dev/sd* -diskList /dev/sda2,/dev/sdb2 -diskGroupName DG_DATA -redundancy EXTERNAL&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2126638596810653950?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2126638596810653950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/create-asm-instance-in-silent-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2126638596810653950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2126638596810653950'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/create-asm-instance-in-silent-mode.html' title='Create an ASM instance in Silent mode using DBCA'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-957235958423795868</id><published>2011-01-27T14:27:00.001-02:00</published><updated>2011-01-27T14:55:34.639-02:00</updated><title type='text'>How to find where is my OCR and Voting Disk devices</title><content type='html'>--For OCR get the value in ocr.loc file&lt;br /&gt;[oracle@host1]/etc/oracle&gt; cat /etc/oracle/ocr.loc&lt;br /&gt;ocrconfig_loc=/dev/rlv_OCR1&lt;br /&gt;ocrmirrorconfig_loc=/dev/rlv_OCR2&lt;br /&gt;local_only=FALSE&lt;br /&gt; &lt;br /&gt;OR use ocrcheck:&lt;br /&gt;&lt;br /&gt;[oracle@host1]$ ocrcheck&lt;br /&gt;Status of Oracle Cluster Registry is as follows :&lt;br /&gt;         Version                  :          2&lt;br /&gt;         Total space (kbytes)     :    1048100&lt;br /&gt;         Used space (kbytes)      :       3848&lt;br /&gt;         Available space (kbytes) :    1044252&lt;br /&gt;         ID                       :  865433463&lt;br /&gt;         Device/File Name         : /dev/raw/raw4&lt;br /&gt;                                    Device/File integrity check succeeded&lt;br /&gt;&lt;br /&gt;                                    Device/File not configured&lt;br /&gt;&lt;br /&gt;         Cluster registry integrity check succeeded&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--For voting use the command below:&lt;br /&gt;&lt;br /&gt;[oracle@host1]/etc/oracle&gt; crsctl query css votedisk&lt;br /&gt;0.     0    /dev/rlv_VOTE1&lt;br /&gt;1.     0    /dev/rlv_VOTE2&lt;br /&gt;2.     0    /dev/rlv_VOTE3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-957235958423795868?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/957235958423795868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-find-where-is-my-ocr-and-voting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/957235958423795868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/957235958423795868'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-find-where-is-my-ocr-and-voting.html' title='How to find where is my OCR and Voting Disk devices'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2529925750037196906</id><published>2011-01-26T12:48:00.001-02:00</published><updated>2011-01-26T12:48:33.221-02:00</updated><title type='text'>How to Convert Single Instance to RAC Using rconfig - Summary</title><content type='html'>1-Edit ConvertToRAC.xml file that can be found at $ORACLE_HOME/assistants/rconfig/sampleXMLs directory.&lt;br /&gt;2-Run the command below:&lt;br /&gt;rconfig single_to_rac.xml&lt;br /&gt;&lt;br /&gt;3-We can chose to only verify if the convertion will be OK using the option: Convert verify="ONLY".&lt;br /&gt;&lt;br /&gt;4-To not check pre-req user Convert Verify="NO" otherwise use Convert verify="YES"&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2529925750037196906?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2529925750037196906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-convert-single-instance-to-rac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2529925750037196906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2529925750037196906'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-convert-single-instance-to-rac.html' title='How to Convert Single Instance to RAC Using rconfig - Summary'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8053461807118802419</id><published>2011-01-25T17:36:00.001-02:00</published><updated>2011-01-25T17:36:45.417-02:00</updated><title type='text'>How to change ADMIN Oracle Apex Password</title><content type='html'>In order to change ADMIN password for your APEX run the command below:&lt;br /&gt;&lt;br /&gt;SQL&gt; conn / as sysdba&lt;br /&gt;SQL&gt; @apxxepwd.sql&lt;br /&gt;Session altered.&lt;br /&gt;&lt;br /&gt;...changing password for ADMIN&lt;br /&gt;Enter value for 1: manager&lt;br /&gt;Enter value for 1: manager&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Commit complete.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8053461807118802419?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8053461807118802419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-change-admin-oracle-apex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8053461807118802419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8053461807118802419'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/how-to-change-admin-oracle-apex.html' title='How to change ADMIN Oracle Apex Password'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-555910033834826945</id><published>2011-01-16T21:42:00.000-02:00</published><updated>2011-01-16T21:42:40.401-02:00</updated><title type='text'>SSH with password in background NOHUP</title><content type='html'>Create a shell script to copy big files and run in background informing password inside scripts like that:&lt;br /&gt;&lt;br /&gt;[hostname]$ cat cp_datafiles.sh&lt;br /&gt;echo 'password_user_f2c' | scp f2c@10.1.0.7:/ocfs03/oradata/PEBS/data/* .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-555910033834826945?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/555910033834826945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/ssh-with-password-in-background-nohup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/555910033834826945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/555910033834826945'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/ssh-with-password-in-background-nohup.html' title='SSH with password in background NOHUP'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8645160443115551523</id><published>2011-01-07T22:18:00.001-02:00</published><updated>2011-01-07T22:18:07.880-02:00</updated><title type='text'>Reinstall SSH Linux - Error "Value too large for defined data type"</title><content type='html'>If getting error like below:&lt;br /&gt;&lt;br /&gt;[appprdts@f2c04 Stage]$ ls -la&lt;br /&gt;ls: bkp_appl_Prod110105_1909.cpio: Value too large for defined data type&lt;br /&gt;&lt;br /&gt;--Remove SSH&lt;br /&gt;yum remove openssh-server&lt;br /&gt;&lt;br /&gt;--Install&lt;br /&gt;yum install openssh-server&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Pauo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8645160443115551523?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8645160443115551523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/reinstall-ssh-linux-error-value-too.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8645160443115551523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8645160443115551523'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2011/01/reinstall-ssh-linux-error-value-too.html' title='Reinstall SSH Linux - Error &quot;Value too large for defined data type&quot;'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-9023882244842161667</id><published>2010-11-11T19:39:00.000-02:00</published><updated>2010-11-11T19:39:21.781-02:00</updated><title type='text'>ORA-23616: Failure in executing block 4 for script  dbms_streams_adm</title><content type='html'>Error:&lt;br /&gt;&lt;br /&gt;###########################################&lt;br /&gt;ORA-23616: Failure in executing block 4 for script 94CDB67BB22F03BFE0400A0A710A1FF7 with &lt;br /&gt;ORA-26723: user "DBMS_STR_USER" requires the role "DBA"&lt;br /&gt;ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 659&lt;br /&gt;ORA-06512: at "SYS.DBMS_RECOVERABLE_SCRIPT", line 682&lt;br /&gt;ORA-06512: at "SYS.DBMS_STREAMS_MT", line 2422&lt;br /&gt;ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 2975&lt;br /&gt;###########################################&lt;br /&gt;&lt;br /&gt;Find more info using view below:&lt;br /&gt;&lt;br /&gt;SQL&gt; select * from dba_recoverable_script_errors;&lt;br /&gt;&lt;br /&gt;SCRIPT_ID                         BLOCK_NUM ERROR_NUMBER ERROR_MESSAGE                                                                    ERROR_CREATION_TIME&lt;br /&gt;-------------------------------- ---------- ------------ -------------------------------------------------------------------------------- -------------------&lt;br /&gt;94CDA13FFD84CDE6E0400A0A710A1D8F          4       -26723 ORA-26723: user "DBMS_STR_USER" requires the role "DBA"                          11/11/2010 19:31:16&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;################&lt;br /&gt;&lt;br /&gt;Grant DBA to user.&lt;br /&gt;&lt;br /&gt;test again.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-9023882244842161667?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/9023882244842161667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/ora-23616-failure-in-executing-block-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9023882244842161667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9023882244842161667'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/ora-23616-failure-in-executing-block-4.html' title='ORA-23616: Failure in executing block 4 for script  dbms_streams_adm'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5692150466494058655</id><published>2010-11-06T16:42:00.000-02:00</published><updated>2010-11-06T16:42:16.340-02:00</updated><title type='text'>EXPDP ORA-39002 ORA-39070 ORA-29283 ORA-06512 ORA-29283 LOGFILE</title><content type='html'>If experiencing this error below when trying to export using EXPDP:&lt;br /&gt;&lt;br /&gt;############################################&lt;br /&gt;[oraebs@hom1 bkp_old_hml]$ expdp system/xxxxxxx dumpfile=expdir:exp_hml_%U.dmp filesize=3G logfile=log_exp_hml.log FULL=Y&lt;br /&gt;&lt;br /&gt;Export: Release 10.2.0.4.0 - 64bit Production on Saturday, 06 November, 2010 16:42:42&lt;br /&gt;&lt;br /&gt;Copyright (c) 2003, 2007, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production&lt;br /&gt;With the Partitioning, Real Application Clusters, OLAP, Data Mining&lt;br /&gt;and Real Application Testing options&lt;br /&gt;ORA-39002: invalid operation&lt;br /&gt;ORA-39070: Unable to open the log file.&lt;br /&gt;ORA-29283: invalid file operation&lt;br /&gt;ORA-06512: at "SYS.UTL_FILE", line 488&lt;br /&gt;ORA-29283: invalid file operation&lt;br /&gt;############################################&lt;br /&gt;&lt;br /&gt;Just change the sintaxe to use the directory name together in LOGFILE parameter as below:&lt;br /&gt;&lt;br /&gt;expdp system/xxxxxx directory=expdir dumpfile=expdir:exp_hml_%U.dmp filesize=3G logfile=&lt;b&gt;expdir:&lt;/b&gt;log_exp_hml.log FULL=Y&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5692150466494058655?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5692150466494058655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/expdp-ora-39002-ora-39070-ora-29283-ora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5692150466494058655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5692150466494058655'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/expdp-ora-39002-ora-39070-ora-29283-ora.html' title='EXPDP ORA-39002 ORA-39070 ORA-29283 ORA-06512 ORA-29283 LOGFILE'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3746431266041113773</id><published>2010-11-05T16:39:00.000-02:00</published><updated>2010-11-05T16:39:21.205-02:00</updated><title type='text'>Apache Web Server Listener is not running adstrtal.sh adapcctl.sh</title><content type='html'>While trying to start apache after a clone the error below appears:&lt;br /&gt;&lt;br /&gt;###############&lt;br /&gt;adapcctl status&lt;br /&gt;&lt;br /&gt;Apache Web Server Listener is not running&lt;br /&gt;Apache Web Server Listener (PLSQL) :httpd ( pid 2669 ) is running.&lt;br /&gt;&lt;br /&gt;###############&lt;br /&gt;Do this:&lt;br /&gt;&lt;br /&gt;cd $IAS_ORACLE_HOME/bin&lt;br /&gt;adlnkiAS.sh&lt;br /&gt;cd $COMMON_TOP/admin/scripts/SID_Hostname&lt;br /&gt;adapcctl.sh start&lt;br /&gt;&lt;br /&gt;-----------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3746431266041113773?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3746431266041113773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/apache-web-server-listener-is-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3746431266041113773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3746431266041113773'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/11/apache-web-server-listener-is-not.html' title='Apache Web Server Listener is not running adstrtal.sh adapcctl.sh'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1435875628187246852</id><published>2010-10-08T11:11:00.000-03:00</published><updated>2010-10-08T11:11:04.050-03:00</updated><title type='text'>ORA-29275: partial multibyte character when querying gv$session</title><content type='html'>If you face this error when querying v$session just create a a view like below:&lt;br /&gt;&lt;br /&gt;############################################################&lt;br /&gt;create view my_gv$session as &lt;br /&gt;select "INST_ID",&lt;br /&gt;       "SADDR",&lt;br /&gt;       "SID",&lt;br /&gt;       "SERIAL#",&lt;br /&gt;       "AUDSID",&lt;br /&gt;       "PADDR",&lt;br /&gt;       "USER#",&lt;br /&gt;       "USERNAME",&lt;br /&gt;       "COMMAND",&lt;br /&gt;       "OWNERID",&lt;br /&gt;       "TADDR",&lt;br /&gt;       "LOCKWAIT",&lt;br /&gt;       "STATUS",&lt;br /&gt;       "SERVER",&lt;br /&gt;       "SCHEMA#",&lt;br /&gt;       "SCHEMANAME",&lt;br /&gt;       "OSUSER",&lt;br /&gt;       "PROCESS",&lt;br /&gt;       "MACHINE",&lt;br /&gt;       "TERMINAL",&lt;br /&gt;       "PROGRAM",&lt;br /&gt;       "TYPE",&lt;br /&gt;       "SQL_ADDRESS",&lt;br /&gt;       "SQL_HASH_VALUE",&lt;br /&gt;       "SQL_ID",&lt;br /&gt;       "SQL_CHILD_NUMBER",&lt;br /&gt;       "PREV_SQL_ADDR",&lt;br /&gt;       "PREV_HASH_VALUE",&lt;br /&gt;       "PREV_SQL_ID",&lt;br /&gt;       "PREV_CHILD_NUMBER",&lt;br /&gt;       "PLSQL_ENTRY_OBJECT_ID",&lt;br /&gt;       "PLSQL_ENTRY_SUBPROGRAM_ID",&lt;br /&gt;       "PLSQL_OBJECT_ID",&lt;br /&gt;       "PLSQL_SUBPROGRAM_ID",&lt;br /&gt;       "MODULE",&lt;br /&gt;       "MODULE_HASH",&lt;br /&gt;    &lt;b&gt;   convert(action,'utf8','utf8') "ACTION",&lt;br /&gt;&lt;/b&gt;       "ACTION_HASH",&lt;br /&gt;       "CLIENT_INFO",&lt;br /&gt;       "FIXED_TABLE_SEQUENCE",&lt;br /&gt;       "ROW_WAIT_OBJ#",&lt;br /&gt;       "ROW_WAIT_FILE#",&lt;br /&gt;       "ROW_WAIT_BLOCK#",&lt;br /&gt;       "ROW_WAIT_ROW#",&lt;br /&gt;       "LOGON_TIME",&lt;br /&gt;       "LAST_CALL_ET",&lt;br /&gt;       "PDML_ENABLED",&lt;br /&gt;       "FAILOVER_TYPE",&lt;br /&gt;       "FAILOVER_METHOD",&lt;br /&gt;       "FAILED_OVER",&lt;br /&gt;       "RESOURCE_CONSUMER_GROUP",&lt;br /&gt;       "PDML_STATUS",&lt;br /&gt;       "PDDL_STATUS",&lt;br /&gt;       "PQ_STATUS",&lt;br /&gt;       "CURRENT_QUEUE_DURATION",&lt;br /&gt;       "CLIENT_IDENTIFIER",&lt;br /&gt;       "BLOCKING_SESSION_STATUS",&lt;br /&gt;       "BLOCKING_INSTANCE",&lt;br /&gt;       "BLOCKING_SESSION",&lt;br /&gt;       "SEQ#",&lt;br /&gt;       "EVENT#",&lt;br /&gt;       "EVENT",&lt;br /&gt;       "P1TEXT",&lt;br /&gt;       "P1",&lt;br /&gt;       "P1RAW",&lt;br /&gt;       "P2TEXT",&lt;br /&gt;       "P2",&lt;br /&gt;       "P2RAW",&lt;br /&gt;       "P3TEXT",&lt;br /&gt;       "P3",&lt;br /&gt;       "P3RAW",&lt;br /&gt;       "WAIT_CLASS_ID",&lt;br /&gt;       "WAIT_CLASS#",&lt;br /&gt;       "WAIT_CLASS",&lt;br /&gt;       "WAIT_TIME",&lt;br /&gt;       "SECONDS_IN_WAIT",&lt;br /&gt;       "STATE",&lt;br /&gt;       "SERVICE_NAME",&lt;br /&gt;       "SQL_TRACE",&lt;br /&gt;       "SQL_TRACE_WAITS",&lt;br /&gt;       "SQL_TRACE_BINDS"&lt;br /&gt;  from gv$session;&lt;br /&gt;  &lt;br /&gt;############################################################&lt;br /&gt;  &lt;br /&gt;  Note that the problem is when you are using UTF8 character set. You need to convert action column as below:&lt;br /&gt;  ---&lt;br /&gt;  convert(action,'utf8','utf8') "ACTION",&lt;br /&gt;  ---&lt;br /&gt;  &lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1435875628187246852?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1435875628187246852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/10/ora-29275-partial-multibyte-character.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1435875628187246852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1435875628187246852'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/10/ora-29275-partial-multibyte-character.html' title='ORA-29275: partial multibyte character when querying gv$session'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2705982466161630983</id><published>2010-09-28T13:11:00.001-03:00</published><updated>2010-09-28T13:11:21.080-03:00</updated><title type='text'>Using opatch brings error : OPatch detects your platform as 226 while this patch 8372118 supports platforms</title><content type='html'>I were trying to apply a patch and got the error show below:&lt;br /&gt;&lt;br /&gt;########################################################  &lt;br /&gt;[appsoa@hom3 8372118]$ /app01/SOA/iassoa/OPatch/opatch apply&lt;br /&gt;&lt;br /&gt;Oracle Interim Patch Installer version 1.0.0.0.56&lt;br /&gt;Copyright (c) 2006 Oracle Corporation. All Rights Reserved..&lt;br /&gt;&lt;br /&gt;We recommend you refer to the OPatch documentation under&lt;br /&gt;OPatch/docs for usage reference. We also recommend using&lt;br /&gt;the latest OPatch version. For the latest OPatch version&lt;br /&gt;and other support related issues, please refer to document&lt;br /&gt;293369.1 which is viewable from metalink.oracle.com&lt;br /&gt;&lt;br /&gt;Oracle Home           : /app01/SOA/iassoa&lt;br /&gt;Oracle Home Inventory : /app01/SOA/iassoa/inventory&lt;br /&gt;Central Inventory     : /app01/SOA/iassoa/oraInventory&lt;br /&gt;   from               : /etc/oraInst.loc&lt;br /&gt;OUI location          : /app01/SOA/iassoa/oui&lt;br /&gt;OUI shared library    : /app01/SOA/iassoa/oui/lib/linux/liboraInstaller.so&lt;br /&gt;Java location         : /app01/SOA/iassoa/jre/1.4.2/bin/java&lt;br /&gt;Log file location     : /app01/SOA/iassoa/.patch_storage/&lt;patch ID&gt;/*.log&lt;br /&gt;&lt;br /&gt;Creating log file "/app01/SOA/iassoa/.patch_storage/8372118/Apply_8372118_09-28-2010_12-55-17.log"&lt;br /&gt;&lt;br /&gt;Invoking fuser to check for active processes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OPatch detects your platform as 226 while this patch 8372118 supports platforms:&lt;br /&gt;   0 (Generic Platform 1)&lt;br /&gt;&lt;br /&gt;########################################################  &lt;br /&gt;&lt;br /&gt;The workaround is:&lt;br /&gt;&lt;br /&gt;export OPATCH_PLATFORM_ID=0&lt;br /&gt;&lt;br /&gt;And run the opatch again.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2705982466161630983?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2705982466161630983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/using-opatch-brings-error-opatch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2705982466161630983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2705982466161630983'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/using-opatch-brings-error-opatch.html' title='Using opatch brings error : OPatch detects your platform as 226 while this patch 8372118 supports platforms'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5911357136784996288</id><published>2010-09-28T12:10:00.001-03:00</published><updated>2010-09-28T12:10:57.718-03:00</updated><title type='text'>While trying to compile a form with frmcmp_batch.sh got ORA-12154</title><content type='html'>Example:&lt;br /&gt;&lt;br /&gt;[appebs@hom3 PTB]$ frmcmp_batch.sh module=TACCOPH.fmb Userid=apps/appdesenv123 module_type=FORM compile_all=SPECIAL&lt;br /&gt;Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)&lt;br /&gt;&lt;br /&gt;Forms 10.1 (Form Compiler): Release  - Production&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2005, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;PL/SQL Version 10.1.0.5.0 (Production)&lt;br /&gt;Oracle Procedure Builder V10.1.2.0.2 - Production&lt;br /&gt;Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)&lt;br /&gt;Oracle Multimedia Version 10.1.2.0.2 (Production)&lt;br /&gt;Oracle Tools Integration Version 10.1.2.0.2 (Production)&lt;br /&gt;Oracle Tools Common Area Version 10.1.2.0.2&lt;br /&gt;Oracle CORE     10.1.0.5.0      Production&lt;br /&gt;ORA-12154: TNS:could not resolve the connect identifier specified&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Workaround:&lt;br /&gt;Change TNS_ADMIN on frmcmp_batch.sh like bellow:&lt;br /&gt;&lt;br /&gt;--OLD VALUE&lt;br /&gt;TNS_ADMIN=$ORACLE_HOME/network/admin&lt;br /&gt;export TNS_ADMIN&lt;br /&gt;&lt;br /&gt;--NEW VALUE&lt;br /&gt;#  TNS_ADMIN=$ORACLE_HOME/network/admin&lt;br /&gt;#  export TNS_ADMIN&lt;br /&gt;&lt;br /&gt;TNS_ADMIN=${TNS_ADMIN:-$ORACLE_HOME/network/admin}&lt;br /&gt;export TNS_ADMIN&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OR Apply patch 5456500 as per NOTE 431324.1&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5911357136784996288?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5911357136784996288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/while-trying-to-compile-form-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5911357136784996288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5911357136784996288'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/while-trying-to-compile-form-with.html' title='While trying to compile a form with frmcmp_batch.sh got ORA-12154'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5906912316470654990</id><published>2010-09-17T11:38:00.000-03:00</published><updated>2010-09-17T11:38:35.156-03:00</updated><title type='text'>Running RDA Diagnostics on E-Business R12</title><content type='html'>Sometimes, when you have a Service Request open with Oracle Support, they can ask you to run Oracle Diagnostics Tool for some products on your R12 Application.&lt;br /&gt;&lt;br /&gt;Here is a simple example of running for AR and JL products:&lt;br /&gt;########################################&lt;br /&gt;cd cd $IZU_TOP/bin&lt;br /&gt;./rda.sh -vdCRP -e APPL_SHORT='JL' ACT&lt;br /&gt;&lt;br /&gt;./rda.sh -vdCRP -e APPL_SHORT='AR' ACT&lt;br /&gt;########################################&lt;br /&gt;&lt;br /&gt;Then just upload the zip file to Oracle Suppoort.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5906912316470654990?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5906912316470654990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/running-rda-diagnostics-on-e-business.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5906912316470654990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5906912316470654990'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/running-rda-diagnostics-on-e-business.html' title='Running RDA Diagnostics on E-Business R12'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1044293285747702255</id><published>2010-09-12T11:31:00.000-03:00</published><updated>2010-09-12T11:31:44.175-03:00</updated><title type='text'>Install iAS using non default ports - staticports.ini file</title><content type='html'>If you need to install iAS using non default ports.&lt;br /&gt;&lt;br /&gt;Create a file using the custom ports (you can find an example in Disk1/stage/Response/statisticports.ini file)&lt;br /&gt;&lt;br /&gt;Next step is to use the parameter on runInstaller as below:&lt;br /&gt;&lt;br /&gt;./runInstaller oracle.ocs.onebox:s_staticPorts=/app01/XXX/Stage/Disk1/stage/Response/staticports.ini&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1044293285747702255?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1044293285747702255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/install-ias-using-non-default-ports.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1044293285747702255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1044293285747702255'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/install-ias-using-non-default-ports.html' title='Install iAS using non default ports - staticports.ini file'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-634841175153929223</id><published>2010-09-07T15:21:00.000-03:00</published><updated>2010-09-07T15:34:35.025-03:00</updated><title type='text'>ORA-26723: user "STR_TARGET" requires the role "DV_STREAMS_ADMIN"</title><content type='html'>If you face the error message below while configuring Oracle Streams:&lt;br /&gt;&lt;br /&gt;ORA-26723: user "STR_TARGET" requires the role "DV_STREAMS_ADMIN"&lt;br /&gt;ORA-06512: at "SYS.DBMS_STREAMS_ADM_UTL_INVOK", line 349&lt;br /&gt;ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 439&lt;br /&gt;ORA-06512: at "SYS.DBMS_STREAMS_ADM", line 397&lt;br /&gt;ORA-06512: at line 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Just run the grant as follows and COMMIT after:&lt;br /&gt;SQL&gt; execute dbms_streams_auth.grant_admin_privilege('STR_SOURCE');&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed&lt;br /&gt;&lt;br /&gt;SQL&gt; commit;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don't forget to COMMIT!&lt;br /&gt;&lt;br /&gt;If it didn't work, then disable Database Vault before configuring Streams and enable it after. I use the following command to disable it in Oracle Binaries Files:&lt;br /&gt;&lt;br /&gt;cd $ORACLE_HOME/rdbms/lib&lt;br /&gt;make -f ins_rdbms.mk dv_off ioracle&lt;br /&gt;&lt;br /&gt;ATTENTION: This should not be done if you don't know who and why Database Vault is enabled in this database.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-634841175153929223?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/634841175153929223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/ora-26723-user-strtarget-requires-role.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/634841175153929223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/634841175153929223'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/ora-26723-user-strtarget-requires-role.html' title='ORA-26723: user &quot;STR_TARGET&quot; requires the role &quot;DV_STREAMS_ADMIN&quot;'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8665133172198110874</id><published>2010-09-04T13:04:00.000-03:00</published><updated>2010-09-04T13:12:38.772-03:00</updated><title type='text'>How to cleanup .patch_storage directory</title><content type='html'>If you are experiencing space problems and found that your ORACLE_HOME have a .patch_storage directory that is too big here is a solution.&lt;br /&gt;&lt;br /&gt;As you cannot delete this directory because it contains patches that maybe you need to rollback, Oracle provides a method to delete just unnecessary files by using Opatch utility (higher than 10.2.0.x).&lt;br /&gt;&lt;br /&gt;This is very simple:&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;Size before running Opatch command:&lt;br /&gt;[hostxxxx]/dbname/products/rdbms/.patch_storage&gt; du -sg&lt;br /&gt;2.45    .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Running Opatch command:&lt;br /&gt;[hostxxxx] opatch util cleanup &lt;br /&gt;Invoking OPatch 10.2.0.4.3&lt;br /&gt;&lt;br /&gt;Oracle Interim Patch Installer version 10.2.0.4.3&lt;br /&gt;Copyright (c) 2007, Oracle Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;UTIL session&lt;br /&gt;&lt;br /&gt;Oracle Home       : /dbxxx/products/rdbms&lt;br /&gt;Central Inventory : /opt/oracle/oraInventory&lt;br /&gt;from           : /etc/oraInst.loc&lt;br /&gt;OPatch version    : 10.2.0.4.3&lt;br /&gt;OUI version       : 10.2.0.4.0&lt;br /&gt;OUI location      : /dbxxx/products/rdbms/oui&lt;br /&gt;Log file location : /dbxxx/products/rdbms/cfgtoollogs/opatch/opatch2010-09-04_1                                                                             3-56-38PM.log&lt;br /&gt;&lt;br /&gt;Invoking utility "cleanup"&lt;br /&gt;OPatch will clean up 'restore.sh,make.txt' files and 'rac,scratch,backup' directories.&lt;br /&gt;You will be still able to rollback patches after this cleanup.&lt;br /&gt;Do you want to proceed? [y|n]&lt;br /&gt;Could not recognize input. Please re-enter.&lt;br /&gt;y&lt;br /&gt;User Responded with: Y&lt;br /&gt;Size of directory "/dbxxx/products/rdbms/.patch_storage" before cleanup is 2618766807 bytes.&lt;br /&gt;Size of directory "/dbxxx/products/rdbms/.patch_storage" after cleanup is 159049176 bytes.&lt;br /&gt;&lt;br /&gt;UtilSession: Backup area for restore has been cleaned up. For a complete list of files/directories&lt;br /&gt;deleted, Please refer log file.&lt;br /&gt;&lt;br /&gt;OPatch succeeded.&lt;br /&gt;&lt;br /&gt;--Size after clean up&lt;br /&gt;[hostxxxx]/dbxxx/products/rdbms/.patch_storage&gt; du -sg&lt;br /&gt;0.15    .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8665133172198110874?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8665133172198110874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/how-to-clean-up-patchstorage-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8665133172198110874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8665133172198110874'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/how-to-clean-up-patchstorage-directory.html' title='How to cleanup .patch_storage directory'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7957711978256296850</id><published>2010-09-04T12:30:00.000-03:00</published><updated>2010-09-04T12:32:36.400-03:00</updated><title type='text'>The new Oracle  XSTream</title><content type='html'>Oracle provides a new API called XSTream that is based on Oracle Streams and used to replicate data between Oracle Databases. It is also possible to replicate to other databases using Oracle Gateway, JMS, or directy with an third application consuming messages from a queue.&lt;br /&gt;&lt;br /&gt;XSTream makes use of OCI or Java interface to capture and propagate data. &lt;br /&gt;&lt;br /&gt;The configuration of XTream is done using DBMS_XSTREAM_ADM and it works with XSTream Outbound and XTream Inbound.&lt;br /&gt;&lt;br /&gt;One simple example of how to configue an XTream Outbound for table HR.EMPLOYEES and HR.JOBS and also&lt;br /&gt;&lt;br /&gt;DECLARE&lt;br /&gt;tables DBMS_UTILITY.UNCL_ARRAY;&lt;br /&gt;schemas DBMS_UTILITY.UNCL_ARRAY;&lt;br /&gt;BEGIN&lt;br /&gt;tabs(1) := 'HR.EMPLOYEES';&lt;br /&gt;tabs(2) := 'HR.JOBS';&lt;br /&gt;my_schemas(1) := 'HR';&lt;br /&gt;DBMS_XSTREAM_ADM.CREATE_OUTBOUND(&lt;br /&gt;server_name =&gt; 'MY_FIRST_OUT',&lt;br /&gt;table_names =&gt; tabs,&lt;br /&gt;schema_names =&gt; my_schemas);&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;I will post more examples soon....&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7957711978256296850?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7957711978256296850/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/neworacle-xstream.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7957711978256296850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7957711978256296850'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/09/neworacle-xstream.html' title='The new Oracle  XSTream'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1849509296313500627</id><published>2010-08-31T18:55:00.000-03:00</published><updated>2010-08-31T18:55:28.483-03:00</updated><title type='text'>RMAN catalog and uncatalog examples</title><content type='html'>--RMAN catalog and uncatalog examples&lt;br /&gt;--Catalog&lt;br /&gt;RMAN&gt;CATALOG ARCHIVELOG '/oracle/oradata/dbname/a_1_1883.arc', '/oracle/oradata/dbname/a_1_1885.arc';&lt;br /&gt;&lt;br /&gt;RMAN&gt;CATALOG DATAFILECOPY '/oradata/backup/data01.dbf' LEVEL 0;&lt;br /&gt;&lt;br /&gt;RMAN&gt;CATALOG CONTROLFILECOPY '/oradata/backup/ctl01.ctl';&lt;br /&gt;&lt;br /&gt;RMAN&gt;CATALOG START WITH '/backups/bkp_db' NOPROMPT;&lt;br /&gt;&lt;br /&gt;RMAN&gt;CATALOG RECOVERY AREA NOPROMPT;&lt;br /&gt;or &lt;br /&gt;RMAN&gt;CATALOG DB_RECOVERY_FILE_DEST;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;RMAN&gt;CATALOG BACKUPPIECE '/u02/oradata/dbname/bkp_piece_name'; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Uncatalog&lt;br /&gt;RMAN&gt;CHANGE ARCHIVELOG ALL UNCATALOG;&lt;br /&gt;&lt;br /&gt;RMAN&gt;CHANGE BACKUP OF TABLESPACE TBS_DATA01 UNCATALOG;&lt;br /&gt;&lt;br /&gt;RMAN&gt;CHANGE BACKUPPIECE '+DG_DATA/bakup/offr423' UNCATALOG;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1849509296313500627?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1849509296313500627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/rman-catalog-and-uncatalog-examples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1849509296313500627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1849509296313500627'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/rman-catalog-and-uncatalog-examples.html' title='RMAN catalog and uncatalog examples'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3219726299792294316</id><published>2010-08-25T18:27:00.000-03:00</published><updated>2010-08-25T18:27:16.058-03:00</updated><title type='text'>ORA-30006: resource busy; acquire with WAIT timeout expired XA Conecction Oracle Retail</title><content type='html'>If you are facing erros like ORA-30006: resource busy; acquire with WAIT timeout expired when trying to connect to a a XA service, Kill inactive sessions on your database , restart XA service using (srvctl or crs_stop/crs_start) and reload database listeners.&lt;br /&gt;&lt;br /&gt;It works for me!&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3219726299792294316?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3219726299792294316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/ora-30006-resource-busy-acquire-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3219726299792294316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3219726299792294316'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/ora-30006-resource-busy-acquire-with.html' title='ORA-30006: resource busy; acquire with WAIT timeout expired XA Conecction Oracle Retail'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1118923946496745094</id><published>2010-08-19T18:34:00.000-03:00</published><updated>2010-08-19T18:34:56.788-03:00</updated><title type='text'>Dropping Grid Control Repository</title><content type='html'>If you are reinstalling Grid Control you need to drop old repository using this command below:&lt;br /&gt;&lt;br /&gt;./RepManager hostname 1526 ORACLESID -action drop -sys_password sys_password&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1118923946496745094?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1118923946496745094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/dropping-grid-control-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1118923946496745094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1118923946496745094'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/08/dropping-grid-control-repository.html' title='Dropping Grid Control Repository'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5320588580035749462</id><published>2010-07-14T22:02:00.000-03:00</published><updated>2010-07-14T22:02:01.566-03:00</updated><title type='text'>Uploading agent error "EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors."</title><content type='html'>Agent is Running and Ready&lt;br /&gt;[oraagent@host ~]$ emctl upload&lt;br /&gt;Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0&lt;br /&gt;Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1-Stop agent&lt;br /&gt; emctl stop agent&lt;br /&gt;2-Delete all files in $AGENT_HOME/sysman/emd/upload&lt;br /&gt;&lt;br /&gt;3-Clear agent&lt;br /&gt; emctl clearstate agent&lt;br /&gt; &lt;br /&gt;4-Secure the agent&lt;br /&gt; emctl secure agent (inform agent password)&lt;br /&gt; &lt;br /&gt;5-Start agent&lt;br /&gt; emctl start agent&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;This works for me!&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5320588580035749462?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5320588580035749462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/07/uploading-agent-error-emd-upload-error.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5320588580035749462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5320588580035749462'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/07/uploading-agent-error-emd-upload-error.html' title='Uploading agent error &quot;EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors.&quot;'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8953350332752583317</id><published>2010-05-10T20:54:00.001-03:00</published><updated>2010-05-10T20:54:37.379-03:00</updated><title type='text'>Cloning ORACLE_HOME Agent installation</title><content type='html'>If you need to clone your ORACLE_HOME Agent installation to another server execute the following steps:&lt;br /&gt;&lt;br /&gt;1-TAR your OH source&lt;br /&gt;tar -cvhf agent10g.tar agent10g&lt;br /&gt;&lt;br /&gt;2-Transfer file to destination server&lt;br /&gt;&lt;br /&gt;3-Create the new OH Agent directories and OS user&lt;br /&gt;&lt;br /&gt;4-UnTAR the file&lt;br /&gt;tar -xvf agent10g.tar&lt;br /&gt;&lt;br /&gt;5-Run root.sh as root user&lt;br /&gt;&lt;br /&gt;6-Clean old files from source installation&lt;br /&gt;cd  $AGENT_HOME/sysman/emd/collection &lt;br /&gt;rm *&lt;br /&gt;&lt;br /&gt;7-Run runInstaller to clone source OH as on example below:&lt;br /&gt;&lt;br /&gt;./runInstaller -clone -forceClone ORACLE_HOME=/ora01/emagent/agent10g ORACLE_HOME_NAME=OraAgent10g -noconfig -silent &lt;br /&gt;&lt;br /&gt;8-Configure the new agent&lt;br /&gt;$ORACLE_HOME/bin/agentca -f&lt;br /&gt;&lt;br /&gt;9-Run root.sh again&lt;br /&gt;&lt;br /&gt;$ORACLE_HOME/root.sh --as root user&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8953350332752583317?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8953350332752583317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/cloning-oraclehome-agent-installation.html#comment-form' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8953350332752583317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8953350332752583317'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/cloning-oraclehome-agent-installation.html' title='Cloning ORACLE_HOME Agent installation'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-6668252481951420815</id><published>2010-05-10T20:52:00.000-03:00</published><updated>2010-05-10T20:52:04.484-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-38029'/><title type='text'>Generating statistics facing "ORA-38029: object statistics are locked"  error</title><content type='html'>--If you try to analyze an object, or an entirely schema or even all database objects (using dbms_utility for instance) and face this error below:&lt;br /&gt;ORA-38029: object statistics are locked&lt;br /&gt;ORA-06512: at "SYS.DBMS_DDL", line 257&lt;br /&gt;ORA-06512: at "SYS.DBMS_UTILITY", line 488&lt;br /&gt;ORA-06512: at line 2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fix this problem by following these next steps:&lt;br /&gt;&lt;br /&gt;1-Find which schemas have locked tables&lt;br /&gt;select &lt;br /&gt;   owner,&lt;br /&gt;   table_name,&lt;br /&gt;   stattype_locked&lt;br /&gt;from &lt;br /&gt;   dba_tab_statistics &lt;br /&gt;   where &lt;br /&gt;      stattype_locked is not null;&lt;br /&gt;   &lt;br /&gt;2-Unlock table or all schema statistics using dbms_stats package:&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt; dbms_stats.unlock_schema_stats(ownname =&gt; 'SYS');&lt;br /&gt; dbms_stats.unlock_schema_stats(ownname =&gt; 'USER1');&lt;br /&gt; dbms_stats.unlock_schema_stats(ownname =&gt; 'USER2');&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;3-Execute the analyze_database procedure again (or the procedure that you attempted before). (it must work).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-6668252481951420815?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/6668252481951420815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/generating-statistics-facing-ora-38029.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6668252481951420815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6668252481951420815'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/generating-statistics-facing-ora-38029.html' title='Generating statistics facing &quot;ORA-38029: object statistics are locked&quot;  error'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4122723747873217567</id><published>2010-05-10T17:16:00.000-03:00</published><updated>2010-05-10T17:16:29.742-03:00</updated><title type='text'>OUI-10197:Unable to create a new Oracle Home at /ora01/emagent. Oracle Home already exists at this location. Select another location.</title><content type='html'>If you want to unregister your OH use command simmilar to this one below:&lt;br /&gt;&lt;br /&gt;--Error displayed&lt;br /&gt;OUI-10197:Unable to create a new Oracle Home at /ora01/emagent. Oracle Home already exists at this location. Select another location.&lt;br /&gt;&lt;br /&gt;--Solution (cleaning inventory)&lt;br /&gt;./runInstaller -silent -detachHome -invPtrLoc /etc/oraInst.loc ORACLE_HOME="/ora01/emagent" ORACLE_HOME_NAME="OraAgent10g" &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4122723747873217567?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4122723747873217567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oui-10197unable-to-create-new-oracle.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4122723747873217567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4122723747873217567'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oui-10197unable-to-create-new-oracle.html' title='OUI-10197:Unable to create a new Oracle Home at /ora01/emagent. Oracle Home already exists at this location. Select another location.'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-956829142512483258</id><published>2010-05-09T12:50:00.003-03:00</published><updated>2010-05-09T12:50:10.100-03:00</updated><title type='text'>Oracle Secure Backup commands</title><content type='html'>Some OSB commands:&lt;br /&gt;&lt;br /&gt;--Check volumes&lt;br /&gt;lsdev -lvg&lt;br /&gt;&lt;br /&gt;--Check jobs&lt;br /&gt;lsjob --all --long&lt;br /&gt;&lt;br /&gt;--Change the host characteristics&lt;br /&gt;obtool -u admin chhost -r client,admin,mediaserver "f2c07"&lt;br /&gt;&lt;br /&gt;--Create a library&lt;br /&gt;obtool -u admin mkdev -t library -o -a f2c07:/dev/obl0 test22&lt;br /&gt;&lt;br /&gt;--Create a tape&lt;br /&gt;obtool -u admin mkdev -t tape -o -a f2c07:/dev/obt0 -l test22&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will post more soon.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-956829142512483258?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/956829142512483258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oracle-secure-backup-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/956829142512483258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/956829142512483258'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oracle-secure-backup-commands.html' title='Oracle Secure Backup commands'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5781268786217609896</id><published>2010-05-07T16:41:00.000-03:00</published><updated>2010-05-07T16:41:33.521-03:00</updated><title type='text'>--Oracle Secure Backup Oracle Secure Backup error: 'no preauth config ound for OS user (OB tools) orasb</title><content type='html'>If you found an error like this one below:&lt;br /&gt;################################################################################&lt;br /&gt;&lt;br /&gt;released channel: devite&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-03009: failure of backup command on devite channel at 05/07/2010 16:28:55&lt;br /&gt;ORA-19506: failed to create sequential file, name="01ld3fm6_1_1", parms=""&lt;br /&gt;ORA-27028: skgfqcre: sbtbackup returned error&lt;br /&gt;ORA-19511: Error received from media manager layer, error text:&lt;br /&gt;   sbt__rpc_cat_query: Query for piece 01ld3fm6_1_1 failed.&lt;br /&gt;(Oracle Secure Backup error: 'no preauth config found for OS user (OB tools) orasb').&lt;br /&gt;################################################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fix it goint to your Web Tool Amin Configure&gt;Users&gt;Add (add the user name owner of database binaries) and then&lt;br /&gt;go back to this page, click in user just created and click on Edit&gt;Preauthorized Access. Here you will add the host and attributes that this user needs to have.&lt;br /&gt;&lt;br /&gt;Try runing your backup again!&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5781268786217609896?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5781268786217609896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oracle-secure-backup-oracle-secure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5781268786217609896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5781268786217609896'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/oracle-secure-backup-oracle-secure.html' title='--Oracle Secure Backup Oracle Secure Backup error: &apos;no preauth config ound for OS user (OB tools) orasb'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2894006633390270156</id><published>2010-05-06T16:58:00.000-03:00</published><updated>2010-05-06T16:58:11.389-03:00</updated><title type='text'>Using new Oracle Database 11g ADRCI utility example</title><content type='html'>ADRCI is a command line utility that can be used in order to help find and fix problems in database. &lt;br /&gt;The name stands for Automatic Diagnostic Repository Command Interpreter. &lt;br /&gt;&lt;br /&gt;Command line exaples:&lt;br /&gt;&lt;br /&gt;adrci&gt; SHOW PROBLEMS --Used to show problems founded on databases&lt;br /&gt;ADR Home = /u01/app/oracle/diag/rdbms/dbms/dbms:&lt;br /&gt;*************************************************************************&lt;br /&gt;PROBLEM_ID           PROBLEM_KEY                                                 LAST_INCIDENT        LASTINC_TIME&lt;br /&gt;-------------------- ----------------------------------------------------------- -------------------- ----------------------------------------&lt;br /&gt;9                    ORA 7445 [jsv_udf_init()+62]                                102465               2010-05-05 22:01:26.759000 -03:00&lt;br /&gt;8                    ORA 7445 [ktspfsall()+1079]                                 99828                2010-04-30 15:02:42.091000 -03:00&lt;br /&gt;7                    ORA 1578                                                    91582                2010-04-27 21:05:44.602000 -03:00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;adrci&gt; show base  --Used to show current ORACLE_BASE&lt;br /&gt;ADR base is "/u01/app/oracle"&lt;br /&gt;&lt;br /&gt;adrci&gt; SET BASE /u01/app/oraebs  --Uset to change ORACLE_BASE of database to be analyzed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;adrci&gt; set homepath diag/rdbms/dbms/dbms  --Setting just one homepath&lt;br /&gt;&lt;br /&gt;--To show ADR information use this command below&lt;br /&gt;adrci&gt;  show control&lt;br /&gt;ADRID                SHORTP_POLICY        LONGP_POLICY         LAST_MOD_TIME                            LAST_AUTOPRG_TIME                        LAST_MANUPRG_TIME                        ADRDIR_VERSION       ADRSCHM_VERSION      ADRSCHMV_SUMMARY     ADRALERT_VERSION     CREATE_TIME&lt;br /&gt;-------------------- -------------------- -------------------- ---------------------------------------- ---------------------------------------- ---------------------------------------- -------------------- -------------------- -------------------- -------------------- ----------------------------------------&lt;br /&gt;1824989551           720                  8760                 2009-10-27 11:01:08.204025 -02:00        2010-05-03 09:49:12.845517 -03:00        2009-11-16 12:57:16.833107 -02:00        1                    2                    76                   1                    2009-10-27 11:01:08.204025 -02:00&lt;br /&gt;1 rows fetched&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2894006633390270156?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2894006633390270156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/using-new-oracle-database-11g-adrci.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2894006633390270156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2894006633390270156'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/05/using-new-oracle-database-11g-adrci.html' title='Using new Oracle Database 11g ADRCI utility example'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8449336835021215027</id><published>2010-04-30T16:50:00.001-03:00</published><updated>2010-04-30T16:50:34.308-03:00</updated><title type='text'>Blank page when trying to access forms on Oracle Applications</title><content type='html'>--Blank page when trying to access forms on Oracle Applications&lt;br /&gt;&lt;br /&gt;Steps to reproduce the problem:&lt;br /&gt;1-Login to Oracle Applications&lt;br /&gt;2-Go to any Responsibility&lt;br /&gt;3-Try to access any form and nothing happens&lt;br /&gt;4-If you try to start or stop forms (adfrmctl.sh) or reports (adrepctl.sh), errors like these one are displayed.&lt;br /&gt; &lt;br /&gt;#######################################################################&lt;br /&gt;&lt;br /&gt;Executing service control script:&lt;br /&gt;/u01/app/r11i/r11comn/admin/scripts/hmlr11_surucucu/adrepctl.sh start&lt;br /&gt;script returned:&lt;br /&gt;****************************************************&lt;br /&gt;&lt;br /&gt;You are running adrepctl.sh version 115.33&lt;br /&gt;&lt;br /&gt;Cannot reconnect to gateway&lt;br /&gt;&lt;br /&gt;Cause:  Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.&lt;br /&gt;&lt;br /&gt;Action:  Check that your gateway environment variable is set correctly.&lt;br /&gt;starting Reports Server for hmlr11 on port 7070.&lt;br /&gt;Cannot reconnect to gateway&lt;br /&gt;&lt;br /&gt;Cause:  Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.&lt;br /&gt;&lt;br /&gt;Action:  Check that your gateway environment variable is set correctly.&lt;br /&gt;&lt;br /&gt;adrepctl.sh: exiting with status 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.end std out.&lt;br /&gt;&lt;br /&gt;.end err out.&lt;br /&gt;&lt;br /&gt;#######################################################################&lt;br /&gt;The first thing to check is if GUEST account is working fine using the SQL command below:&lt;br /&gt;&lt;br /&gt;SQL&gt;  select fnd_web_sec.validate_login('GUEST','GUEST')  from dual;&lt;br /&gt;&lt;br /&gt;FND_WEB_SEC.VALIDATE_LOGIN('GUEST','GUEST')&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;N&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As you note, GUEST LOGIN is not working. Check the GUEST password in file $FND_TOP/secure/hostname_SID.dbc&lt;br /&gt; # grep -i GUEST_USER_PWD /u01/app/r11i/r11appl/fnd/11.5.0/secure/surucucu_hmlr11.dbc&lt;br /&gt;&lt;br /&gt;Check the GUEST user and password on your CONTEXT_FILE:&lt;br /&gt; # grep guest $CONTEXT_FILE&lt;br /&gt;        &lt;username oa_var="s_guest_user"&gt;GUEST&lt;/username&gt;&lt;br /&gt;        &lt;password oa_var="s_guest_pass"&gt;ORACLE&lt;/password&gt;&lt;br /&gt;&lt;br /&gt;After checking and changing everything, run autoconfig.&lt;br /&gt;  cd $COMMON_TOP/admin/scripts/SID_hostname&lt;br /&gt;  ./adautocfg.sh&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;Try to access your forms again.&lt;br /&gt;  &lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8449336835021215027?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8449336835021215027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/blank-page-when-trying-to-access-forms.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8449336835021215027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8449336835021215027'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/blank-page-when-trying-to-access-forms.html' title='Blank page when trying to access forms on Oracle Applications'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2137967868577264736</id><published>2010-04-29T10:24:00.000-03:00</published><updated>2010-04-29T10:24:02.834-03:00</updated><title type='text'>Checking Dependency Objects using dba_dependencies or utldtree.sql</title><content type='html'>If I need to find out recursively dependent objects from an object I usually execute one of these two methods:&lt;br /&gt;&lt;br /&gt;########################################################&lt;br /&gt;1-Use the dba_dependencies view&lt;br /&gt;col owner for a15&lt;br /&gt;col name for a30&lt;br /&gt;col type for a10&lt;br /&gt;col referenced_owner for a15&lt;br /&gt;col referenced_name for a30&lt;br /&gt;col referenced_link_name for a10&lt;br /&gt;&lt;br /&gt;select &lt;br /&gt;   * &lt;br /&gt;from &lt;br /&gt;   dba_dependencies &lt;br /&gt;where &lt;br /&gt;   name='TAB_EMP' and owner='PKG';&lt;br /&gt;&lt;br /&gt;OWNER           NAME                           TYPE       REFERENCED_OWNE REFERENCED_NAME                REFERENCED_TYPE    REFERENCED DEPENDENCY_TYPE&lt;br /&gt;--------------- ------------------------------ ---------- --------------- ------------------------------ ------------------ ---------- ---------------&lt;br /&gt;PKG             TAB_EMP                 TABLE      SYS             STANDARD                       PACKAGE                       HARD&lt;br /&gt;PKG             TAB_EMP                 TABLE      PKG             EMP_PERSON_TYP                 TYPE                          HARD&lt;br /&gt;&lt;br /&gt;2-Use the utldtree.sql package. This package creates a procedure named deptree_fill and can be used as follows:&lt;br /&gt;&lt;br /&gt;--run utldtree to create the procedure and view (user must be SYS in order to see all dependencies)&lt;br /&gt;SQL&gt;@?/rdbms/admin/utldtree.sql&lt;br /&gt;SQL&gt; exec deptree_fill(type =&gt;'TABLE',schema =&gt; 'PKG',name =&gt; 'EMP_PERSON_OBJ_TABLE');&lt;br /&gt;&lt;br /&gt;PL/SQL procedure successfully completed&lt;br /&gt;&lt;br /&gt;SQL&gt; select * from deptree order by seq#;&lt;br /&gt;&lt;br /&gt;NESTED_LEVEL TYPE       SCHEMA                         NAME                                 SEQ#&lt;br /&gt;------------ ---------- ------------------------------ ------------------------------ ----------&lt;br /&gt;           0 TABLE      PKG                            EMP_PERSON_OBJ_TABLE                    0&lt;br /&gt;&lt;br /&gt;SQL&gt; select * from ideptree;&lt;br /&gt;&lt;br /&gt;DEPENDENCIES&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;TABLE PKG.EMP_PERSON_OBJ_TABLE&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;########################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2137967868577264736?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2137967868577264736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/checking-dependency-objects-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2137967868577264736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2137967868577264736'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/checking-dependency-objects-using.html' title='Checking Dependency Objects using dba_dependencies or utldtree.sql'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8573611896172568940</id><published>2010-04-28T14:54:00.000-03:00</published><updated>2010-04-29T09:58:30.189-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='clone.pl; runInstaller; clone'/><title type='text'>Cloning Oracle Home and Changing User and Group Installation Owner</title><content type='html'>"If you are cloning your Oracle Home and need to change the user and/or group owner execute the following steps:&lt;br /&gt;&lt;br /&gt;1-First, tar your source ORACLE_HOME:&lt;br /&gt;tar cvhf OH_Source.tar $ORACLE_HOME&lt;br /&gt;&lt;br /&gt;2-Then, move the tar to the new host and untar it.&lt;br /&gt;cd ORACLE_HOME &lt;path to new OH&gt;&lt;br /&gt;tax xvf OH_Source.tar&lt;br /&gt;&lt;br /&gt;3-Use the command below to change the owner of files. (login as root)&lt;br /&gt;&lt;br /&gt;find . -user ora10g -exec chown oraprd {} \; --where ora10g is the old user and oraprd is the new user&lt;br /&gt;&lt;br /&gt;4-Change the group owner using the following command: (login as root)&lt;br /&gt;find . -group dba10g -exec dba11g &lt;groupb&gt; {} \; --where the old group is dba10g and new is dba11g&lt;br /&gt;&lt;br /&gt;5-Now, change information on config.o file that controls which user is the installation owner.&lt;br /&gt;5.1- For Linux&lt;br /&gt;cd $ORACLE_HOME/rdbms/lib&lt;br /&gt;cp config.o config.o_backup&lt;br /&gt;vi config.c&lt;br /&gt;--Find and replace the old group name (in our case is dba10g) to the new value (dba11g)&lt;br /&gt;--Old value&lt;br /&gt;#define SS_DBA_GRP "dba10g" &lt;br /&gt;#define SS_OPER_GRP "dba10g"&lt;br /&gt;--New value&lt;br /&gt;#define SS_DBA_GRP "dba11g" &lt;br /&gt;#define SS_OPER_GRP "dba11g"&lt;br /&gt;&lt;br /&gt;5.2- For AIX&lt;br /&gt;cd $ORACLE_HOME/rdbms/lib&lt;br /&gt;mv config.o config.o_backup&lt;br /&gt;vi config.c&lt;br /&gt;--Old value&lt;br /&gt;.csect H.12.NO_SYMBOL{RO}, 3 &lt;br /&gt;.string "dba10g" &lt;br /&gt;:&lt;br /&gt;.csect H.14.NO_SYMBOL{RO}, 3 &lt;br /&gt;.string "dba10g" &lt;br /&gt;--Old value&lt;br /&gt;.csect H.12.NO_SYMBOL{RO}, 3 &lt;br /&gt;.string "dba11g" &lt;br /&gt;:&lt;br /&gt;.csect H.14.NO_SYMBOL{RO}, 3 &lt;br /&gt;.string "dba11g" &lt;br /&gt;&lt;br /&gt;6-Finally, execute the clone.pl script to clone the database or use the runInstaller as follows:&lt;br /&gt;--Using clone.pl script&lt;br /&gt;cd $ORACLE_HOME/clone/bin &lt;br /&gt;perl clone.pl ORACLE_HOME="/u01/app/oracle/product/11.2.0/db11g" ORACLE_HOME_NAME="OraDB11g" &lt;br /&gt;--Or runInstaller&lt;br /&gt;./runInstaller -clone -silent -ignorePreReq ORACLE_HOME="/u01/app/oracle/product/11.2.0/db11g" ORACLE_HOME_NAME="OraDB11g"&lt;br /&gt;&lt;br /&gt;7-Run the root.sh script (loged in as root user)&lt;br /&gt;$ORACLE_HOME/root.sh &lt;br /&gt;&lt;br /&gt;8-Run ChangePerm script&lt;br /&gt;$ORACLE_HOME/install/changePerm.sh   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Your clone is done. Just check environment variables and start database and listener. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8573611896172568940?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8573611896172568940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/cloning-oracle-home-and-change-user-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8573611896172568940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8573611896172568940'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/cloning-oracle-home-and-change-user-and.html' title='Cloning Oracle Home and Changing User and Group Installation Owner'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2253409374035069847</id><published>2010-04-23T20:28:00.000-03:00</published><updated>2010-04-23T20:28:31.800-03:00</updated><title type='text'>Start init.cssd reboot server</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;If you are experiencing problems when trying to start CSS and the server goes down, try to find old init.css files from previous installations and delete these files or any reference to then :&lt;br /&gt;&lt;br /&gt;--Run localconfig delete&lt;br /&gt;&lt;br /&gt;--Delete files&lt;br /&gt;$cd /etc&lt;br /&gt;$rm init.crs init.crsd init.cssd init.evmd&lt;br /&gt;&lt;br /&gt;$vi /etc/inittab (delete any reference to css)&lt;br /&gt;&lt;br /&gt;--Run localconfig add&lt;br /&gt;&lt;br /&gt;--Check for css&lt;br /&gt;crsctl check crs (Just CSS should be online for non-RAC installations)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2253409374035069847?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2253409374035069847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/start-initcssd-reboot-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2253409374035069847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2253409374035069847'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/start-initcssd-reboot-server.html' title='Start init.cssd reboot server'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2264200631853544400</id><published>2010-04-23T15:24:00.000-03:00</published><updated>2010-04-23T15:24:10.795-03:00</updated><title type='text'>Patch Reporting  - Oracle E-Business</title><content type='html'>There are 4 methods that you can use to generate patch report in Oracle EBS:&lt;br /&gt;&lt;br /&gt;-&gt; Using $AD_TOP/patch/115/sql/adphrept.sql. &lt;br /&gt;Example:&lt;br /&gt;$sqlplus apps/apps_password @adphrept.sql 2 ALL ALL ALL ALL ALL \&lt;br /&gt;ALL ALL ALL ALL N N N N N my_patches.txt&lt;br /&gt;&lt;br /&gt;-&gt;Using patchsets.sh script (download it updated using Oracle Metalink Note 139684.1. &lt;br /&gt;Example:&lt;br /&gt;patchsets.sh connect=apps_user/apps_pwd&lt;br /&gt;&lt;br /&gt;-&gt; By querying database using this query below:&lt;br /&gt;set verify off&lt;br /&gt;set pages 999&lt;br /&gt;column patch_name     format a20&lt;br /&gt;column patch_type      format a10&lt;br /&gt;column creation_date  format a20&lt;br /&gt;column last_update_date format a20&lt;br /&gt;&lt;br /&gt;undef 1&lt;br /&gt;&lt;br /&gt;select&lt;br /&gt;patch_name,&lt;br /&gt;patch_type,&lt;br /&gt;to_char(creation_date, 'yyyy-mm-dd hh24:mi') creation_date,&lt;br /&gt;to_char(last_update_date, 'yyyy-mm-dd hh24:mi') last_update_date&lt;br /&gt;from ad_applied_patches&lt;br /&gt;where   patch_name like upper('%&amp;&amp;1%')&lt;br /&gt;union all&lt;br /&gt;select&lt;br /&gt;bug_number patch_name,&lt;br /&gt;'BUG' patch_type,&lt;br /&gt;to_char(creation_date, 'yyyy-mm-dd hh24:mi') creation_date,&lt;br /&gt;to_char(last_update_date, 'yyyy-mm-dd hh24:mi') last_update_date&lt;br /&gt;from ad_bugs&lt;br /&gt;where bug_number like upper('%&amp;1%')&lt;br /&gt;order by patch_name&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-&gt; And finally, using the OAM (Oracle Application Manager) - Applied Patches session.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I hope that it help you find your applied patches.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2264200631853544400?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2264200631853544400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/patch-reporting-oracle-e-business.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2264200631853544400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2264200631853544400'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/patch-reporting-oracle-e-business.html' title='Patch Reporting  - Oracle E-Business'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7406866495438296273</id><published>2010-04-23T13:09:00.000-03:00</published><updated>2010-04-23T13:09:34.896-03:00</updated><title type='text'>Oracle EBS 12  "Function not Available to this Responsibility. Change responsibilities or contact your System Administrator."</title><content type='html'>If you are trying to access a custom forms in Oracle EBS and are receiveing this message below:&lt;br /&gt;"Function not Available to this Responsibility. Change responsibilities or contact your System Administrator."&lt;br /&gt;&lt;br /&gt;Fisrt, check if responsabilities, menus and forms were configured right.&lt;br /&gt;&lt;br /&gt;In my case, I had to include the CUSTOM_TOP at the end of $ORA_CONFIG_HOME/10.1.2/forms/server/default.env file.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;#############################&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;CUSTOMXXX_TOP=/ocfs02/appebs/PEBS/apps/apps_st/appl/f2c/12.0.0&lt;br /&gt;#############################&lt;br /&gt;&lt;br /&gt;Then, just bounce your forms using commands below:&lt;br /&gt;./adformsctl.sh stop&lt;br /&gt;./adformsctl.sh start&lt;br /&gt;&lt;br /&gt;And see if it works. For me it works very well.&lt;br /&gt;&lt;br /&gt;I hope that it could help you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7406866495438296273?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7406866495438296273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/oracle-ebs-12-function-not-available-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7406866495438296273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7406866495438296273'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/04/oracle-ebs-12-function-not-available-to.html' title='Oracle EBS 12  &quot;Function not Available to this Responsibility. Change responsibilities or contact your System Administrator.&quot;'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7926683357976168269</id><published>2010-03-04T16:11:00.000-03:00</published><updated>2010-03-04T16:11:31.273-03:00</updated><title type='text'>Golgen Gate error when runing ggsci libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied</title><content type='html'>If you face this error below:&lt;br /&gt;&lt;br /&gt;./ggsci: error while loading shared libraries: /ora01/F2C/F2CDEV1/db/tech_st/10.2.0/lib/libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Execute the following steps as root user:&lt;br /&gt;getenforce     &lt;br /&gt;setenforce 0&lt;br /&gt;getenforce&lt;br /&gt;&lt;br /&gt;And try again.&lt;br /&gt;&lt;br /&gt;You will need to change it permanently in your GRUB boot adding this&lt;br /&gt;kernel /vmlinuz-2.6.18-8.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet &lt;b&gt;enforcing=0 &lt;br /&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7926683357976168269?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7926683357976168269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/03/golgen-gate-error-when-runing-ggsci.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7926683357976168269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7926683357976168269'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/03/golgen-gate-error-when-runing-ggsci.html' title='Golgen Gate error when runing ggsci libclntsh.so.10.1: cannot restore segment prot after reloc: Permission denied'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1306379960847410573</id><published>2010-03-03T10:10:00.000-03:00</published><updated>2010-03-03T10:10:29.091-03:00</updated><title type='text'>Some GoldenGate Tips</title><content type='html'>Here is a review of some commands used to install and administer Oracle Golden Gate on Unix.&lt;br /&gt;&lt;br /&gt;##############################################################&lt;br /&gt;--GG Installations&lt;br /&gt;&lt;br /&gt; --GG Command line&lt;br /&gt; ./ggsci&lt;br /&gt;&lt;br /&gt; --Create directories&lt;br /&gt; CREATE SUBDIRS&lt;br /&gt;&lt;br /&gt; --Add Manager default port&lt;br /&gt; EDIT PARAMS MGR&lt;br /&gt; --insert port value 7809 and save&lt;br /&gt;&lt;br /&gt; --Change recyclebin initialization parameters to off&lt;br /&gt; alter system set recyclebin=off scope=spfile;&lt;br /&gt; shutdown immediate&lt;br /&gt; startup&lt;br /&gt;&lt;br /&gt; --Login / as sysdba and run the following script&lt;br /&gt; SQL&gt;@marker_setup.sql&lt;br /&gt; SQL&gt;@ddl_setup.sql (Specify schema, INITIALSETUP (for first installation),YES to purge recyclebin)&lt;br /&gt; SQL&gt;@role_setup.sql&lt;br /&gt; &lt;br /&gt; --Grant the GG role to Extract users&lt;br /&gt; SQL&gt;GRANT GGS_GGSUSER_ROLE TO GG;&lt;br /&gt;&lt;br /&gt; --Enable triggers&lt;br /&gt; SQL&gt;@ddl_enable.sql &lt;br /&gt;&lt;br /&gt; --Enable Supplemental Data on Database&lt;br /&gt; ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;&lt;br /&gt;&lt;br /&gt; --Create GG Server user&lt;br /&gt; SQL&gt; create user GGSERVER identified by ggserver123;&lt;br /&gt;&lt;br /&gt; SQL&gt; grant dba to GGSERVER;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Start Manager&lt;br /&gt;GGSCI (dbms.f2c.com.br) 2&gt; START MANAGER&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Stop Manager&lt;br /&gt;GGSCI (dbms.f2c.com.br) 2&gt; STOP MANAGER [!]&lt;br /&gt;&lt;br /&gt;--Start all extract groups &lt;br /&gt;START EXTRACT *X*&lt;br /&gt;&lt;br /&gt;--Show history of last commands&lt;br /&gt;HISTORY&lt;br /&gt;&lt;br /&gt;--Execute a command sequence&lt;br /&gt; OBEY file_name_commands&lt;br /&gt; --Example&lt;br /&gt; ADD EXTRACT myext, TRANLOG, BEGIN now&lt;br /&gt; START EXTRACT myext&lt;br /&gt; ADD REPLICAT myrep, EXTTRAIL /ggs/dirdat/aa&lt;br /&gt; START REPLICAT myrep&lt;br /&gt; INFO EXTRACT myext, DETAIL&lt;br /&gt; INFO REPLICAT myrep, DETAIL&lt;br /&gt;&lt;br /&gt;--Create GLOBALS file&lt;br /&gt;EDIT PARAMS ./GLOBALS&lt;br /&gt; --Insert the line below to set GG schema user&lt;br /&gt; GGSCHEMA gg&lt;br /&gt;&lt;br /&gt;--Login on Database&lt;br /&gt;DBLOGIN USERID gg, PASSWORD gg&lt;br /&gt;##############################################################&lt;br /&gt;&lt;br /&gt;I will post more ASAP!&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1306379960847410573?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1306379960847410573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/03/some-goldengate-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1306379960847410573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1306379960847410573'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/03/some-goldengate-tips.html' title='Some GoldenGate Tips'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2069161334841261747</id><published>2010-02-09T22:22:00.000-02:00</published><updated>2010-02-09T22:22:17.938-02:00</updated><title type='text'>yum Erros Cannot find a valid baseurl for repo: update</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;I was creating an Amazon AMI and got the following error when runing yum utility:&lt;br /&gt;&lt;br /&gt;Cannot find a valid baseurl for repo: update&lt;br /&gt;Error: Cannot find a valid baseurl for repo: update&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you find this error just rename all files founded in/etc/yum.repos.d/ and execute the yum command again.&lt;br /&gt;&lt;br /&gt;I hope that it works for you!&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2069161334841261747?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2069161334841261747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/02/yum-erros-cannot-find-valid-baseurl-for.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2069161334841261747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2069161334841261747'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/02/yum-erros-cannot-find-valid-baseurl-for.html' title='yum Erros Cannot find a valid baseurl for repo: update'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-9058403171930570960</id><published>2010-01-29T15:12:00.000-02:00</published><updated>2010-01-29T15:12:08.732-02:00</updated><title type='text'>Errors RMAN-03009 ORA-19809 ORA-19804 When doing a backup</title><content type='html'>If you are trying to do a backup of your database and are receiving these errors below:&lt;br /&gt;&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============&lt;br /&gt;RMAN-00571: ===========================================================&lt;br /&gt;&lt;br /&gt;RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/11/2010 11:27:28&lt;br /&gt;ORA-19809: limit exceeded for recovery files&lt;br /&gt;ORA-19804: cannot reclaim 52428800 bytes disk space from 5218762752 limit&lt;br /&gt;&lt;br /&gt;Check if you are using the db_recovery_dest as the backup destination and if yes, increase the value of db_recovery_file_dest_size initialization parameter to a value that could behave your database size.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt; alter system set db_recovery_file_dest_size=15G scope=both;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-9058403171930570960?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/9058403171930570960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/01/errors-rman-03009-ora-19809-ora-19804.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9058403171930570960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9058403171930570960'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/01/errors-rman-03009-ora-19809-ora-19804.html' title='Errors RMAN-03009 ORA-19809 ORA-19804 When doing a backup'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-569388298069441858</id><published>2010-01-22T13:46:00.000-02:00</published><updated>2010-01-22T13:48:42.234-02:00</updated><title type='text'>How to solve "Concurrent Request error Ora-20100 FND_FILE failed to create .tmp file"</title><content type='html'>If you are experiencing Ora-20100 when running a concurrent on your Oracle E-Business Suite environment, soexecute these steps below to solve this problem:&lt;br /&gt;&lt;br /&gt;1-First, check if the .tmp file exists in the temp directory defined by $APPLPTMP variable. Example: &lt;br /&gt;&lt;br /&gt;$echo $APPLPTMP&lt;br /&gt;/usr/tmp&lt;br /&gt;&lt;br /&gt;If is there any file with the same name but with a different owner, (this could happens if ou have a lot of EBS envronments at the same server what is not a good idead), remove this temp file and try running the concurrent again.&lt;br /&gt;&lt;br /&gt;2- Otherwise, login through a sqlplus session using the apps user and execute command below to test generation of a temp file;&lt;br /&gt;SQL&gt; exec FND_FILE.PUT_LINE(FND_FILE.LOG, 'TEST FND_FILE Utility');&lt;br /&gt;&lt;br /&gt;If this command shows errors like ORA-20100 and ORA-0652, then, you need to stop the concurrent manager using adcmctl script, kill all FNDLIB that are still runing and start the concurrent manager agai. Steps below:&lt;br /&gt;&lt;br /&gt;--Login as apps application owner under OS&lt;br /&gt;cd $INST_TOP (for R12)&lt;br /&gt;cd admin/scripts&lt;br /&gt;adcmctl stop apps/passwod&lt;br /&gt;&lt;br /&gt;--Kill FNDLIB&lt;br /&gt;ps -ef | grep FNDLIB&lt;br /&gt;&lt;br /&gt;--Login as apps user on database and run the cmclean.sl script&lt;br /&gt;SQL&gt;show user&lt;br /&gt;USER is "apps"&lt;br /&gt;SQL&gt;@cmclean.sql&lt;br /&gt;SQL&gt;commit;&lt;br /&gt;&lt;br /&gt;--Start Concurrent manager again&lt;br /&gt;adcmctl start apps/pssword&lt;br /&gt;&lt;br /&gt;--Run the concurrent and see if the problem was solved&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-569388298069441858?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/569388298069441858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/01/how-to-solve-concurrent-request-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/569388298069441858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/569388298069441858'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2010/01/how-to-solve-concurrent-request-error.html' title='How to solve &quot;Concurrent Request error Ora-20100 FND_FILE failed to create .tmp file&quot;'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2743959709644789390</id><published>2009-11-14T11:05:00.000-02:00</published><updated>2009-11-14T11:05:10.714-02:00</updated><title type='text'>Creating XA Oracle Services</title><content type='html'>--Create the service with this command&lt;br /&gt;srvctl add service -d &lt;db_name&gt; -s &lt;service_name&gt;  -r &lt;preferred_inst&gt; -a &lt;available_inst&gt;&lt;br /&gt;&lt;br /&gt;--Start the service&lt;br /&gt;srvctl start service -d &lt;db_name&gt; -s &lt;service_name&gt;&lt;br /&gt;&lt;br /&gt;--Configure the service to use DTP that will guarantee that all global transaction will stay on the same instance&lt;br /&gt;begin&lt;br /&gt;    DBMS_SERVICE.MODIFY_SERVICE(&lt;br /&gt;      service_name=&gt;'&lt;service_name&gt;',&lt;br /&gt;      dtp =&gt; TRUE&lt;br /&gt;      );&lt;br /&gt;end;&lt;br /&gt;/ &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Service_name to insert into your tnsnames.ora client file&lt;br /&gt;SERV_XA =&lt;br /&gt;  (DESCRIPTION =&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = IP_MACHINE_DB_SERVER)(PORT = 1522))&lt;br /&gt;    (CONNECT_DATA =&lt;br /&gt;      (SERVER = DEDICATED)&lt;br /&gt;      (SERVICE_NAME = &lt;service_name&gt;)&lt;br /&gt;    )&lt;br /&gt;  )  &lt;br /&gt; &lt;br /&gt;&lt;br /&gt;--If you reach  ORA-12520 error  and are using RAC Database then execute the following commands on one instance connected as SYSDBA&lt;br /&gt;&lt;br /&gt; 1-&lt;br /&gt; sqlplus / as sysdba&lt;br /&gt; SQL&gt; alter system set local_listener='LISTENER_MIDDLE_BWMDPR1' scope=both sid='BWMDPR1'; --Use the same value that is already in use&lt;br /&gt;&lt;br /&gt; System altered.&lt;br /&gt;&lt;br /&gt; SQL&gt; alter system set local_listener='LISTENER_MIDDLE_BWMDPR2' scope=both sid='BWMDPR2'; --Use the same value that is already in use&lt;br /&gt;&lt;br /&gt; System altered.&lt;br /&gt;&lt;br /&gt; SQL&gt;alter system register;&lt;br /&gt;&lt;br /&gt; System altered.&lt;br /&gt;&lt;br /&gt; 2-Stop and Start listener (reload didn't help for me!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2743959709644789390?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2743959709644789390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/creating-xa-oracle-services.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2743959709644789390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2743959709644789390'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/creating-xa-oracle-services.html' title='Creating XA Oracle Services'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2764791625778507245</id><published>2009-11-11T21:48:00.001-02:00</published><updated>2009-11-11T21:48:39.772-02:00</updated><title type='text'>To move datafile from one disk group to another you need to follow these steps</title><content type='html'>To move datafile from one disk group to another you need to follow these steps:&lt;br /&gt;&lt;br /&gt;1-Identify datafiles that will be moved:&lt;br /&gt;SQL&gt;select&lt;br /&gt;       file_name&lt;br /&gt;    from &lt;br /&gt;       dba_data_files;&lt;br /&gt;&lt;br /&gt;2-Identify the disk group destination&lt;br /&gt;--Connect to ASM instance&lt;br /&gt;SQL&gt; select &lt;br /&gt;        name &lt;br /&gt;     from &lt;br /&gt;        v$asm_diskgroup;&lt;br /&gt;&lt;br /&gt;3-Take the datafile OFFLINE&lt;br /&gt;SQL&gt;alter database datafile 'file_name' offline;&lt;br /&gt;&lt;br /&gt;4-Copy the file using either dbms_file_transfer or RMAN:&lt;br /&gt;--DBMS_FILE_TRANSFER&lt;br /&gt;  begin&lt;br /&gt;                  dbms_file_transfer.copy_file(&lt;br /&gt;                  source_directory_object =&gt; 'DIR_ORIG', --This is an object directory created pointing to original datafile location&lt;br /&gt;                  source_file_name =&gt; 'Data_File_Name.dbf',&lt;br /&gt;                  destination_directory_object =&gt; 'DIR_DEST', --This is an object directory pointing to destination of datafile&lt;br /&gt;                  destination_file_name =&gt; 'Data_File_Name_New.dbf');&lt;br /&gt;                end;           &lt;br /&gt;&lt;br /&gt;--RMAN&lt;br /&gt;RMAN&gt;copy datafile '+DG_ORIG/dbname/datafiles/Data_File_Name.dbf' TO '+DB_DEST';&lt;br /&gt;&lt;br /&gt;5-Rename the datafile&lt;br /&gt;SQL alter database rename file '+DG_ORIG/dbname/datafiles/Data_File_Name.dbf' to '+DG_DEST/db_name/datafiles/Data_File_Name_New.dbf' &lt;br /&gt;&lt;br /&gt;6-Recover the datafile&lt;br /&gt;SQL&gt;recover datafile '+DG_DEST/db_name/datafiles/Data_File_Name_New.dbf';&lt;br /&gt;&lt;br /&gt;7-Put the datafile ONLINE&lt;br /&gt;SQL&gt;alter database datafile '+DG_DEST/db_name/datafiles/Data_File_Name_New.dbf' online;&lt;br /&gt;&lt;br /&gt;8-Delete the old datafile using ASMCMD&lt;br /&gt;ASMCMD&gt; cd +DG_ORIG/dbname/datafiles/&lt;br /&gt;ASMCMD&gt; rm -rf Data_File_Name.dbf&lt;br /&gt;&lt;br /&gt;9-Backup your tablespace or your database&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2764791625778507245?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2764791625778507245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/to-move-datafile-from-one-disk-group-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2764791625778507245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2764791625778507245'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/to-move-datafile-from-one-disk-group-to.html' title='To move datafile from one disk group to another you need to follow these steps'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-9191688107221044335</id><published>2009-11-11T20:46:00.001-02:00</published><updated>2010-04-29T09:58:39.751-03:00</updated><title type='text'>Using DBMS_FILE_TRANSFER or RMAN to move datafiles from one Disk Group to another</title><content type='html'>To move datafile from one disk group to another you need to follow these steps:&lt;br /&gt;&lt;br /&gt;1-Identify datafiles that will be moved:&lt;br /&gt;SQL&gt;select&lt;br /&gt;       file_name&lt;br /&gt;    from &lt;br /&gt;       dba_data_files;&lt;br /&gt;&lt;br /&gt;2-Identify the disk group destination&lt;br /&gt;--Connect to ASM instance&lt;br /&gt;SQL&gt; select &lt;br /&gt;        name &lt;br /&gt;     from &lt;br /&gt;        v$asm_diskgroup;&lt;br /&gt;&lt;br /&gt;3-Take the datafile OFFLINE&lt;br /&gt;SQL&gt;alter database datafile 'file_name' offline;&lt;br /&gt;&lt;br /&gt;4-Copy the file using either dbms_file_transfer or RMAN:&lt;br /&gt;--DBMS_FILE_TRANSFER&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-9191688107221044335?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/9191688107221044335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/using-dbmsfiletransfer-or-rman-to-move.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9191688107221044335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/9191688107221044335'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/using-dbmsfiletransfer-or-rman-to-move.html' title='Using DBMS_FILE_TRANSFER or RMAN to move datafiles from one Disk Group to another'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7147075596618164858</id><published>2009-11-10T17:06:00.000-02:00</published><updated>2009-11-10T17:06:08.943-02:00</updated><title type='text'>Session Marked for Killed Forever</title><content type='html'>Find the OS process and kill it using kill -9 . Be carefull because some of then are backgorund process or parallel process for example so, use "ps -ef | grep ospid" before killing it.  Example:&lt;br /&gt;&lt;br /&gt;--Query to find the OSPID of session killed (for RAC run this query on each instance instead of using gv$ tables)&lt;br /&gt;&lt;br /&gt;SQL&gt;SELECT spid&lt;br /&gt;FROM v$process&lt;br /&gt;WHERE NOT EXISTS ( SELECT 1&lt;br /&gt;FROM v$session&lt;br /&gt;WHERE paddr = addr);&lt;br /&gt;&lt;br /&gt;[hostname-SID1]/home/oracle&gt; ps -ef | grep 2744432&lt;br /&gt;  oraebs  2601182  3592334   0 16:43:23  pts/7  0:00 grep 2744432&lt;br /&gt;  oraebs  2744432        1   0 16:59:17      -  0:00 oracleSID3 (LOCAL=NO)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This one you can kill but not this one below (This is a parallel process):&lt;br /&gt;&lt;br /&gt;[hostname-SID3]/home/oracle&gt; ps -ef | grep 5136530&lt;br /&gt;  oraebs  2601176  3592334   0 16:43:23  pts/7  0:00 grep 5136530&lt;br /&gt;  oraebs  5136530        1   0   Nov 07      -  7:44 ora_pz99_SID3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7147075596618164858?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7147075596618164858/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/session-marked-for-killed-forever.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7147075596618164858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7147075596618164858'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/session-marked-for-killed-forever.html' title='Session Marked for Killed Forever'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2669379159579129150</id><published>2009-11-10T16:01:00.001-02:00</published><updated>2009-11-10T16:01:28.776-02:00</updated><title type='text'>Convert Single Instance to RAC Database 10g</title><content type='html'>--Create bdumo,cdump and adump directories on both nodes&lt;br /&gt;mkdir &lt;dbname&gt;1&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;1/bdump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;1/cdump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;1/udump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;1/adump&lt;br /&gt;&lt;br /&gt;mkdir &lt;dbname&gt;2&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;2/bdump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;2/cdump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;2/udump&lt;br /&gt;mkdir -p /dbdbname/admin/&lt;dbname&gt;2/adump&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-On First Node:&lt;br /&gt; --Install Oracle Clusterware (If you don't have it already installed)&lt;br /&gt; --Create the listener on both nodes &lt;br /&gt; --Backup the database and restore it on a shared location like ASM&lt;br /&gt; --Add the following parameters to your pfile&lt;br /&gt;  *.cluster_database = TRUE &lt;br /&gt;  *.cluster_database_instances = 2 &lt;br /&gt;  *.undo_management=AUTO &lt;br /&gt;  &lt;dbname&gt;1.undo_tablespace=undotbs (undo tablespace which already exists) &lt;br /&gt;  &lt;dbname&gt;1.instance_name=&lt;dbname&gt;1&lt;br /&gt;  &lt;dbname&gt;1.instance_number=1 &lt;br /&gt;  &lt;dbname&gt;1.thread=1 &lt;br /&gt;  &lt;dbname&gt;1.local_listener=LISTENER_DB_hostname01&lt;br /&gt;  &lt;dbname&gt;2.instance_name=&lt;dbname&gt;2&lt;br /&gt;  &lt;dbname&gt;2.instance_number=2 &lt;br /&gt;  &lt;dbname&gt;2.local_listener=LISTENER_DB_hostname02&lt;br /&gt;  &lt;dbname&gt;2.thread=2 &lt;br /&gt;  &lt;dbname&gt;2.undo_tablespace=UNDOTBS2 &lt;br /&gt;  &lt;dbname&gt;2.cluster_database = TRUE &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Copy the $ORACLE_HOME/dbs/init&lt;SID&gt;.ora to $ORACLE_HOME/dbs/init&lt;SID1&gt;.ora on node1 and on node2 as SID2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--After create the listener on both nodes, add them at tnsnames.ora file&lt;br /&gt;LISTENER_BPLS_hostname01 =&lt;br /&gt;  (ADDRESS_LIST =&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname01-vip.b2winc.com)(PORT = 1539))&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.201.31)(PORT = 1539))&lt;br /&gt;  )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;LISTENER_BPLS_hostname02 =&lt;br /&gt;  (ADDRESS_LIST =&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = hostname01-vip.b2winc.com)(PORT = 1539))&lt;br /&gt;    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.201.31)(PORT = 1539))&lt;br /&gt;  )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Use an pfile to startup nomount and them create the spfile&lt;br /&gt;&lt;br /&gt;SQL&gt;startup nomount pfile='temp_pfile&lt;dbname&gt;.ora'&lt;br /&gt;&lt;br /&gt;SQL&gt;create SPFILE='+DG_dbname_FRA/&lt;dbname&gt;/spfile&lt;dbname&gt;.ora' from pfile='temp_pfile_1.ora';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt;shutdown immediate&lt;br /&gt;&lt;br /&gt;SQL&gt;startup mount&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Create UNDO tablespaces for both nodes&lt;br /&gt;SQL&gt;create undo tablespace UNDOTBS1 datafile '+DG_dbname_FRA' size 500M;&lt;br /&gt;SQL&gt;create undo tablespace UNDOTBS2 datafile '+DG_dbname_FRA' size 500M;&lt;br /&gt;&lt;br /&gt;--Create redo groups for thread 2&lt;br /&gt;SQL&gt;alter database add logfile thread 2 group 4 size 50M;&lt;br /&gt;SQL&gt;alter database add logfile thread 2 group 5 size 50M;&lt;br /&gt;SQL&gt;alter database add logfile thread 2 group 6 size 50M;&lt;br /&gt;&lt;br /&gt;--Open the database and enable thread 2&lt;br /&gt;SQL&gt;alter database open;&lt;br /&gt;&lt;br /&gt;SQL&gt;alter database enable public thread 2;&lt;br /&gt;&lt;br /&gt;--On second node, copy the init file, change the name to dbnameSID2.ora and start the database&lt;br /&gt;export ORACLE_SID=dbname&lt;SID2&gt;.ora&lt;br /&gt;sqlplus / as sysdba&lt;br /&gt;SQL&gt;startup&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Finally create services&lt;br /&gt;srvctl add database -d &lt;dbname&gt; -o /dbdbname/products/rdbms -p /dbdbname/products/rdbms/init&lt;dbname&gt;.ora&lt;br /&gt;&lt;br /&gt;srvctl add instance -d &lt;dbname&gt; -i &lt;dbname&gt;1 -n hostname01&lt;br /&gt;&lt;br /&gt;srvctl add instance -d &lt;dbname&gt; -i &lt;dbname&gt;2 -n hostname02&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;dbname&gt; =&lt;br /&gt;  (DESCRIPTION =&lt;br /&gt;    (ADDRESS_LIST =&lt;br /&gt;      (ADDRESS = (PROTOCOL = TCP)(HOST = hostname01-vip.b2winc.com)(PORT = 1539))&lt;br /&gt;      (ADDRESS = (PROTOCOL = TCP)(HOST = hostname02-vip.b2winc.com)(PORT = 1539))&lt;br /&gt;      (LOAD_BALANCE = yes)&lt;br /&gt;    )&lt;br /&gt;    (CONNECT_DATA =&lt;br /&gt;      (SERVER = DEDICATED)&lt;br /&gt;      (SERVICE_NAME = &lt;dbname&gt;)&lt;br /&gt;      (FAILOVER_MODE =&lt;br /&gt;        (TYPE = SELECT)&lt;br /&gt;        (METHOD = BASIC)&lt;br /&gt;        (RETRIES = 180)&lt;br /&gt;        (DELAY = 5)&lt;br /&gt;      )&lt;br /&gt;    )&lt;br /&gt;  )&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2669379159579129150?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2669379159579129150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/convert-single-instance-to-rac-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2669379159579129150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2669379159579129150'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/convert-single-instance-to-rac-database.html' title='Convert Single Instance to RAC Database 10g'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-1162232760452602883</id><published>2009-11-10T15:19:00.000-02:00</published><updated>2009-11-10T15:19:43.015-02:00</updated><title type='text'>Using OS tools to monitor swap space and check packages, patches and 64 bit Capacle</title><content type='html'>--AIX&lt;br /&gt;host:root@/&gt; usr/sbin/lsps -a&lt;br /&gt;Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type&lt;br /&gt;paging00        hdisk0            rootvg        6912MB     2   yes   yes    lv&lt;br /&gt;hd6             hdisk1            rootvg        6912MB     2   yes   yes    lv&lt;br /&gt;host:root@/&gt;&lt;br /&gt;&lt;br /&gt;--Check packages on AIX&lt;br /&gt;lslpp -w | grep -i "Patch_Name" (applies to APARs and PTFs)&lt;br /&gt;&lt;br /&gt;--Check patches on AIX&lt;br /&gt;/usr/sbin/instfix -ik patch number&lt;br /&gt;&lt;br /&gt;--Check packages on HP-UX&lt;br /&gt;/usr/sbin/swlist -lproduct PH&lt;br /&gt;/usr/contrib/bin/show_patches&lt;br /&gt;&lt;br /&gt;--Check patches pn HP-UX&lt;br /&gt;/usr/sbin/swlist -l fileset | grep -i&lt;br /&gt;&lt;br /&gt;--Check patches on Solaris&lt;br /&gt;/bin/showrev -p&lt;br /&gt;&lt;br /&gt;--Check packages on Solaris&lt;br /&gt;/bin/pkginfo -l | grep -i "Pkg_Name"&lt;br /&gt;&lt;br /&gt;--Linux&lt;br /&gt;rpm -qa | grep "package name" &lt;br /&gt;rpm -qa --queryformat "%{NAME}-%{VERSION}.%{RELEASE} (%{ARCH})\n" &gt; /tmp/rpm-queryformat.txt&lt;br /&gt;rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}_%{ARCH}\\n" | grep "PKG_Name" &lt;br /&gt;&lt;br /&gt;--Show What package have the library specified on Linux&lt;br /&gt;rpm -q --whatprovides --qf "%{NAME}-%{VERSION}-%{RELEASE}_%{ARCH}\\n" "full path/library name" &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Check if OS is 64 bit or not&lt;br /&gt; --AIX&lt;br /&gt;   lslpp -L | grep 64bit&lt;br /&gt; --HP&lt;br /&gt;   getconf KERNEL_BITS&lt;br /&gt; --Solaris&lt;br /&gt;   /bin/isainfo -kv&lt;br /&gt;&lt;br /&gt;--sar example&lt;br /&gt;sar -r 5 5&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-1162232760452602883?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/1162232760452602883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/using-os-tools-to-monitor-swap-space.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1162232760452602883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/1162232760452602883'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/using-os-tools-to-monitor-swap-space.html' title='Using OS tools to monitor swap space and check packages, patches and 64 bit Capacle'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4210739018565689734</id><published>2009-11-10T14:48:00.000-02:00</published><updated>2009-11-10T14:48:08.974-02:00</updated><title type='text'>Close trace that has been removed to free up space on operational system</title><content type='html'>--You have killed a session that was generating big trace file and deleted the file but the space wasn't freed&lt;br /&gt;&lt;br /&gt;Fisrt, you need to get the spid using the query bellow or use the name of trace file that has this number:&lt;br /&gt;&lt;br /&gt;select &lt;br /&gt;   p.spid &lt;br /&gt;from &lt;br /&gt;   v$process p,&lt;br /&gt;   v$session s&lt;br /&gt;where &lt;br /&gt;   p.addr=s.paddr&lt;br /&gt;and &lt;br /&gt;   s.sid=&lt;SID&gt;;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then, you will use oradebug to close the trace&lt;br /&gt;oradebug setospid &lt;SPID&gt;&lt;br /&gt;oradebug close_trace&lt;br /&gt;&lt;br /&gt;This operation will close the trace file removed and thus freeing up space on your OS.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4210739018565689734?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4210739018565689734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/close-trace-that-has-been-removed-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4210739018565689734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4210739018565689734'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/close-trace-that-has-been-removed-to.html' title='Close trace that has been removed to free up space on operational system'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4472160073564284826</id><published>2009-11-10T11:44:00.000-02:00</published><updated>2009-11-10T11:44:38.479-02:00</updated><title type='text'>TNS-12560 and TNS-00583 when starting Listener</title><content type='html'>If you are trying to start the listener and are runing into the message below:&lt;br /&gt;&lt;br /&gt;###############################################&lt;br /&gt;TNSLSNR for Linux: Version 11.2.0.1.0 - Production&lt;br /&gt;System parameter file is /u01/app/oracle/product/11.2.0/db11g/network/admin/list                                                                              ener.ora&lt;br /&gt;Log messages written to /u01/app/oracle/diag/tnslsnr/dbms/listener/alert/log.xml&lt;br /&gt;Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbms.f2c.com.br)(P                                                                              ORT=1521)))&lt;br /&gt;TNS-12560: TNS:protocol adapter error&lt;br /&gt; TNS-00583: Valid node checking: unable to parse configuration parameters&lt;br /&gt;&lt;br /&gt;###############################################&lt;br /&gt;&lt;br /&gt;Then , rename your sqlnet.ora, listener.ora and create another listener using netca or netmgr an try again. &lt;br /&gt;&lt;br /&gt;This should solve your problem.&lt;br /&gt;&lt;br /&gt;Best Regards,&lt;br /&gt;Paulo Portugal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4472160073564284826?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4472160073564284826/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/tns-12560-and-tns-00583-when-starting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4472160073564284826'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4472160073564284826'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/tns-12560-and-tns-00583-when-starting.html' title='TNS-12560 and TNS-00583 when starting Listener'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2535536673936836543</id><published>2009-11-09T16:37:00.000-02:00</published><updated>2009-11-09T16:37:50.443-02:00</updated><title type='text'>Scripts to Reorg LOB Segments</title><content type='html'>This to script are used to reorg LOB segments.&lt;br /&gt;&lt;br /&gt;The first one will change some parameters of segment and will also shrink it so the move command will run faster.&lt;br /&gt;&lt;br /&gt;The seccond script is the MOVE command.&lt;br /&gt;&lt;br /&gt;Below the examples:&lt;br /&gt;###############################&lt;br /&gt;#####Script Pre-Reorg##########&lt;br /&gt;###############################&lt;br /&gt;&lt;br /&gt;#!/bin/ksh&lt;br /&gt;sqlplus /nolog &amp;lt; ###"&lt;EOF" - Remove '###'&lt;br /&gt;connect system/passwd@SID&lt;br /&gt;show user&lt;br /&gt;spool reorg_otm_18102009_30.log&lt;br /&gt;select sysdate from dual;&lt;br /&gt;&lt;br /&gt;set time on&lt;br /&gt;set timing on&lt;br /&gt;SET LINESIZE 150&lt;br /&gt;SET PAGESIZE 100&lt;br /&gt;SET HEAD OFF&lt;br /&gt;SET ECHO OFF&lt;br /&gt;SET TIME ON;&lt;br /&gt;SET TIMING ON;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;alter table GLOGOWNER.I_TRANSMISSION modify lob (XML_BLOB) (freepools 1);&lt;br /&gt;alter table GLOGOWNER.I_TRANSMISSION modify lob (XML_BLOB) (shrink space cascade);&lt;br /&gt;alter table GLOGOWNER.I_TRANSMISSION modify lob (XML_BLOB) (pctversion 0);&lt;br /&gt;alter table GLOGOWNER.I_TRANSMISSION modify lob (XML_BLOB) (retention);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;spool off&lt;br /&gt;exit;&lt;br /&gt;###EOF - Remove '###'&lt;br /&gt;&lt;br /&gt;###############################&lt;br /&gt;#####Script Reorg##############&lt;br /&gt;###############################&lt;br /&gt;#!/bin/ksh&lt;br /&gt;sqlplus /nolog &amp;lt;###&lt;EOF - Remove '###'&lt;br /&gt;connect system/passwd@SID&lt;br /&gt;show user&lt;br /&gt;spool reorg_otm_18102009_32.log&lt;br /&gt;select sysdate from dual;&lt;br /&gt;&lt;br /&gt;set time on&lt;br /&gt;set timing on&lt;br /&gt;SET LINESIZE 150&lt;br /&gt;SET PAGESIZE 100&lt;br /&gt;SET HEAD OFF&lt;br /&gt;SET ECHO OFF&lt;br /&gt;SET TIME ON;&lt;br /&gt;SET TIMING ON;&lt;br /&gt;&lt;br /&gt;ALTER TABLE GLOGOWNER.I_TRANSMISSION move partition INBOUND2 LOB (XML_BLOB) STORE AS (TABLESPACE LOB4) parallel 8 nologging;&lt;br /&gt;&lt;br /&gt;spool off&lt;br /&gt;exit;&lt;br /&gt;###EOF - Remove '###'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2535536673936836543?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2535536673936836543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/scripts-to-reorg-lob-segments.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2535536673936836543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2535536673936836543'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/scripts-to-reorg-lob-segments.html' title='Scripts to Reorg LOB Segments'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8225483001573350895</id><published>2009-11-09T15:02:00.000-02:00</published><updated>2009-11-09T15:02:29.035-02:00</updated><title type='text'>Backing up OCR , Voting ,Tar CRS_HOME and Inventory Home Before Applying Patch Set</title><content type='html'>Before applying Oracle Patch Set 10.2.0.x on your $CRS_HOME it's advisable to backup your binaries on $CRS_HOME and also your OCR and Voting devices.&lt;br /&gt;&lt;br /&gt;Here is a simple example of how to do that:&lt;br /&gt;&lt;br /&gt;--Backup CRS_HOME&lt;br /&gt; tar cvhf crs_bkp_06_nov_2009_node1.tar /opt/oracle/products/crs&lt;br /&gt; tar cvhf crs_bkp_06_nov_2009_node2.tar /opt/oracle/products/crs&lt;br /&gt; tar cvhf crs_bkp_06_nov_2009_node3.tar /opt/oracle/products/crs&lt;br /&gt;&lt;br /&gt;----Backup inventory&lt;br /&gt; tar cvhf inventory_bkp_06_nov_2009_node1.tar /opt/oracle/oraInventory&lt;br /&gt; tar cvhf inventory_bkp_06_nov_2009_node2.tar /opt/oracle/oraInventory&lt;br /&gt; tar cvhf inventory_bkp_06_nov_2009_node3.tar /opt/oracle/oraInventory&lt;br /&gt;&lt;br /&gt;--Backup OCR (Backups are done automatically by Oracle but it's a good idea to make it again)&lt;br /&gt; ocrconfig -showbackup&lt;br /&gt; ocrconfig -export OCR_export_07_nov_2009_node1 -s online&lt;br /&gt; ocrconfig -export OCR_export_07_nov_2009_node2 -s online&lt;br /&gt; ocrconfig -export OCR_export_07_nov_2009_node3 -s online&lt;br /&gt;       ocrcheck  --checking where they are&lt;br /&gt;       --Using dd command:&lt;br /&gt;       dd  if=/dev/rlv_OCR1  of=bkp_OCR1_node1 &lt;br /&gt; dd  if=/dev/rlv_OCR1  of=bkp_OCR1_node2&lt;br /&gt; dd  if=/dev/rlv_OCR1  of=bkp_OCR1_node3&lt;br /&gt;&lt;br /&gt;--Backup voting disks&lt;br /&gt; crsctl query css votedisk --Checking where they are&lt;br /&gt; dd  if=/dev/rlv_VOTE1  of=bkp_VOTE1_node1 &lt;br /&gt; dd  if=/dev/rlv_VOTE1  of=bkp_VOTE1_node2&lt;br /&gt; dd  if=/dev/rlv_VOTE1  of=bkp_VOTE1_node3&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now you can Upgrade your CRS_HOME using Rolling Upgrade Option or NoRolling (all of then at the same time).&lt;br /&gt;&lt;br /&gt;It's important to remember that when you are upgrading CRS_HOME, all nodes will be marked by default, you can install binaries with all services online (instances, listeners, services and CRS deamons) and just need to shutdown services at the end of installation before runing the root102.sh script. At that time you can stop one node at a time and this is rolling upgrade.&lt;br /&gt;&lt;br /&gt;Make sure that you have read all the Patch Set Note(Installation Note)!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8225483001573350895?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8225483001573350895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/backing-up-ocr-voting-tar-crshome-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8225483001573350895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8225483001573350895'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/backing-up-ocr-voting-tar-crshome-and.html' title='Backing up OCR , Voting ,Tar CRS_HOME and Inventory Home Before Applying Patch Set'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3200611162399121199</id><published>2009-11-09T14:02:00.001-02:00</published><updated>2010-04-29T09:58:13.884-03:00</updated><title type='text'>Backup OCR and Voting Disks</title><content type='html'>Befeore applying Oracle Set Patch like 10.2.0.4 on your $CRS_HOME you should&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3200611162399121199?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3200611162399121199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/backup-ocr-and-voting-disks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3200611162399121199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3200611162399121199'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/backup-ocr-and-voting-disks.html' title='Backup OCR and Voting Disks'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-8669701573589964152</id><published>2009-11-08T13:26:00.001-02:00</published><updated>2009-11-08T13:26:55.517-02:00</updated><title type='text'>Oracle OPatch Utility</title><content type='html'>--opatch prereq commands&lt;br /&gt;&lt;br /&gt; --Check if ORACLE_HOME is valid&lt;br /&gt;  $ opatch prereq CheckOracleHome&lt;br /&gt;&lt;br /&gt; --Check if the oraInst.loc file&lt;br /&gt;  $ opatch prereq CheckOraInstLocation&lt;br /&gt;&lt;br /&gt; --Check Central Inventory&lt;br /&gt;  $ opatch prereq CheckCentralInventoryLocation&lt;br /&gt;&lt;br /&gt; --Check if OH is registered in Inventory&lt;br /&gt;  $ opatch prereq CheckCentralInventoryForOH&lt;br /&gt; &lt;br /&gt; --Check Inventory for Read and Write Permission&lt;br /&gt;  $opatch prereq CheckCentralInventoryForRWSession&lt;br /&gt;&lt;br /&gt; --Check if OH have JDK in it&lt;br /&gt;  $opatch prereq CheckJDK&lt;br /&gt;&lt;br /&gt; --Check if oui in OH is compatible with OPatch utility&lt;br /&gt;  $opatch prereq CheckOUIVersionCompatible&lt;br /&gt;&lt;br /&gt; --Check if libraries required are OK&lt;br /&gt;  $opatch prereq CheckRequiredLibs&lt;br /&gt;&lt;br /&gt; --Check if another session is already locking OH&lt;br /&gt;  $opatch prereq CheckIfOHLockedForPatching&lt;br /&gt;&lt;br /&gt; --Check System Space required&lt;br /&gt;  $opatch prereq CheckSystemSpace&lt;br /&gt;&lt;br /&gt; --Check for conflits among patches already installed&lt;br /&gt;  $opatch prereq CheckConflictAmongPatchesWithDetail&lt;br /&gt;&lt;br /&gt; --Check RAC nodes&lt;br /&gt;  $opatch prereq CheckRACNodeList &lt;br /&gt;&lt;br /&gt; --Check if commands can be invoked on remote machines&lt;br /&gt;  $opatch prereq CheckRemoteCommandInvocable&lt;br /&gt;&lt;br /&gt; --Check permissions for copy and remove files on remote machines&lt;br /&gt;  $opatch prereq CheckRemoteCopyAndRemove&lt;br /&gt;&lt;br /&gt; --Check if Central Inventory has a CRS Home registered&lt;br /&gt;  $opatch prereq CheckForCRSHomeIfRAC&lt;br /&gt;&lt;br /&gt;--opatch util commands&lt;br /&gt;&lt;br /&gt; --Apply a set of patches&lt;br /&gt;  $opatch napply &lt;patch_location&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-8669701573589964152?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/8669701573589964152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/oracle-opatch-utility.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8669701573589964152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/8669701573589964152'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/oracle-opatch-utility.html' title='Oracle OPatch Utility'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4441948760175393215</id><published>2009-11-05T17:52:00.000-02:00</published><updated>2009-11-05T17:52:03.476-02:00</updated><title type='text'>ORA-28368: cannot auto-create wallet</title><content type='html'>If you got this error simple create a directory named "wallet" on your $ORACLE_BASE/admin/$ORACLE_SID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system set encryption key identified by manager;&lt;br /&gt;alter system set encryption key identified by manager&lt;br /&gt;*&lt;br /&gt;ERROR at line 1:&lt;br /&gt;ORA-28368: cannot auto-create wallet&lt;br /&gt;&lt;br /&gt;[ora11g@dbms admin]$ mkdir -p $ORACLE_BASE/admin/$ORALE_SID wallet&lt;br /&gt;&lt;br /&gt;[ora11g@dbms dbms]$ sqlplus / as sysdba&lt;br /&gt;&lt;br /&gt;SQL*Plus: Release 11.2.0.1.0 Production on Thu Nov 5 13:30:43 2009&lt;br /&gt;&lt;br /&gt;Copyright (c) 1982, 2009, Oracle.  All rights reserved.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Connected to:&lt;br /&gt;Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production&lt;br /&gt;With the Partitioning, Oracle Label Security, OLAP, Data Mining,&lt;br /&gt;Oracle Database Vault and Real Application Testing options&lt;br /&gt;&lt;br /&gt;SQL&gt; alter system set encryption key identified by manager;&lt;br /&gt;&lt;br /&gt;System altered.&lt;br /&gt;&lt;br /&gt;SQL&gt; exit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4441948760175393215?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4441948760175393215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/ora-28368-cannot-auto-create-wallet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4441948760175393215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4441948760175393215'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/ora-28368-cannot-auto-create-wallet.html' title='ORA-28368: cannot auto-create wallet'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2761836591526383156</id><published>2009-11-05T16:24:00.000-02:00</published><updated>2009-11-13T23:50:37.666-02:00</updated><title type='text'>Oracle Services - SRVCTL Command</title><content type='html'>################################################&lt;br /&gt;############SRVCTL Command Examples#############&lt;br /&gt;################################################&lt;br /&gt;--Stopping an instance&lt;br /&gt;srvctl stop instance -d capdb14p -i capdb14p1&lt;br /&gt;&lt;br /&gt;--Database status&lt;br /&gt;srvctl status database -d BWEBTST&lt;br /&gt;&lt;br /&gt;--Creating Services&lt;br /&gt;srvctl add service -d database_unique_name -s service_name -r preferred_list[-a&lt;br /&gt;available_list] [-P TAF_policy]&lt;br /&gt;&lt;br /&gt;--Stopping and Starting databases&lt;br /&gt;srvctl start service -d database_unique_name [-s service_name_list] [-i inst_name]&lt;br /&gt;[-o start_options] [-c connect_str | -q]&lt;br /&gt;&lt;br /&gt;srvctl stop service -d database_unique_name -s service_name_list [-i inst_name]&lt;br /&gt;[-o start_options] [-c connect_str | -q]&lt;br /&gt;&lt;br /&gt;--Enable/Disable Services&lt;br /&gt;srvctl enable service -d database_unique_name -s service_name_list [-i inst_name]&lt;br /&gt;srvctl disable service -d database_unique_name -s service_name_list [-i inst_name]&lt;br /&gt;&lt;br /&gt;--Relocating Services&lt;br /&gt;srvctl relocate service -d apps -s crm -i apps1 -t apps3&lt;br /&gt;&lt;br /&gt;--Services Status&lt;br /&gt;srvctl status service -d BWWMSPR -s crm&lt;br /&gt;&lt;br /&gt;--Checking Services&lt;br /&gt;srvctl config service -d BWWMSPR -s crm -a&lt;br /&gt;&lt;br /&gt;--Check services status deep info&lt;br /&gt;srvctl status service -d BWSLPR -s SERV1,SERV2,SERV3,SERVxxx -v -S 9 -f&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2761836591526383156?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2761836591526383156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/oracle-services-servctl-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2761836591526383156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2761836591526383156'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/oracle-services-servctl-command.html' title='Oracle Services - SRVCTL Command'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-2231627190367178808</id><published>2009-11-04T22:22:00.000-02:00</published><updated>2009-11-05T16:29:15.043-02:00</updated><title type='text'>Connecting to TimesTen Instance</title><content type='html'>[oratt@dbms bin]$ ./ttisql&lt;br /&gt;&lt;br /&gt;Copyright (c) 1996-2009, Oracle.  All rights reserved.&lt;br /&gt;Type ? or "help" for help, type "exit" to quit ttIsql.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Command&gt; connect "dsn=TT_1121";  --At this time the database is created and loaded into memory&lt;br /&gt;Connection successful: &lt;br /&gt;Command&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-2231627190367178808?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/2231627190367178808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/connecting-on-timesten-instance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2231627190367178808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/2231627190367178808'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/connecting-on-timesten-instance.html' title='Connecting to TimesTen Instance'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-6702645967238775444</id><published>2009-11-04T18:59:00.000-02:00</published><updated>2009-11-04T18:59:24.459-02:00</updated><title type='text'>Installing Oracle TimesTen on Linux</title><content type='html'>--TimesTen information&lt;br /&gt;###############################################&lt;br /&gt;##############Installing#######################&lt;br /&gt;###############################################&lt;br /&gt; --Default instance name is tt1121_32 and tt1121_64 for 32 and 64bit&lt;br /&gt; --On UNIX the default port is 53384 for 32bit 53388 for 64bit&lt;br /&gt; --Create a group named timesten and put the user on this group&lt;br /&gt; --Create the directory and group&lt;br /&gt;   mkdir /etc/TimesTen&lt;br /&gt;   groupadd ttadmin&lt;br /&gt;          useradd -g ttadmin -oinstall oratt&lt;br /&gt; --Give the right privileges on directories&lt;br /&gt;   # chgrp -R ttadmin /etc/TimesTen&lt;br /&gt;   # chmod 770 /etc/TimesTen/&lt;br /&gt;   # chmod 660 /etc/TimesTen/*&lt;br /&gt; --Install TimesTen using record option to use with batch option in future (optional)&lt;br /&gt;   ./setup.sh -record setup_rec_04112009.rec&lt;br /&gt; --Start TimesTen Instance on rebbot:&lt;br /&gt;   # cd install_dir/bin&lt;br /&gt;   # setuproot -install&lt;br /&gt; --Execute the following command:&lt;br /&gt;   setprivgrp ttadmin MLOCK&lt;br /&gt; --Check the privilege of the group&lt;br /&gt;   getprivgrp timesten&lt;br /&gt;&lt;br /&gt;--Output&lt;br /&gt;[oratt@dbms linux86]$   ./setup.sh -record setup_rec_04112009.rec&lt;br /&gt;&lt;br /&gt;NOTE: Each TimesTen installation is identified by a unique instance name.&lt;br /&gt;      The instance name must be a non-null alphanumeric string, not longer&lt;br /&gt;      than 255 characters.&lt;br /&gt;&lt;br /&gt;Please choose an instance name for this installation? [ tt1121 ] oratt&lt;br /&gt;Instance name will be 'oratt'.&lt;br /&gt;Is this correct? [ yes ]&lt;br /&gt;&lt;br /&gt;Of the three components:&lt;br /&gt;&lt;br /&gt;  [1] Client/Server and Data Manager&lt;br /&gt;  [2] Data Manager Only&lt;br /&gt;  [3] Client Only&lt;br /&gt;&lt;br /&gt;Which would you like to install? [ 1 ]&lt;br /&gt;Where would you like to install the oratt instance of TimesTen? [ /home/oratt ] /u01/app/oracle/product/timesten&lt;br /&gt;Where would you like to create the daemon home directory? [ /u01/app/oracle/product/timesten/TimesTen/oratt/info ]&lt;br /&gt;Installing into /u01/app/oracle/product/timesten/TimesTen/oratt ...&lt;br /&gt;Uncompressing ...&lt;br /&gt;&lt;br /&gt;NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the&lt;br /&gt;      daemon port number must be the same across all TimesTen installations&lt;br /&gt;      managed within the same Oracle Clusterware cluster.&lt;br /&gt;&lt;br /&gt;NOTE: All installations that replicate to each other must use the same daemon&lt;br /&gt;      port number that is set at installation time. The daemon port number can&lt;br /&gt;      be verified by running 'ttVersion'.&lt;br /&gt;&lt;br /&gt;The default port number is 53384.&lt;br /&gt;&lt;br /&gt;Do you want to use the default port number for the TimesTen daemon? [ yes ]&lt;br /&gt;The daemon will run on the default port number (53384).&lt;br /&gt;&lt;br /&gt;NOTE: For security, we recommend that you restrict access to the&lt;br /&gt;      TimesTen installation to members of a single OS group. Only members of&lt;br /&gt;      that OS group will be allowed to perform direct mode connections to&lt;br /&gt;      TimesTen, and only members of that OS group will be allowed to perform&lt;br /&gt;      operations that access TimesTen data stores, TimesTen files and shared&lt;br /&gt;      memory. The OS group defaults to the primary group of the instance&lt;br /&gt;      administrator. You can default to this group, choose another OS group&lt;br /&gt;      or you can make this instance world-accessible. If you choose to make&lt;br /&gt;      this instance world-accessible, all database files and shared memory&lt;br /&gt;      are readable and writable by all users.&lt;br /&gt;&lt;br /&gt;Restrict access to the the TimesTen installation to the group 'ttadmin'? [ yes ]&lt;br /&gt;&lt;br /&gt;NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries.&lt;br /&gt;&lt;br /&gt;Would you like to enable PL/SQL for this instance? [ yes ]&lt;br /&gt;&lt;br /&gt;The daemon logs will be located in /u01/app/oracle/product/timesten/TimesTen/oratt/info&lt;br /&gt;Would you like to specify a different location for the daemon logs? [ no ]&lt;br /&gt;&lt;br /&gt;In order to use the 'In-Memory Database Cache' feature in any databases&lt;br /&gt;created within this installation, you must set a value for the TNS_ADMIN&lt;br /&gt;environment variable. It can be left blank, and a value can be supplied later&lt;br /&gt;using &lt;install_dir&gt;/bin/ttModInstall.&lt;br /&gt;&lt;br /&gt;Please enter a value for TNS_ADMIN (s=skip)? [  ]&lt;br /&gt;Please enter a value for TNS_ADMIN (s=skip)? [  ]&lt;br /&gt;Please enter a value for TNS_ADMIN (s=skip)? [  ] skip&lt;br /&gt;skip is not a readable directory, use it anyways ? [ no ]&lt;br /&gt;Please enter a value for TNS_ADMIN (s=skip)? [  ] /u01/app/oracle/product/timesten/TimesTen/&lt;br /&gt;&lt;br /&gt;TNS_ADMIN will be set to /u01/app/oracle/product/timesten/TimesTen&lt;br /&gt;You can change TNS_ADMIN later by running &lt;install_dir&gt;/bin/ttmodinstall.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Installing server components ...&lt;br /&gt;What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53385 ]&lt;br /&gt;Do you want to install QuickStart and the TimesTen Documentation? [ no ] Yes&lt;br /&gt;Where would you like to install the quickstart and doc directories (s=skip)? [ /u01/app/oracle/product/timesten/TimesTen/oratt ] /u01/app/oracle/product/timesten/TimesTen/oratt/docs&lt;br /&gt;The directory /u01/app/oracle/product/timesten/TimesTen/oratt/docs does not exist.&lt;br /&gt;Do you want to create it? [ yes ]&lt;br /&gt;&lt;br /&gt;The TimesTen Quickstart applications can take up to 64 Mbytes of disk space.&lt;br /&gt;Depending on how your system is configured, you may not want to create the&lt;br /&gt;QuickStart DemoDataStore directory in the default location,&lt;br /&gt;/u01/app/oracle/product/timesten/TimesTen/oratt/info/DemoDataStore&lt;br /&gt;&lt;br /&gt;Where would you like to create the DemoDataStore directory? [ /u01/app/oracle/product/timesten/TimesTen/oratt/info ] /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo&lt;br /&gt;The directory /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo does not exist.&lt;br /&gt;Do you want to create it? [ yes ]&lt;br /&gt;Creating /u01/app/oracle/product/timesten/TimesTen/oratt/info/demo/DemoDataStore ...&lt;br /&gt;&lt;br /&gt;Installing client components ...&lt;br /&gt;&lt;br /&gt;Would you like to use TimesTen Replication with Oracle Clusterware? [ no ]&lt;br /&gt;&lt;br /&gt;NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.&lt;br /&gt;&lt;br /&gt;Run the 'setuproot' script :&lt;br /&gt;        cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin&lt;br /&gt;        ./setuproot -install&lt;br /&gt;This will move the TimesTen startup script into its appropriate location.&lt;br /&gt;&lt;br /&gt;The startup script is currently located here :&lt;br /&gt;  '/u01/app/oracle/product/timesten/TimesTen/oratt/startup/tt_oratt'.&lt;br /&gt;&lt;br /&gt;The Quickstart home page can be accessed here :&lt;br /&gt;  '/u01/app/oracle/product/timesten/TimesTen/oratt/quickstart/index.html'&lt;br /&gt;&lt;br /&gt;The 11.2.1.3 Release Notes are located here :&lt;br /&gt;  '/u01/app/oracle/product/timesten/TimesTen/oratt/README.html'&lt;br /&gt;&lt;br /&gt;Starting the daemon ...&lt;br /&gt;TimesTen Daemon startup OK.&lt;br /&gt;End of TimesTen installation.&lt;br /&gt;[oratt@dbms linux86]$  cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin&lt;br /&gt;[oratt@dbms bin]$ ./setuproot -install&lt;br /&gt;Sorry, you must be root to install the TimesTen daemon start script ...&lt;br /&gt;&lt;br /&gt;[root@dbms timesten]# cd /u01/app/oracle/product/timesten/TimesTen/oratt/bin&lt;br /&gt;[root@dbms bin]# ./setuproot -install&lt;br /&gt;Would you like to install the TimesTen daemon startup scripts into /etc/init.d? [ yes ]&lt;br /&gt;Copying /u01/app/oracle/product/timesten/TimesTen/oratt/startup/tt_oratt to /etc/init.d&lt;br /&gt;&lt;br /&gt;Successfully installed the following scripts :&lt;br /&gt;/etc/init.d/tt_oratt&lt;br /&gt;/etc/rc.d/rc0.d/K45tt_oratt&lt;br /&gt;/etc/rc.d/rc1.d/K45tt_oratt&lt;br /&gt;/etc/rc.d/rc2.d/S90tt_oratt&lt;br /&gt;/etc/rc.d/rc3.d/S90tt_oratt&lt;br /&gt;/etc/rc.d/rc5.d/S90tt_oratt&lt;br /&gt;/etc/rc.d/rc6.d/K45tt_oratt&lt;br /&gt;&lt;br /&gt;###############################################&lt;br /&gt;###########Start/Stop##########################&lt;br /&gt;###############################################&lt;br /&gt;[oratt@dbms startup]$ pwd&lt;br /&gt;/u01/app/oracle/product/timesten/TimesTen/oratt/startup&lt;br /&gt;[oratt@dbms startup]$ ls&lt;br /&gt;tt_oratt&lt;br /&gt;[oratt@dbms startup]$ ./tt_oratt stop&lt;br /&gt;Stopping TimesTen Daemon : [  OK  ]&lt;br /&gt;[oratt@dbms startup]$ ./tt_oratt start&lt;br /&gt;Starting TimesTen Daemon : [  OK  ]&lt;br /&gt;[oratt@dbms startup]$&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-6702645967238775444?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/6702645967238775444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/installing-oracle-timesten-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6702645967238775444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6702645967238775444'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/11/installing-oracle-timesten-on-linux.html' title='Installing Oracle TimesTen on Linux'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4802597451050731530</id><published>2009-10-28T22:47:00.000-02:00</published><updated>2009-10-28T22:47:03.626-02:00</updated><title type='text'>Database Resource Manager on 11gR2</title><content type='html'>Creating a plan that kill session if this session exceeds the CPU limit specified:&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;dbms_resource_manager.create_plan_directive(plan =&amp;gt; 'HIGH',&lt;br /&gt;switch_estimate =&amp;gt; TRUE,&lt;br /&gt;group_or_subplan =&amp;gt; 'oltp_pl',&lt;br /&gt;mgmt_p1 =&amp;gt; 85,&lt;br /&gt;switch_group =&amp;gt; 'kill_session',&lt;br /&gt;switch_time =&amp;gt; 50);&lt;br /&gt;end;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When the session exceeds 50 seconds of CPU usage time, the session is killed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4802597451050731530?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4802597451050731530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/database-resource-manager-on-11gr2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4802597451050731530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4802597451050731530'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/database-resource-manager-on-11gr2.html' title='Database Resource Manager on 11gR2'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-3479306485512063019</id><published>2009-10-28T19:17:00.000-02:00</published><updated>2009-10-28T19:17:12.161-02:00</updated><title type='text'>Calibrating I/O on 11g</title><content type='html'>You can use PL/SQL to calibrate I/O as you can use Database Control. A simple example of how to use this tool using PL/SQL is below:&lt;br /&gt;&lt;br /&gt;declare &lt;br /&gt;&lt;br /&gt;v_max_mbps binary_integer;&lt;br /&gt;v_actual_latency binary_integer;&lt;br /&gt;v_max_iops binary_integer;&lt;br /&gt;begin&lt;br /&gt;dbms_resource_manager.calibrate_io(&lt;br /&gt;num_physical_disks =&amp;gt; 10,&lt;br /&gt;max_latency =&amp;gt; 15,&lt;br /&gt;max_iops =&amp;gt; v_max_iops,&lt;br /&gt;max_mbps =&amp;gt; v_max_mbps,&lt;br /&gt;actual_latency =&amp;gt; v_actual_latency);&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;where:&lt;br /&gt;num_disks:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; number of disks on your storage (approximately)&lt;br /&gt;max_latency:&amp;nbsp; maximum value for a tolerable latency in miliseconds&lt;br /&gt;max_iops:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maximu number of random db-block size read request&lt;br /&gt;actual_latency: average latency&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Now query the view v$io_calibration_status to check the status of job&lt;br /&gt;--Finally check dba_rsrc_io_calibrate to check the results&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-3479306485512063019?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/3479306485512063019/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/calibrating-io-on-11g.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3479306485512063019'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/3479306485512063019'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/calibrating-io-on-11g.html' title='Calibrating I/O on 11g'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7549455415841952298</id><published>2009-10-27T17:53:00.000-02:00</published><updated>2009-10-27T17:53:13.424-02:00</updated><title type='text'>Installing Oracle 11gR2 on RH5 UP3</title><content type='html'>When I was installing&amp;nbsp;Oracle Database 11gR2 on RH5 UP3 I didn't found&amp;nbsp;all elf*.rpm files. As it is a database that I'm using for training purpose, I have just ignored these files and everything os working fine until now :).&lt;br /&gt;&lt;br /&gt;!!!DON'T DO THAT IF YOU ARE INSTALLING FOR A PRODUCTION ENVIRONMENT!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7549455415841952298?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7549455415841952298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/installing-oracle-11gr2-on-rh5-up3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7549455415841952298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7549455415841952298'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/installing-oracle-11gr2-on-rh5-up3.html' title='Installing Oracle 11gR2 on RH5 UP3'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-5646784250227978924</id><published>2009-10-27T17:48:00.000-02:00</published><updated>2009-10-27T17:48:06.673-02:00</updated><title type='text'>Creating Single AWR Baseline Template</title><content type='html'>We cam now , in 11gR2 schedule&amp;nbsp; baseline template to run in a future time just using the package dbms_workload like bellow:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;begin&lt;br /&gt;&lt;br /&gt;dbms_workload_repository.create_baseline_template (&lt;br /&gt;start_time =&amp;gt; to_date('2009/10/28 22:00:00','yyyy/mm/dd hh24:mi:ss'),&lt;br /&gt;end_time =&amp;gt; to_date('2009/10/29 08:00:00','yyyy/mm/dd hh24:mi:ss'),&lt;br /&gt;baseline_name =&amp;gt; 'baseline1',&lt;br /&gt;template_name =&amp;gt; 'base_temp_1',&lt;br /&gt;expiration =&amp;gt; 30);&lt;br /&gt;end;&lt;br /&gt;/&lt;br /&gt;&lt;br /&gt;Then, you can check this object using view wrm$_baseline_template;&lt;br /&gt;&lt;br /&gt;In this example the AWR will create a baseline captured between 2009/10/28 22:00 and 2009/10/29 08:00.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-5646784250227978924?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/5646784250227978924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/creating-single-awr-baseline-template.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5646784250227978924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/5646784250227978924'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/creating-single-awr-baseline-template.html' title='Creating Single AWR Baseline Template'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-4374939888464821596</id><published>2009-10-14T12:59:00.000-03:00</published><updated>2009-10-14T12:59:12.141-03:00</updated><title type='text'>Installing Win XP Professional - Missing xml files</title><content type='html'>If you find problems when installing your win XP Professional because of missing .xml files, try to format your partition and install again. It works for me!&lt;br /&gt;&lt;br /&gt;Ensure that you have backed up everything before that :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-4374939888464821596?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/4374939888464821596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/installing-win-xp-professional-missing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4374939888464821596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/4374939888464821596'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/installing-win-xp-professional-missing.html' title='Installing Win XP Professional - Missing xml files'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-6873210070066591283</id><published>2009-10-13T22:30:00.001-03:00</published><updated>2009-10-13T22:38:41.373-03:00</updated><title type='text'>LOB Segments and enq: HW Contention</title><content type='html'>If you have LOB segments and are experiencing system wait event 'enq: HW Contention' then you should use this workaround:&lt;br /&gt;&lt;br /&gt;1-Check for HW contention:&lt;br /&gt;select&lt;br /&gt;   *&lt;br /&gt;from&lt;br /&gt;   gv$session_wait&lt;br /&gt;where&lt;br /&gt;   event like '%contention%';&lt;br /&gt;&lt;br /&gt;2-Get the block and file id&lt;br /&gt;select&lt;br /&gt;   dbms_utility.data_block_address_file(id2) file#,&lt;br /&gt;   dbms_utility.data_block_address_block(id2)  block#&lt;br /&gt;from&lt;br /&gt;   gv$lock&lt;br /&gt;where&lt;br /&gt;   type='HW'&lt;br /&gt;and&lt;br /&gt;   inst_id= (&amp;amp;use the instance number where you found the HW contention);&lt;br /&gt;&lt;br /&gt;3-Find the object&lt;br /&gt;select&lt;br /&gt;   owner,&lt;br /&gt;   segment_type,&lt;br /&gt;   segment_name&lt;br /&gt;from&lt;br /&gt;   dba_extents&lt;br /&gt;where&lt;br /&gt;   file_id=&amp;amp;USE_THE_FILE#&lt;br /&gt;and&lt;br /&gt;   &amp;amp;USE_BLOCK_NUMBER between block_id&lt;br /&gt;and&lt;br /&gt;   block_id + blocks - 1;&lt;br /&gt;&lt;br /&gt;4-Check the extent size and add one extent:&lt;br /&gt;alter table owner.table_name&lt;br /&gt;   modify lob  (lob_name) (allocate extent (size 131072k));&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5-Your HW Contention have gone. I hope so:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-6873210070066591283?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/6873210070066591283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/lob-segments-and-enq-hw-contention.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6873210070066591283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/6873210070066591283'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/lob-segments-and-enq-hw-contention.html' title='LOB Segments and enq: HW Contention'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3444161262512195873.post-7507003181013549556</id><published>2009-10-13T17:04:00.000-03:00</published><updated>2009-10-13T17:37:12.024-03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PENDING TRANSACTIONS'/><title type='text'>Pending Transactions</title><content type='html'>Use the following queries to get pending transactions and after commit or rollback, purge then if it's necessary:&lt;br /&gt;&lt;br /&gt;--Identifying transactions&lt;br /&gt;select&lt;br /&gt;   'commit force '''local_tran_id'''; '&lt;br /&gt;from&lt;br /&gt;   dba_2pc_pending;&lt;br /&gt;&lt;br /&gt;--Purging&lt;br /&gt;select&lt;br /&gt;   'exec dbms_transaction.purge_lost_db_entry('''local_tran_id'''); '&lt;br /&gt;from&lt;br /&gt;   dba_2pc_pending&lt;br /&gt;where&lt;br /&gt;   state='forced commit';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3444161262512195873-7507003181013549556?l=pauloferreiraportugal.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pauloferreiraportugal.blogspot.com/feeds/7507003181013549556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/pending-transactions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7507003181013549556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3444161262512195873/posts/default/7507003181013549556'/><link rel='alternate' type='text/html' href='http://pauloferreiraportugal.blogspot.com/2009/10/pending-transactions.html' title='Pending Transactions'/><author><name>Paulo Portugal</name><uri>http://www.blogger.com/profile/17897476487933376033</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='33' height='26' src='http://1.bp.blogspot.com/_MDzDAaXMTSg/StX0H9FqmoI/AAAAAAAANyg/S6B9HEkqGiE/S220/Photo.JPG'/></author><thr:total>0</thr:total></entry></feed>
