How can I fix the error: The licensing server was invalid or could not be reached ?

Many times this error can be fixed by restarting the Plesk panel:

/etc/init.d/psa restart

Make sure your openssl and curl packages are up to date:

// Centos / RHEL
yum update openssl curl

// Debian / Ubuntu
apt-get update  openssl curl


You can run the following command to see if your server can connect to the licensing server. You should get a response of Verify return code: 0 (ok) if the connection was successful.

openssl s_client -connect www.danami.com:443

If you get the error:

openssl s_client -connect www.danami.com:443 - returns:
socket: Bad file descriptor
connect:errno=9

Make sure that you aren't blocking the licensing server IP addresses: IPv4 198.27.80.6 and IPv6 2607:5300:60:2106:: Imunify360 is known to block our server IPs for some reason.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I fix the error WARNING: Ignoring deprecated option AllowSupplementaryGroups after upgrading to ClamAV 1.00?

The AllowSupplementaryGroups option was deprecated in ClamAV 1.00. If this option is present in...

How can I correct umlaut and accents not being shown correctly in the spam log?

If foreign characters like umlaut and accents are not being displayed correctly in your spam...

How can I disable the logging of iptables to the console?

To permanently disable all low level kernel messages (iptables etc) from flooding the console do...

How can I fix the error: warn: Use of uninitialized value $type in numeric eq (==) at /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm ?

When you run an anti-spam-check (rules) you see these errors: May 15 13:59:32.279 [20306] warn:...