If you try changing a static parameter value in the SPFILE used at instance startup, you would get the following error message: SQL> alter system set audit_trail=DB scope=both; * ERROR at line 1: ORA-02095: specified initialization parameter cannot be modified SCOPE=BOTH applies the modification at the instance level and in the spfile used at startup. […]
Archives for October 2019
Troubleshooting slow network communication or Connection Timeouts in Linux
Troubleshooting a slow network or network packet drops can be tricky. In addition to slower network communication, there may be additional symptoms observed, such as : Attempts to connect to a server with ssh and/or sftp results in time-outs or a delayed response. When the network load goes high, there are high number of network […]
Unable to instantiate disk “ASM_DISK” – error on running ‘oracleasm scandisks’ command
The Problem The new disk has been assigned to a host and the user needs to run a scandisk. But the command fails to instantiate new disks with the below error. # oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks… Scanning system for ASM disks… Instantiating disk “ASM_DISK_01” Unable to instantiate disk […]
CentOS/RHEL – vgs command reports error: “global/global_filter” unknown
The Problem The user has set a new value for the parameter global_filter in the /etc/lvm/lvm.conf file. After setting the parameter value ‘vgs’ command gives below error: # vgs Configuration setting “global/global_filter” unknown. … The Solution User has put the “global_filter” parameter under the ‘global {}‘ section in /etc/lvm/lvm.conf configuration file. global { … global_filter […]
3 Ways of Increasing Swap Space on Linux
Sometimes the default physical memory is not enough to serve certain tasks or processes. It may happen that the processes are swapping more memory in and out of the swap space. This post helps to explain how to increase the swap memory on a Linux system. There will be 3 different ways explained in this […]
How to resize (extend) a partition-based file system in Linux
Note: Resizing a filesystem on a disk parition can be dangerous and can result in loss of data. Make sure you have the backup taken prior to following the steps outlined below. Caveats 1. The filesystem you want to resize must reside on the last partition of the disk. There is no data loss in […]
Basic “chmod” Command examples in Linux
The Linux command to change permissions on a file or directory is chmod, which we like to read as change file mode. chmod has two operating modes: symbolic mode numeric/octal mode To change permission using the Linux chmod command we have to follow some syntax and rules. As we discussed above we can change permission […]
“lsb_release: command not found” – Fix in CentOS/RHEL
The Problem While executing the command “lsb_release -r” to display the release number of the currently installed distribution, user gets below error: # lsb_release -v -bash: lsb_release: command not found How this can be resolved? The Solution To check the RedHat/CentOS version one can use the “lsb_release” command. In most cases, the package providing this […]
How to enable the automatic extension for a thin LVM volume
By default, the automatic extension is set to ‘100‘ # grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf # Configuration option activation/thin_pool_autoextend_threshold. # thin_pool_autoextend_threshold = 70 thin_pool_autoextend_threshold = 100 These settings imply the function has been disabled. From the /etc/lvm/lvm.conf configuration file: # ‘thin_pool_autoextend_threshold’ and ‘thin_pool_autoextend_percent’ define # how to handle automatic pool extension. The former defines when the # […]