Many security audits and checklists like the ones supplied by CIS or DISA STIG require locking user accounts after a number of unsuccessful login attempts. In Linux, this is usually achieved by using faillock / pam_faillock.so. Using PAM PAM (Pluggable Authentication Modules) is the flexible framework in modern Linux to customize the authentication and login […]
Category: Linux / Unix
My experiences with the penguin and his colleagues.
Database 19c Certified for Oracle Linux 9 – Preinstall Package Available
Oracle Database 19c is certified for Oracle Linux 9 now (minimum requirement RU19.19). The Oracle Database preinstall package in its initial version is also available on the public Oracle yum server, in the AppStream Repo. https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64/getPackage/oracle-database-preinstall-19c-1.0-1.el9.x86_64.rpm […]
Oracle gridSetup.sh Fails with Error Code 255
Bash Error 255 Sometimes you have to apply a RU when launching Oracle 19c gridSetup.sh to install Oracle Grid Infrastructure or Oracle restart. For example when you install it in its vanilla 19.3 version on Oracle Linux 8. OL8 did not exist when they made 19.3, so some of its specials (like verifying group/user existence) […]
Create Oracle Data Guard Standby with DBCA
Demands of Automation You can easily create an Oracle Data Guard Standby Database with the Database Configuration Assistant DBCA. That’s especially interesting if you have automation at work, and are not keen on configuring stuff all over the place. This is available in version 19c upwards. DBCA uses RMAN DUPLICATE FOR STANDBY with an auxiliary […]
ORATOP in Oracle 19c
In 19c , the useful utility “oratop” is shipped with the Oracle Home installation. It was linked to the recent libaries, and its command line syntax changed. Error This leads to errors when calling one of the old “download” binaries like oratop12c-64.bin in a 19c environment: /home/oracle/bin/oratop12c-64.bin: error while loading shared libraries: libclntshcore.so.12.1: cannot open […]
Oracle on SLES12 SP2 – Avoiding Cgroup Task Limit
Once upon a time, there was an Oracle RAC cluster 12.2.0.1 on SUSE Linux Enterprise Server (SLES) 12 SP2, that did not do well. Its database and ASM instances used to fail with: ORA-27300: OS system dependent operation:fork failed with status: 11 ORA-27301: OS failure message: Resource temporarily unavailable ORA-27302: failure occurred at: skgpspawn3 Of […]
Oracle 12.2 sysctl.conf Default Preinstall Settings
This are the currently active settings, the oracle-database-server-12cR2-preinstall.rpm delivers on Oracle Linux 7. Maybe it’s useful for you when setting up Oracle 12.2 on SUSE / SLES where you are on your own. Maybe you also want to add Huge Pages: # Performing Databases Huge Page Settings # for SGA size 200GB and huge page […]
Oracle RAC 12.2 on SLES12 – How to disable Hardware Lock Elision Support
The Problem In the last week, I had to set up an Oracle RAC (and thus, the Clusterware) version 12.2.0.1 on SuSE Linux Enterprise Server 12 SP2 (SLES12 Sp2). The gridSetup.sh failed latest in root.sh of the first node with a kinda non-intuitive error: CRS-5804: Communication error with agent process CRS-4000: Command Start failed, or […]
Oracle RAC 12.2 High Load on CPU from gdb when Node Missing
Recently I had to battle a new issue with the quite-new Oracle Database RAC Version 12.2.0.1 on Linux x86_64. The idea of RAC is, to compensate the loss of a node or service by restarting services on other nodes. But in my case, when one node in a two-node-Cluster was down (or the crs stack […]
Oracle Enterprise Linux 7: How to stop bash tab completion from escaping the dollar $
Did you ever wonder why bash in Oracle Linux, Red Hat Enterprise Linux and other recent Linuxes escapes the dollar sign ($) when completing paths with the tabulator (tab) key like that: [oracle@oratest01 ~]$ (KLM12102) ls -l \$ORACLE_BASE/diag Answer In bash >= 4.2.29 you have a “direxpand” option, which is NOT set by default. The […]