cd /tmp/
cp p31641257_1036_Generic.zip /opt/sfw/oracle/middleware/utils/bsu/cache_dir
cd /opt/sfw/oracle/middleware/utils/bsu/cache_dir
cd /opt/sfw/oracle/middleware/utils/bsu
========================================================================
vi bsu.sh
========================================================================
#!/bin/sh
JAVA_HOME="/opt/sfw/oracle/middleware/Oracle_BI/jdk"
MEM_ARGS="-Xms1024m -Xmx4096m"
==========================================================================
[oracle@sukhoi bsu]$ ./bsu.sh -view -status=applied -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3 -verbose
ProductName: WebLogic Server
ProductVersion: 10.3 MP6
Components: WebLogic Server/Core Application Server,WebLogic Server/Admi
nistration Console,WebLogic Server/Configuration Wizard and
Upgrade Framework,WebLogic Server/Web 2.0 HTTP Pub-Sub Serve
r,WebLogic Server/WebLogic SCA,WebLogic Server/WebLogic JDBC
Drivers,WebLogic Server/Third Party JDBC Drivers,WebLogic S
erver/WebLogic Server Clients,WebLogic Server/WebLogic Web S
erver Plugins,WebLogic Server/UDDI and Xquery Support,WebLog
ic Server/Evaluation Database,WebLogic Server/Workshop Code
Completion Support
BEAHome: /opt/sfw/oracle/middleware
ProductHome: /opt/sfw/oracle/middleware/wlserver_10.3
PatchSystemDir: /opt/sfw/oracle/middleware/utils/bsu
PatchDir: /opt/sfw/oracle/middleware/patch_wls1036
Profile: Default
DownloadDir: /opt/sfw/oracle/middleware/utils/bsu/cache_dir
JavaVersion: 1.6.0_29
JavaVendor: Sun
Patch ID: FMJJ
PatchContainer: FMJJ.jar
Checksum: 591477727
Severity: optional
Category: General
CR/BUG: 26519424
Restart: true
Description: WLS PATCH SET UPDATE 10.3.6.0.171017
WLS PATCH SET UPDATE 10
.3.6.0.171017
======================================================
login as oracle:
======================================================
/etc/init.d/wlsadmin stop
/etc/init.d/wlsbip stop
======================================================
Login as root
======================================================
/etc/init.d/puppet3 stop
puppet3 agent --disable
======================================================
Error we get the same in FMJJ Patch.
======================================================
[oracle@sukhoi bsu]$ ./bsu.sh -remove -patchlist=FMJJ -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3/
Checking for conflicts..............
No conflict(s) detected
Removing Patch ID: FMJJ.
Result: Failure
java.io.IOException: Unable to backup file /opt/sfw/oracle/middleware/wlserver_10.3/bugsfixed/WLS-PSU-bugsfixed.txt to /opt/sfw/oracle/middleware/wlserver_10.3/bugsfixed/WLS-PSU-bugsfixed.txt32684.bak
Result: Failure
java.io.IOException: Unable to backup file /opt/sfw/oracle/middleware/wlserver_10.3/bugsfixed/WLS-PSU-bugsfixed.txt to /opt/sfw/oracle/middleware/wlserver_10.3/bugsfixed/WLS-PSU-bugsfixed.txt32684.bak
[oracle@sukhoi wlserver_10.3]$ ls -ltr
total 0
drwxr-x--- 3 oracle oinstall 20 Nov 25 21:12 sip
drwxr-x--- 2 oracle oinstall 6 Nov 25 21:12 L10N
drwxr-x--- 11 oracle oinstall 117 Nov 25 21:12 server
drwxr-x--- 11 oracle oinstall 147 Nov 25 21:12 common
drwxr-x--- 3 oracle oinstall 25 Nov 25 21:12 inventory
drwxr-x--- 2 oracle oinstall 51 Nov 25 21:12 uninstall
drwxr-xr-x 2 root root 123 Nov 30 16:45 bugsfixed
======================================================
Work around:
============================================================================================================
change the owner to oracle:oinstall bugsfixed
============================================================================================================
Work around:
[oracle@sukhoi bsu]$ ./bsu.sh -remove -patchlist=FMJJ -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3/
Checking for conflicts..............
No conflict(s) detected
Removing Patch ID: FMJJ..
Result: Failure
java.io.FileNotFoundException: /opt/sfw/oracle/middleware/patch_wls1036/backup/backup.jar8008.bak (Permission denied)
Result: Failure
java.io.FileNotFoundException: /opt/sfw/oracle/middleware/patch_wls1036/backup/backup.jar8008.bak (Permission denied)
[oracle@sukhoi patch_wls1036]$ ls -ltr
total 4
drwxr-xr-x 3 oracle oinstall 21 Nov 30 04:21 profiles
drwxr-xr-x 2 oracle oinstall 4096 Nov 30 16:45 patch_jars
drwxr-xr-x 2 root root 56 Nov 30 16:45 registry
drwxr-xr-x 2 root root 24 Nov 30 16:45 backup
Work around: change the owner to oracle:oinstall registry backup
============================================================================================================
[oracle@sukhoi bsu]$ ./bsu.sh -remove -patchlist=FMJJ -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3/
Checking for conflicts..............
No conflict(s) detected
Removing Patch ID: FMJJ..
Result: Failure
java.io.FileNotFoundException: /opt/sfw/oracle/middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar16854.bak (Permission denied)
Result: Failure
java.io.FileNotFoundException: /opt/sfw/oracle/middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar16854.bak (Permission denied)
============================================================================================================
Work around: change the owner to oracle:oinstall sys_manifest_classpath
============================================================================================================
[oracle@sukhoi bsu]$ ./bsu.sh -remove -patchlist=FMJJ -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3/
Checking for conflicts..............
No conflict(s) detected
Removing Patch ID: FMJJ..
Result: Success
============================================================================================================
[oracle@sukhoi bsu]$ ./bsu.sh -install -patch_download_dir=/opt/sfw/oracle/middleware/utils/bsu/cache_dir/ -patchlist=NA7A -prod_dir=/opt/sfw/oracle/middleware/wlserver_10.3/
Checking for conflicts..............
No conflict(s) detected
Installing Patch ID: NA7A..
Result: Success
No comments:
Post a Comment