Error install on Centos 7

Error install openlitespeed withe CyberPanel on CentOS 7
Provider: DomoHosting
Virtualization Type: XEN
System: Centos 7.6

Installation option: since during the installation.
there will be few option to choose,so please provide it as well.

OLS or Enterprise?
OLS

Installing from official server or mirror server?
official

Install Memcached extension for PHP?
yes

Install LiteSpeed Memcached?
yes

Install Memcached?
yes

Install Redis extension for PHP?
yes

Install Redis?
yes

Problem:

Error install openlitespeed withe CyberPanel on CentOS 7

[04.06.2020_17-37-53] #########################################################################

[04.06.2020_17-37-53] Running: yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo

[04.06.2020_17-37-53] #########################################################################

Loaded plugins: fastestmirror
adding repo from: https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo
grabbing file https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to /etc/yum.repos.d/copart-restic-epel-7.repo
Could not fetch/save url https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to file /etc/yum.repos.d/copart-restic-epel-7.repo: [Errno 14] curl#7 - “Failed connect to copr.fedorainfracloud.org:443; Connection refused”

[04.06.2020_17-37-53] #########################################################################

[04.06.2020_17-37-53] Running yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo failed. Running again, try number 1

[04.06.2020_17-37-53] #########################################################################

Loaded plugins: fastestmirror
adding repo from: https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo
grabbing file https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to /etc/yum.repos.d/copart-restic-epel-7.repo
Could not fetch/save url https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to file /etc/yum.repos.d/copart-restic-epel-7.repo: [Errno 14] curl#7 - “Failed connect to copr.fedorainfracloud.org:443; Connection refused”

[04.06.2020_17-37-53] #########################################################################

[04.06.2020_17-37-53] Running yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo failed. Running again, try number 2

[04.06.2020_17-37-53] #########################################################################

Loaded plugins: fastestmirror
adding repo from: https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo
grabbing file https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to /etc/yum.repos.d/copart-restic-epel-7.repo
Could not fetch/save url https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo to file /etc/yum.repos.d/copart-restic-epel-7.repo: [Errno 14] curl#7 - “Failed connect to copr.fedorainfracloud.org:443; Connection refused”

[04.06.2020_17-37-54] #########################################################################

[04.06.2020_17-37-54] Running yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo failed. Running again, try number 3

[04.06.2020_17-37-54] #########################################################################

[04.06.2020_17-37-54] #########################################################################

[04.06.2020_17-37-54] [ERROR] We are not able to run yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo return code: 1.

[04.06.2020_17-37-54] #########################################################################

[04.06.2020_17-37-54] #########################################################################

[04.06.2020_17-37-54] Running: yum install restic -y

[04.06.2020_17-37-54] #########################################################################

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[04.06.2020_17-37-59] #########################################################################

[04.06.2020_17-37-59] Running yum install restic -y failed. Running again, try number 1

[04.06.2020_17-37-59] #########################################################################

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[04.06.2020_17-38-05] #########################################################################

[04.06.2020_17-38-05] Running yum install restic -y failed. Running again, try number 2

[04.06.2020_17-38-05] #########################################################################

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[04.06.2020_17-38-11] #########################################################################

[04.06.2020_17-38-11] Running yum install restic -y failed. Running again, try number 3

[04.06.2020_17-38-11] #########################################################################

[04.06.2020_17-38-11] #########################################################################

[04.06.2020_17-38-11] [ERROR] We are not able to run yum install restic -y return code: 1.

[04.06.2020_17-38-11] #########################################################################

–2020-04-06 17:38:11-- https://get.acme.sh/
Resolving get.acme.sh (get.acme.sh)… 104.31.89.68, 104.31.88.68, 2606:4700:3037::681f:5944, …
Connecting to get.acme.sh (get.acme.sh)|104.31.89.68|:443… failed: Connection refused.
Connecting to get.acme.sh (get.acme.sh)|104.31.88.68|:443… failed: Connection refused.
Connecting to get.acme.sh (get.acme.sh)|2606:4700:3037::681f:5944|:443… failed: Network is unreachable.
Connecting to get.acme.sh (get.acme.sh)|2606:4700:3033::681f:5844|:443… failed: Network is unreachable.

[04.06.2020_17-38-11] #########################################################################

[04.06.2020_17-38-11] Running: /root/.acme.sh/acme.sh --upgrade --auto-upgrade

[04.06.2020_17-38-11] #########################################################################

Traceback (most recent call last):
File “install.py”, line 2397, in
main()
File “install.py”, line 2350, in main
checks.installAcme()
File “install.py”, line 2201, in installAcme
preFlightsChecks.call(command, self.distro, command, command, 1, 0, os.EX_OSERR)
File “install.py”, line 210, in call
res = subprocess.call(shlex.split(command))
File “/usr/lib64/python3.6/subprocess.py”, line 287, in call
with Popen(*popenargs, **kwargs) as p:
File “/usr/lib64/python3.6/subprocess.py”, line 729, in init
restore_signals, start_new_session)
File “/usr/lib64/python3.6/subprocess.py”, line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘/root/.acme.sh/acme.sh’: ‘/root/.acme.sh/acme.sh’
Oops, something went wrong…

copy below commands and run from a shell script.

#!/bin/sh
yum -y install wget curl
cd /root
wget https://get.acme.sh
mv index.html ac.sh
sh ac.sh
sln /.acme.sh/ /root/.acme.sh
wget https://cyberpanel.net/install.sh
sh install.sh -v ols

I got the same error on Ubuntu 20, and solved by above same commands except
sln /.acme.sh/ /root/.acme.sh

Which I used:
ln -s /.acme.sh/ /root/.acme.sh

1 Like