Thursday, April 30, 2015

Listener Patch - Steps

As Oracle
agent11g
emctl stop agent

As root:
export ORACLE_HOME=/creditS/GRID/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
/creditS/orainst/install/crsctl_stat.sh -o

mv $ORACLE_HOME/OPatch $ORACLE_HOME/OPatch.old
mkdir $ORACLE_HOME/OPatch
chown grid:oinstall $ORACLE_HOME/OPatch
chmod 775 $ORACLE_HOME/OPatch


$ORACLE_HOME/bin/crsctl stop crs


$ORACLE_HOME/crs/install/rootcrs.pl –unlock

 
As grid:
export ORACLE_HOME=/creditS/GRID/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/OPatch
unzip -d $ORACLE_HOME /tmp/p6880880_112000_Linux-x86-64.zip
mkdir –p /tmp/oracle_patch
unzip -d /tmp/oracle_patch  /tmp/p12880299_112030_Linux-x86-64.zip
cd /tmp/oracle_patch/12880299
opatch apply -oh $ORACLE_HOME -local /tmp/oracle_patch/12880299
# give no email address, just press enter.
# say Y to the question: Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
 
As root:
export ORACLE_HOME=/creditS/GRID/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
$ORACLE_HOME/crs/install/rootcrs.pl -patch
/creditS/orainst/install/crsctl_stat.sh -o

If needed:
$ORACLE_HOME/bin/crsctl stop  crs
$ORACLE_HOME/bin/crsctl start crs

-------------------------------------------------


 As root:
(Logoff and login again to clear your environment)

export ORACLE_HOME=/creditS/oracle/product/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
/creditS/orainst/install/crsctl_stat.sh -o

mv $ORACLE_HOME/OPatch $ORACLE_HOME/OPatch.old
mkdir $ORACLE_HOME/OPatch
chown oracle:oinstall $ORACLE_HOME/OPatch
chmod 775 $ORACLE_HOME/OPatch

/creditS/GRID/11.2.0.3/bin/crsctl stop crs





As oracle:
export ORACLE_HOME=/creditS/oracle/product/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/OPatch
cd /creditS/orainst/11.2.0.2/RedHat5_64Bit/patches
unzip –d $ORACLE_HOME p6880880_112000_Linux-x86-64.zip
cd /tmp/oracle_patch/12880299
opatch apply -local
# give no email address, just press enter.
# say Y to the question: Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y

As root:
export ORACLE_HOME=/creditS/GRID/11.2.0.3
export PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
$ORACLE_HOME/bin/crsctl start crs
/creditS/orainst/install/crsctl_stat.sh -o



As Oracle
agent11g
emctl start agent

No comments:

Post a Comment