• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Unable to open 443 port to reinstall licence key

niguleseo

New Pleskian
Hello



I am unable to access my Plesk dashboard (1&1 provider - CentOS 7) because I have to update my Plesk Licence Key and when I try to add my new licence key I have message error “Could not update the license. Make sure that connections to the license server ka.plesk.com on TCP port 443 are not blocked.”

Then I have tried to open the 443 using SSH but I did not succeed.

I have tried several things … here below.

Someone has same issue ?

Thanks




Code:
[root@a96446a ~]# yum install telnet-server

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: ftp.fau.de

* extras: artfiles.org

* updates: centos.mirrors.as250.net

http://autoinstall.plesk.com/PHP56_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/PHP70_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

………..

……………

………………….

Trying other mirror.

Resolving Dependencies

--> Running transaction check

---> Package telnet-server.x86_64 1:0.17-66.el7 will be installed

--> Finished Dependency Resolution



Dependencies Resolved



================================================================================

Package Arch Version Repository Size

================================================================================

Installing:

telnet-server x86_64 1:0.17-66.el7 updates 41 k



Transaction Summary

================================================================================

Install 1 Package



Total download size: 41 k

Installed size: 55 k

Is this ok [y/d/N]: d

Background downloading packages, then exiting:

telnet-server-0.17-66.el7.x86_ FAILED

http://mirror.23media.com/centos/7.9.2009/updates/x86_64/Packages/telnet-server- 0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.23me dia.com; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://mirror.fra10.de.leaseweb.net/centos/7.9.2009/updates/x86_64/Packages/teln et-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: m irror.fra10.de.leaseweb.net; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://ftp.plusline.net/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0. 17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.plusline. net; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://ftp.agdsn.de/pub/mirrors/centos/7.9.2009/updates/x86_64/Packages/telnet-s erver-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.a gdsn.de; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://de.mirrors.clouvider.net/CentOS/7.9.2009/updates/x86_64/Packages/telnet-s erver-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: de.mi rrors.clouvider.net; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://centos.mirrors.as250.net/7.9.2009/updates/x86_64/Packages/telnet-server-0 .17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: centos.mirro rs.as250.net; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://mirror.netcologne.de/centos/7.9.2009/updates/x86_64/Packages/telnet-serve r-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.ne tcologne.de; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://ftp.fau.de/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.17-66. el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.fau.de; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://mirror.alpix.eu/centos/7.9.2009/updates/x86_64/Packages/telnet-server-0.1 7-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.alpix.e u; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://centos.mirrors.psw.services/centos/7.9.2009/updates/x86_64/Packages/telne t-server-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ce ntos.mirrors.psw.services; Unknown error"

Trying other mirror.





Error downloading packages:

1:telnet-server-0.17-66.el7.x86_64: [Errno 256] No more mirrors to try.



[root@a96446a ~]# telnet

-bash: telnet: command not found

[root@a96446a ~]# yum install telnet-server telnet

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: ftp.fau.de

* extras: artfiles.org

* updates: centos.mirrors.as250.net

http://autoinstall.plesk.com/PHP56_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/PHP70_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/pool/PHP_7.1.33_96/dist-rpm-CentOS-7-x86_64/repodat a/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com ; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/PHP73_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/PHP74_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/PHP80_17/dist-rpm-CentOS-7-x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.plesk.com; Unknown error"

Trying other mirror.

http://autoinstall.plesk.com/pool/PSA_18.0.34_5691/extras-rpm-CentOS-7-x86_64/re podata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: autoinstall.ples k.com; Unknown error"

Trying other mirror.

http://mirror.softaculous.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Er rno 14] curl#6 - "Could not resolve host: mirror.softaculous.com; Unknown error"

Trying other mirror.

http://mirror.ratiokontakt.de/mirror/centos/7.9.2009/os/x86_64/repodata/repomd.x ml: [Errno 14] curl#6 - "Could not resolve host: mirror.ratiokontakt.de; Unknown …….

…….

………

Trying other mirror.

http://centos.mirrors.psw.services/centos/7.9.2009/updates/x86_64/repodata/repom d.xml: [Errno 14] curl#6 - "Could not resolve host: centos.mirrors.psw.services; Unknown error"

Trying other mirror.

Resolving Dependencies

--> Running transaction check

---> Package telnet.x86_64 1:0.17-66.el7 will be installed

---> Package telnet-server.x86_64 1:0.17-66.el7 will be installed

--> Finished Dependency Resolution



Dependencies Resolved



================================================================================

Package Arch Version Repository Size

================================================================================

Installing:

telnet x86_64 1:0.17-66.el7 updates 64 k

telnet-server x86_64 1:0.17-66.el7 updates 41 k



Transaction Summary

================================================================================

Install 2 Packages



Total download size: 106 k

Installed size: 168 k

Is this ok [y/d/N]: y

Downloading packages:

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

telnet-0.17-66.el7.x86_64.rpm FAILED

http://mirror.fra10.de.leaseweb.net/centos/7.9.2009/updates/x86_64/Packages/teln et-0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.f ra10.de.leaseweb.net; Unknown error"

Trying other mirror.

telnet-server-0.17-66.el7.x86_ FAILED

http://mirror.23media.com/centos/7.9.2009/updates/x86_64/Packages/telnet-server- 0.17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.23me dia.com; Unknown error"

Trying other mirror.

telnet-0.17-66.el7.x86_64.rpm FAILED

http://ftp.plusline.net/centos/7.9.2009/updates/x86_64/Packages/telnet-0.17-66.e l7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.plusline.net; Un known error"

Trying other mirror.

…………..

…………………

……………………..

telnet-0.17-66.el7.x86_64.rpm FAILED

http://ftp.agdsn.de/pub/mirrors/centos/7.9.2009/updates/x86_64/Packages/telnet-0 .17-66.el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: ftp.agdsn.de ; Unknown error"

Trying other mirror.

telnet-0.17-66.el7.x86_64.rpm FAILED

http://centos.mirrors.as250.net/7.9.2009/updates/x86_64/Packages/telnet-0.17-66. el7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: centos.mirrors.as25 0.net; Unknown error"

Trying other mirror.

telnet-0.17-66.el7.x86_64.rpm FAILED

http://mirror.alpix.eu/centos/7.9.2009/updates/x86_64/Packages/telnet-0.17-66.el 7.x86_64.rpm: [Errno 14] curl#6 - "Could not resolve host: mirror.alpix.eu; Unkn own error"

Trying other mirror.





Error downloading packages:

1:telnet-server-0.17-66.el7.x86_64: [Errno 256] No more mirrors to try.

1:telnet-0.17-66.el7.x86_64: [Errno 256] No more mirrors to try.



[root@a96446a ~]# ^C

[root@a96446a ~]# sudo yum clean all

Loaded plugins: fastestmirror

Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Cleaning repos: PLESK_17_PHP56 PLESK_17_PHP70 PLESK_17_PHP71 PLESK_17_PHP73

: PLESK_17_PHP74 PLESK_17_PHP80 PLESK_18_0_34-extras base extras

: plesk-ext-docker plesk-migrator plesk-migrator-tp updates

Cleaning up list of fastest mirrors

Other repos take up 22 M of disk space (use --verbose for details)

[root@a96446a ~]# sudo rm -r /var/cache/yum

[root@a96446a ~]# sudo yum update

Loaded plugins: fastestmirror

Determining fastest mirrors

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_6 4&repo=os&infra=stock error was

14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
 
The famous rule #1 of the internet has hit you: It's always DNS!

Check your /etc/resolv.conf and make sure the nameservers listed there are reachable and can be used.
If in doubt, add "nameserver 8.8.8.8" and "nameserver 1.1.1.1" to your resolv.conf and try again.
 
Hello

Thank for you reply.
I have tried several things (check here below) ... but still stuck

1.
[root@a96446a ~]# /etc/resolv.conf
-bash: /etc/resolv.conf: Permission denied
[root@a96446a ~]#


2.
[root@a96446a ~]# nslookup ka.plesk.com
;; connection timed out; no servers could be reached

3.
plesk bin license --install A00000-A00000-A00000-A00000-A00000
[[2021-06-24 10:32:01.402] ERR [panel] KA Request Failure code: 2 Network failure
[2021-06-24 10:32:01.403] ERR [panel] KA Request Failure desc: cURL cannot communicate with license server https://id-00.kaid.plesk.com:443/ (): Couldn't resolve host name(6)
cURL cannot communicate with license server https://id-00.kaid.plesk.com:443/ (): Couldn't resolve host name(6)
[2021-06-24 10:32:01.403] ERR [panel] KA Request Failure additional information: cURL verbose output:
* Could not resolve host: id-00.kaid.plesk.com; Name or service not known
* Closing connection 0

cURL verbose output:
* Could not resolve host: id-00.kaid.plesk.com; Unknown error
* Closing connection 1

Could not update the license. Make sure that connections to the license server ka.plesk.com on TCP port 443 are not blocked. To fix the issue, follow the instructions described in KB  Plesk license fails to update: what to do?.

4.
[root@a96446a ~]# telnet ka.plesk.com 443
-bash: telnet: command not found
 
1.
[root@a96446a ~]# /etc/resolv.conf
-bash: /etc/resolv.conf: Permission denied
[root@a96446a ~]#

Thats not how that works. A .conf file is, as the file extension suggests, a configuration file. Hence it can not be executed when typing /etc/resolv.conf. You can open the file with a file editor like vim or nano (nano /etc/resolv.conf) and edit the configuration like @Monty suggested.
 
Last edited:
Thank you for explanation. The main issue is that i can not install any packages .... and nano is not installed already.
Each time i have same issue => Cannot find a valid baseurl for repo: base/7/x86_64


[root@a96446a ~]# yum install nano
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_6 4&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"


One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64
 
Here is the result :

[root@a96446a ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search online-server.cloud
[root@a96446a ~]#
 
OK, your resolv.conf is managed by NetworkManager, so you'll need to learn how to configure NetworkManager and how to add nameservers to your network config.

As a quick temporary workaround you can try to do this:
Code:
echo "nameserver 8.8.8.8" >>/etc/resolv.conf
echo "nameserver 1.1.1.1" >>/etc/resolv.conf

This will add the Google and Cloudflare public resolvers to your resolv.conf. After that, DNS resolution should work on your server.

But be aware: Your changes to resolv.conf are likely to be overwritten on your next reboot!

The proper solution is to use the NetworkManager tools (nmcli and/or nmtui) and add DNS servers to your network configuration.
 
Ok thank you for this temporary fix ! I have been able to install new licence key ;)
Should i change settings in 'Tools & Setting' in Plesk to avoid this ?

Many thanks for support <3
 
Back
Top