bsu -debug 诊断
首先看帮助选项:
[root@pxc1 bsu]# ./bsu.sh -help
-help Displays this usage message. REQUIRED
-version Displays version information.
-view View information about applied or downloaded patches. REQUIRED
-patch_download_dir The location of the patch cache directory.
-status Specifies installation status when using the view option. (applied|downloaded) REQUIRED
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-install Install a patch. REQUIRED
-patchlist The list of patches. REQUIRED
-patch_download_dir The location of the patch cache directory.
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-remove Remove a patch. REQUIRED
-patchlist The list of patches. REQUIRED
-verbose Display verbose output
-prod_dir The product installation directory. REQUIRED
-log The path to the log file.
-log_priority The log priority. (trace|debug|info|warn|error|fatal)
开启debug日志记录:
[root@pxc1 bsu]# ./bsu.sh -prod_dir=/weblogic/web11g36/wlserver_10.3 -status=applied -view -log=bsu.log -log_priority=debug
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: /weblogic/web11g36
ProductHome: /weblogic/web11g36/wlserver_10.3
PatchSystemDir: /weblogic/web11g36/utils/bsu
PatchDir: /weblogic/web11g36/patch_wls1036
Profile: Default
DownloadDir: /weblogic/web11g36/utils/bsu/cache_dir
JavaVersion: 1.6.0_29
JavaVendor: Sun
Patch ID: CW7X (31241365)
Patch ID: NA7A (31641257)
[root@pxc1 bsu]#
[root@pxc1 bsu]# tail -fn100 bsu.log
2020-11-26 08:58:36,447 DEBUG [main] com.bea.plateng.patch.PatchHelper - BEA Patch Managment System 3.3.0.0 (Irish Bank) Started.
2020-11-26 08:58:36,478 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTargetHelper - beaHome: /weblogic/web11g36
2020-11-26 08:58:36,478 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTargetHelper - Getting the registry
2020-11-26 08:58:36,965 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTargetHelper - Got the registry
2020-11-26 08:58:36,978 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product id: Common Infrastructure Engineering
2020-11-26 08:58:36,978 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product release: 7.4.0.0
2020-11-26 08:58:36,978 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product is installed: true
2020-11-26 08:58:36,979 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product id: WebLogic Server
2020-11-26 08:58:36,979 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product release: 10.3.6.0
2020-11-26 08:58:36,979 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product is installed: true
2020-11-26 08:58:37,209 DEBUG [Thread-0] com.bea.plateng.patch.PatchSystem - getting the catalog from the cahce dir: /weblogic/web11g36/utils/bsu/cache_dir
2020-11-26 08:58:37,212 DEBUG [Thread-0] com.bea.plateng.patch.dao.cat.PatchCatalogHelper - getting patchcatalog for /weblogic/web11g36/utils/bsu/cache_dir
2020-11-26 08:58:37,213 DEBUG [Thread-0] com.bea.plateng.patch.dao.cat.PatchCatalogHelper - getting patchcatalog for /weblogic/web11g36/utils/bsu/cache_dir and file available
2020-11-26 08:58:42,603 DEBUG [Thread-0] com.bea.plateng.patch.dao.cat.PatchCatalogHelper - No of patch_catalog_ver.xml in /weblogic/web11g36/utils/bsu/cache_dir are:6
2020-11-26 08:58:42,606 DEBUG [Thread-0] com.bea.plateng.patch.dao.pio.PatchProductInfoHelper - Getting product info from prodInfoDir: /weblogic/web11g36/utils/bsu/cache_dir
2020-11-26 08:58:42,606 DEBUG [Thread-0] com.bea.plateng.patch.dao.pio.PatchProductInfoHelper - Getting product info from resource
2020-11-26 08:58:42,606 DEBUG [Thread-0] com.bea.plateng.patch.dao.pio.PatchProductInfoHelper - prod-info file: file:/weblogic/web11g36/modules/com.bea.cie.patch-common_3.3.0.0.jar!/resources/patch-common/prod-info.xml
2020-11-26 08:58:42,607 DEBUG [Thread-0] com.bea.plateng.patch.dao.pio.PatchProductInfoHelper - Getting product info from resource and resource avialable
2020-11-26 08:58:42,662 DEBUG [Thread-0] com.bea.plateng.patch.dao.pio.PatchProductInfoFactory - Creating ProductInfo from inputStream: java.io.FileInputStream@78f14616 and obscure false
2020-11-26 08:59:12,731 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product id: Oracle Configuration Manager
2020-11-26 08:59:12,738 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product release: 10.3.5.0
2020-11-26 08:59:12,739 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTarget - product is installed: true
2020-11-26 08:59:12,747 DEBUG [Thread-0] com.bea.plateng.patch.ProductAliasTargetHelper - prodAliasTargetList: [ Release: 10.3 MP6]
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端