The Problem We have had some instances where it seemed that starting rac databases through sqlplus caused performance issues (high load on database server ). Restarting the nodes using srvctl seemed to resolve the performance issue. “Is there any difference between using srvctl vs using sqlplus for starting or stopping one or more database nodes.”? […]
Archives for November 2018
How To Change Timezone for Oracle Grid Infrastructure
This post illustrates how to change timezone setting for Grid Infrastructure after installation. Note: To check the current time zone on Linux, use the command: “timedatectl | grep ‘Time zone’” To check the current time zone on Windows, use the command: “systeminfo | findstr /C:”Time Zone”“ Grid Time Zone Setting Once OS default timezone is […]
How to Set the TimeZone in Solaris 10,11
The Ask In Solaris Operating System (OS), where is the default timezone set, and how can it be changed? Solaris 11 OS and above 1. The default timezone is defined as a property of the “svc:/system/timezone:default” SMF service: # svcs timezone STATE STIME FMRI online Aug_22 svc:/system/timezone:default # svcprop timezone:default |grep localtime timezone/localtime astring US/Eastern […]
Cannot Increase “nproc” Value More Than 1024 in CentOS/RHEL 6
The Problem “/etc/security/limits.conf” is updated with the following and the server is rebooted: # vi /etc/security/limits.conf * – nproc 16384 However, “ulimit -a” (for root & all users) still shows the 1024 for “max user processes” instead of 16384: # ulimit -a … max user processes (-u) 1024 … The Solution CentOS/RHEL 6 has another […]
How to Execute Scripts/Commands using /etc/rc.d/rc.local in CentOS/RHEL 7
The Problem The scripts/commands in the configuration file /etc/rc.d/rc.local could not work at boot time in a CentOS/RHEL 7 system. Same used to work in earlier CentOS/RHEL versions. Is it depricated or is there a workaround to still use this method? The Answer The rc.local service is stopped by default in CentOS/RHEL 7. If you […]
Unable to Run X Applications Through SSH in Linux
The Problem The user is unable to run X applications through SSH on a CentOS/RHEL system. The following message is displayed: # xclock Error: Can’t open display: The Solution 1. X11 forwarding is disabled on SSH login unless “-X” option is specified: # ssh -X user@address 2. It may have been disabled in “/etc/ssh/sshd_config” with […]
How to Find Number of CPU Sockets on a CentOS/RHEL System
In our company we have some 3rd-party products installed on CentOS/RHEL systems. The Application team needed to do some accounting on how each product was licensed using number of CPU sockets in the each system. Sadly they did not have any type of CMDB in place to help (Configuration Management Database – something very handy […]
How to Check Solaris Release and Default Kernel Version
How to Determine the Installed Solaris OS Release The most reliable method for determining the release of the Solaris OS installed is through the contents of the /etc/release file. This file was first introduced in Solaris 2.5.1 HW 4/97 and is included in all subsequent versions. The various tables shown below can be used to […]
XFS error: Unable to mount filesystem With Noacl Permission in CentOS/RHEL 7
The Problem User is unable to mount xfs with noacl permission. noactl mount option for xfs file system is set in /etc/fstab file. # cat /etc/fstab /dev/sbb1 /mnt xfs inode64.noacl 0 0 But mounting failed with error below. # mount -v /mnt mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg_cdm_ebsul06_N00-appl_ptch, missing codepage or […]
How To Execute The Pstack Command On CentOS/RHEL
The pstack(1) command print a stack trace of a running process. Use the below steps to install it on a CentOS/RHEL system. What Package provides pstack Command For CentOS/RHEL 5 The pstack package can be installed with: # yum install pstack For CentOS/RHEL 6,7 In CentOS/RHEL 6/7, the pstack tool is provided by gdb package. […]