Category Archives: RedHat

Resize Swap Space in RHEL/CentOS 6 & 7

Assalamualaikum, Your swap partition might need to resize over time. Below are the steps; Disable Swap [root@server ~]# swapoff -v /dev/rootdg/swap swapoff /dev/rootdg/swap Resize Swap (resize to 30GB) [root@server ~]# lvextend -L30G /dev/rootdg/swap Size of logical volume rootdg/swap changed from … Continue reading

Posted in Linux, RedHat | Tagged , , , , , ,

Monitor Disk Space in Real Time

Assalamualaikum.. Run below command to check size of file or directory in real time. # watch -n 1 du -sh /var/cores/netbackup/* -n = Interval in second 1 = Size will update every 1 second. du -sh = Get the size … Continue reading

Posted in Linux, RedHat

Openvswitch – Cannot Update CentOS 7

Assalamualaikum Whenever you use CentOS 7 with openvswith enabled you cannot update you system. yum update will time out. The server can access the internet, the mirror server can be resolved. So what is the problem? Usually this happened on … Continue reading

Posted in Install, Linux, RedHat | Tagged , , , ,

How to Backup oVirt Engine

Assalamualaikum.. Backup is straightforward. See –help for details. Below is the steps on how to backup ovirt engine. Example: engine-backup –mode=backup –file=backup1 –log=backup1.log Full backup engine-backup –mode=backup –scope=all –file=”/var/lib/ovirt-engine/backups/fullbackup-$(date +%Y%m%d%H%M%S).tar.bz2″ –log=/var/log/ovirt-engine/fullbackup-$(date +%Y%m%d%H%M%S).log DB backup engine-backup –mode=backup –scope=files –scope=db –file=”/var/lib/ovirt-engine/backups/DBbackup-$(date +%Y%m%d%H%M%S).tar.bz2″ … Continue reading

Posted in Linux, oVirt, RedHat, RHEV, RHV | Tagged , ,

How to Install Spacewalk 2.8 in CentOS7/RHEL7

Assalamualaikum.. This is the simplest way on how to install Spacewalk in CentOS 7 or RHEL 7. For details and complete explanation please go to official page HowToInstall Spacewalk. Pre-Requisites Outbound open ports 80, 443 Inbound open ports 80, 443, … Continue reading

Posted in Linux, RedHat | Tagged

RHEV/oVirt Environment is Non Responsive with Errors as: Received fatal alert: certificate_expired

Assalamualaikum. Issue 1. Certificates have expired and all hosts are non responsive 2. Getting error as below in the engine logs: ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.UploadStreamVDSCommand] (DefaultQuartzScheduler_Worker-64) [6d32f092] Command ‘UploadStreamVDSCommand(HostName = xyz, UploadStreamVDSCommandParameters:{runAsync=’true’, hostId=’12345dbe-1db1-11e1-ade1-00215e97f418′})’ execution failed: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_expired ERROR [org.ovirt.engine.core.bll.UploadStreamCommand] … Continue reading

Posted in Linux, oVirt, RedHat, RHEV, RHV, Virtualization | Tagged , , , ,

-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory

Assalamualaikum, This warning/error ever happened to you? Whenever you try to ssh to your server or try to update your spamassassin (sa-update) you will get this error. Last login: Mon Nov 6 11:17:54 2017 from 192.168.88.14 -bash: warning: setlocale: LC_CTYPE: … Continue reading

Posted in Linux, RedHat

Check Services Which are Enabled at Boot

Assalamualaikum, Type the following command to list all services which are enabled at boot: #chkconfig –list | grep $(runlevel | awk ‘{ print $2}’):on Sample output: Legend: 0 – halt 1 – Single-User 2 – Multi-User mode, console logins only … Continue reading

Posted in Linux, RedHat | Tagged , | Leave a comment