Articles for Linux

centos 5.11 yum repository

centos 5.11 yum repository It is now EOD no updates available. but we require yum repo to install old applications . go to and run cd /etc/yum.repos.d for i in…

Continue Reading centos 5.11 yum repository

Centos 6.x repository not working

Centos 6.4 repository not working just rename     /etc/yum.repos.d/CentOS-Base.repo cd  /etc/yum.repos.d/ mv  CentOS-Base.repo  CentOS-Base.repo.old copy and paste below code on command prompt they try to use yum . cat <<-'EOF'…

Continue Reading Centos 6.x repository not working

Centos 7 Setup command not found

yum install setuptool -y yum install system-config-network* -y yum install system-config-firewall* -y yum install system-config-securitylevel-tui -y yum install system-config-keyboard -y yum install ntsysv -y yum install NetworkManager-tui nmtui

Continue Reading Centos 7 Setup command not found

How to update Centos 5 .X and cannot find a valid baseurl for repo

How to update Centos 5 .X and cannot find a valid baseurl for repo

If you are using CentOS 5.x and want to install any software and update CentOS 5.x  . you are getting following error .

root@server1 [~]# yum update -y
Loaded plugins: fastestmirror
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

This is because update repositories were moved to the CentOS vault when the operating reached it's end-of-life.

Edit the following file

(more…)

Continue Reading How to update Centos 5 .X and cannot find a valid baseurl for repo

OpenVPN CRL has expired

OpenVPN CRL has expired VERIFY ERROR: depth=0, error=CRL has expired: CN=servername In order to fix the issue, we just need to recreate the crl.pem file. we need  to backup the current crl.pem…

Continue Reading OpenVPN CRL has expired

OPENVPN Logs

OPENVPN Logs To troubleshoot connection issues check below logs grep the client name  in /var/log/messages # grep VPN    /var/log/messages Check the connection time #cat /etc/openvpn/openvpn-status.log Check the connection negotiation…

Continue Reading OPENVPN Logs