I provisioned a new EC2 instance on AWS using the current RHEL7 AMI (machine image).
Issue #1 (SOLVED)
- Installing oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm failed due to missing dependency on compat-libstdc++-33
This required enabling additional AWS RHEL repositories. I *think* just the 2nd one (*server-optional) is needed but didn't try just that one.
# yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
Issue #2 -- pending
- After installing the oracle-database-xe-18c-1.0-1.x86_64.rpm, the /var/log/oracle-database-preinstall-18c/results/orakernel.log contains an error from grub2-set-default command.
Snip of the log is below. Does anyone know if this can be ignored or is a manual intervention needed?
Setting kernel boot parameters as per Oracle recommendations...
G_DIR=/boot/grub2
Getting the first entry available in /boot/grub/grub.conf for 3.10.0-862.el7.x86_64)
Default kernel is -> 3.10.0-862.el7.x86_64)
Default saved_entry is -> Red Hat Enterprise Linux Server (3.10.0-862.el7.x86_64) 7.5 (Maipo)
Default saved_entry_line is -> kernel /boot/vmlinuz-3.10.0-862.el7.x86_64 ro root=UUID=50a9826b-3a50-44d0-ad12-28f2056e9927 console=hvc0 LANG=en_US.UTF-8
Saving a copy of grubenv... in /var/log/oracle-database-preinstall-18c/backup/Oct-22-2018-04-21-05
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-862.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-862.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-87aaf1cb8ace44eab1e4e693b7ca88bf
Found initrd image: /boot/initramfs-0-rescue-87aaf1cb8ace44eab1e4e693b7ca88bf.img
done
Unable to obtain the replica of saved entry line in new grub.cfg. Defaulting to first line matching the kernel
The saved kernel 3.10.0-862.el7.x86_64) is now at position - -1
Unrecognized option `-1'
Usage: grub2-set-default [OPTION] MENU_ENTRY
Set the default boot menu entry for GRUB.
This requires setting GRUB_DEFAULT=saved in /etc/default/grub.
-h, --help print this message and exit
-v, --version print the version information and exit
--boot-directory=DIR expect GRUB images under the directory DIR/grub2
instead of the /boot/grub2 directory
MENU_ENTRY is a number, a menu item title or a menu item identifier.
Report bugs to <bug-grub@gnu.org>.
WARNING: Unable to restore boot order. Please check & correct default kernel
Boot parameters will be effected on next reboot
Altered file /etc/default/grub
Copy of the changed file is in - /etc/default/grub-oracle-database-preinstall-18c.orabackup
Copy of the original file is in - /var/log/oracle-database-preinstall-18c/backup/Oct-22-2018-04-21-05
Verification & setting of boot parameters passed