• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS/RHEL 4

‘Found duplicate PV’ warnings when using LVM with multipath storage in RHEL/CentOS

by admin

The Problem Messages such as the following are reported when running commands such as partprobe on a CentOS/RHEL system using LVM (Logical Volume Manager) and multipathing e.g. device-mapper-multipath or EMC PowerPath, etc.: Error: Error informing the kernel about modifications to partition /dev/sda1 — Device or resource busy. This means Linux won’t know about any changes […]

Filed Under: CentOS/RHEL 4, CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Automate Startup/Shutdown of Oracle Database and Listener on Linux

by admin

In many environments, it’s desirable to have the Oracle database and listener automatically shutdown and startup when the server reboots. If you have that requirement, then follow the next several steps to automate your database and listener shutdown and startup: Steps to configure auto startup/shutdown 1. Edit the /etc/oratab file, and place a Y at […]

Filed Under: CentOS/RHEL 4, CentOS/RHEL 5, CentOS/RHEL 6, Fedora, Linux, OEL 6

How to Change Default Permission of /var/log/messages in CentOS/RHEL

by admin

By default, /var/log/messages* are created with read-write permissions for ‘root’ user only. There might be a requirement to make the log files world readable for eg to allow an application to read and process the data in it. Changing the permissions on such files using ‘chmod’ might be a temporary solution as they will be […]

Filed Under: CentOS/RHEL 4, CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

How to Disable “alt+ctrl+Del” Key Combination causing reboot in CentOS/RHEL 4,5

by admin

The key combination “Ctrl+Alt+Del”, when pressed on a virtual console (black-screen tty), causes the system to reboot. This is the default behavior and sometimes people don’t like this feature as it may cause accidental reboots of the system. The post provides the procedure on how to disable “alt+ctrl+del” key combination in order to prevent an […]

Filed Under: CentOS/RHEL 4, CentOS/RHEL 5, Linux

CentOS / RHEL : How to add new swap partition

by admin

Question I have a new disk attached to the system. How can I create a new swap partition using this disk on the system? Solution For the purpose of this post, let’s assume that you do not have any swap configured on your system. /dev/sdc is the drive referenced with no partitions. Since we are […]

Filed Under: CentOS/RHEL 4, CentOS/RHEL 5, CentOS/RHEL 6, CentOS/RHEL 7, Linux

CentOS / RHEL 4 : How to configure interface bonding (NIC teaming)

by admin

Follow the 4 steps below to configure the bonding interface: 1. configure bonding driver, as well as the bonding mode and parameters using the configuration file /etc/modprobe.conf. # grep bond0 /etc/modprobe.conf alias bond0 bonding options bond0 mode=1 miimon=100 2. configure the save interfaces of the bond using the respective network scripts. # cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 […]

Filed Under: CentOS/RHEL 4, Linux

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright