Oracle 19C, Linux update and migration
- dnf update && dnf upgrade && dnf autoremove
- Adapting /etc/hosts
- hostname -b redhat9-o19.localdomain
- curl -o oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm
- dnf -y localinstall oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm
- /sbin/sysctl -p /etc/sysctl.d/99-oracle-database-preinstall-19c-sysctl.conf
- tmp.sh :
- dnf install -y bc binutils compat-openssl11 elfutils-libelf fontconfig glibc glibc-devel ksh libaio libasan liblsan libX11 libXau libXi libXrender libXtst libxcrypt-compat libgcc libibverbs libnsl librdmacm libstdc++ libxcb libvirt-libs make policycoreutils policycoreutils-python-utils smartmontools sysstat glibc-headers ipmitool libnsl2 net-tools nfs-utils gcc unixODBC tuned-profiles-oracle tigervnc-server
- vi /etc/selinux/config
- SELINUX=permissive
- tuned-adm profile oracle
- Enabled "tigervnc-server" for X usage (installation of Oracle)
- needed to get X going:
- "yum group install GNOME base-x Fonts"
- systemctl start vncserver@:13
- Download: oracle-database-ee-19c-1.0-1.x86_64.rpm
- yum localinstall oracle-database-ee-19c-1.0-1.x86_64.rpm
- "install done!"
- vi
/etc/sysconfig/oracledb_ORCLCDB-19c.conf - root: "export CV_ASSUME_DISTID=OL7"
- ... from log file.....
Creating Pluggable Databases58% complete77% completeExecuting Post Configuration Actions100% completeDatabase creation complete. For details check the logfiles at:/opt/oracle/cfgtoollogs/dbca/ORCLCDB.Database Information:Global Database Name:ORCLCDBSystem Identifier(SID):ORCLCDBLook at the log file "/opt/oracle/cfgtoollogs/dbca/ORCLCDB/ORCLCDB1.log" for further details. Database configuration completed successfully. The passwords were auto generated, you must change them by connecting to the database using 'sqlplus / as sysdba' as the oracle user.
- After a LOT of issues... the solution is as follows:
# Fix for linking error suggested by Steven Kennedy. cd $ORACLE_HOME/lib/stubs mv libc.so libc.so.hide mv libc.so.6 libc.so.6.hide
- oracle@redhat9o19 dbhome_1]$ unzip -q ~/Downloads/p6880880_190000_Linux-x86-64.zip
- [oracle@redhat9o19 dbhome_1]$ cd patches/37260974/
- [oracle@redhat9o19 37260974]$ opatch apply
- Mismatch errors in cloned PDB in restricted mode (Doc ID 2964459.1)
--- run the script, close the PDB and reopen .. and done!
Database Express:
to see data:
ALTER SYSTEM SET control_management_pack_access="diagnostic+tuning" scope=both ;
Kommentarer
Send en kommentar