Tag Archives: yum

Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again

cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
#metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

repomd.xml: [Errno 14] HTTP Error 404 – Not Found


yum install centos-release-scl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.fra10.de.leaseweb.net
* epel: mirror.init7.net
* extras: ftp.tu-chemnitz.de
* updates: mirror1.hs-esslingen.de
http://mirror.fra10.de.leaseweb.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://ftp.plusline.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.psw.services/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centosmirror.netcup.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

Fix:
yum clean all

rpmdb: Thread/process 450598/140206808098560 failed: Thread died in Berkeley DB library

rpmdb: Thread/process 450598/140206808098560 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 – (-30974)
error: cannot open Packages database in /var/lib/rpm
An error has occurred:

See /var/log/up2date for more information

cp -a /var/lib/rpm /var/lib/rpm_backup
rm /var/lib/rpm/__db*
rpm –rebuilddb

Install Directadmin on Centos OS

directadmin pre-install:

yum install wget screen gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel libcap-devel  bzip2 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed autoconf automake libtool

run screen and install:

screen

wget http://www.directadmin.com/setup.sh && chmod 755 setup.sh

begin directadmin installation: ./setup.sh