November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Configuring automatic startup of Oracle Database under systemd on RHEL 7/OEL 7/CentOS 7

Configuring automatic startup of Oracle Database under systemd on RHEL 7/OEL 7/CentOS 7 There are several methods how to start Oracle Database automatically during/after OS boot. You can use Oracle CRS, other clusterware or init implemented in Linux. Starting RHEL 7 SysV init has been replaced by systemd or simply said systemd is the new […]

IPMI

IPMI ( Intelligent Platform Management Interface ) : It is a remote hardware health monitoring and management system that defines interfaces for use in monitoring the physical health of servers.

IPMI provides a way to monitor & manage a server system that may be powered off or unresponsive by using a network connection to the […]

CentOS 7 + SELinux + PHP + Apache – cannot write/access file

Amazon EC2 instance running on CentOS 7. Apache logs keep saying that it can’t write to file due to permission where file permissions are properly setup, only to realize it was SELinux in action.

Problem 1: Can’t serve files on a custom directory

The first problem I have encountered is that I tried to setup […]

Fix stale NFS mounts on linux without rebooting

Fix stale NFS mounts on linux without rebooting

I have often noticed that some folks reboot systems to fix stale NFS mount problems which can be disruptive.

Fortunately, that often isn’t necessary. All you have to do is restart nfs and autofs services. However that sometimes fails because user processes have files open on the […]

KernelCare is now available for CentOS & RHEL 7 kernels

KernelCare for CentOS & RHEL 7

KernelCare is now available for CentOS & RHEL 7 kernels. Latest CentOS / RHEL kernels can be patched against privilege escalation vulnerability CVE-2014-4943. Other supported kernels were patched against it last week

CVEs: CVE-2014-4943

Systems with AUTO_UPDATE=True (DEFAULT) in /etc/sysconfig/kcare/kcare.conf will automatically update, and no action is […]

List/Change kernel in centos 7

List/Change kernel in centos 7

Following command can be used to list the kernels in centos 7 ============================ # egrep ^menuentry /etc/grub2.cfg | cut -f 2 -d \’ Linux Server, with Linux 3.10.0-123.el7.x86_64 Linux Server, with Linux 3.10.0-123.4.4.el7.x86_64 Linux Server, with Unbreakable Enterprise Kernel 3.8.13-35.3.2.el7uek.x86_64 Linux Server, with Unbreakable Enterprise Kernel 3.8.13-35.3.1.el7uek.x86_64 Linux Server, with […]

Monit and CentOS – Solving the Error “Could not execute systemctl”

Monit and CentOS – Solving the Error “Could not execute systemctl”

My Problem – “Error: Could not execute systemctl”

I’m using Monit 5.16 on a CentOS 7 server. Monit is monitoring some crucial services like Apache and MySQL (okay, okay, it’s MariaDB). I have a very simple service check to start with: check process apache […]

Solving NFS Mounts at Boot Time

Let’s face it. NFS is a magical thing. It allows you to centralize your storage, share volumes across systems, and all while maintaining sane permissions and ownership. Unfortunately, it can also be a bit of a fickle beast. Let’s say you just had your volume configured and you set up the mounts. You go and […]

REDUCE A LOGICAL VOLUME ONLINE WITHOUT ANY DATA LOSS

It’s possible to reduce the size of a logical volume without any data loss occurring.

The first step is to check the existing size of the logical volume:

[root@slave ~]# lvdisplay /dev/myvg/mylv — Logical volume — LV Path /dev/myvg/mylv LV Name mylv VG Name myvg LV UUID K31i4c-mJmI-mNhJ-CvkB-c38D-7wCd-I2erTM LV Write Access read/write LV Creation host, […]

DDING DISK SPACE TO AN EXISTING VOLUME GROUP

In the situation where you have exhausted all of the disk space in a volume group, you can add additional disks to the volume group in order to remediate the situation.

Locate the additional disk using the fdisk -l command.

[root@slave ~]# fdisk -l Disk /dev/sdd: 3221 MB, 3221225472 bytes, 6291456 sectors Units = sectors […]