|
|
本帖最后由 jiawang 于 2026-6-29 18:30 编辑
应用补丁报错[oracle@hisrecover dbhome_1]$ ./runInstaller -silent -applyRU /u01/36233263
Preparing the home to patch...
Preparing the home to apply the patch failed. For details look at the logs from /u01/app/oraInventory/logs.
The log can be found at: /u01/app/oraInventory/logs/InstallActions2026-06-29_05-01-13PM/installerPatchActions_2026-06-29_05-01-13PM.log
Launching Oracle Database Setup Wizard...
[WARNING] [INS-08101] Unexpected error while executing the action at state: 'supportedOSCheck'
CAUSE: No additional information available.
ACTION: Contact Oracle Support Services or refer to the software manual.
SUMMARY:
- java.lang.NullPointerException
查看报错日志发现是swap分区空间不足导致的
[oracle@hisrecover logs]$ more AttachHome2026-06-29_05-01-14PM.log
The file oraparam.ini could not be found at /u01/app/oracle/product/19.0.0/dbhome_1/oui/bin/oraparam.ini
Using paramFile: /u01/app/oracle/product/19.0.0/dbhome_1/oui/oraparam.ini
Checking swap space: 0 MB available, 500 MB required. Failed <<<<Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,
Exiting Oracle Universal Installer, log for this session can be found at /u01/app/oraInventory/logs/AttachHome2026-06-29_05-01-14PM.log
[oracle@hisrecover logs]$ free -h
total used free shared buff/cache available
Mem: 15Gi 1.5Gi 492Mi 31Mi 13Gi 13Gi
Swap: 0B 0B 0B
使用文件作为swap
[root@hisrecover ~]# dd if=/dev/zero of=/swapfile bs=1M count=4096
记录了4096+0 的读入
记录了4096+0 的写出
4294967296字节(4.3 GB,4.0 GiB)已复制,10.3397 s,415 MB/s
[root@hisrecover ~]# chmod 600 /swapfile
[root@hisrecover ~]# mkswap /swapfile
正在设置交换空间版本 1,大小 = 4 GiB (4294963200 个字节)
无标签,UUID=cbfc10c4-26fd-4bbc-a92d-dec5e17fe6f4
[root@hisrecover ~]# swapon /swapfile
永久挂载,在/etc/fstab 文件增加标红的信息
[oracle@hisrecover ~]$ cat /etc/fstab
#
# /etc/fstab
# Created by anaconda on Mon Jun 29 02:44:18 2026
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/ol-root / xfs defaults 0 0
UUID=fc73f8e5-2da9-4b55-9909-6f4a1a75b7e0 /boot xfs defaults 0 0
UUID=92d1de78-3e12-4081-afd8-6945e6948f16 /data xfs deaults 0 0
UUID="2024-05-02-20-35-07-00" /mnt iso9660 defaults,ro 0 0
/swapfile swap swap defaults 0 0
[oracle@hisrecover ~]$
再次执行成功
[oracle@hisrecover dbhome_1]$ ./runInstaller -applyRU /u01/36233263/
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Preparing the home to patch...
Applying the patch /u01/36233263/...
Successfully applied the patch.
The log can be found at: /u01/app/oraInventory/logs/InstallActions2026-06-29_05-07-55PM/installerPatchActions_2026-06-29_05-07-55PM.log
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
|
|