简体   繁体   English

csf更新中无法连接错误

[英]Unable to connect error in the csf update

If you refer to the ConfigServer Security & Firewall - csf on your server, in "Upgrade" section you should see this message: 如果您参考服务器上的ConfigServer安全性和防火墙-csf,则在“升级”部分中,您应该看到以下消息:
"You are running the latest version of csf. An Upgrade button will appear here if a new version becomes available" “您正在运行最新版本的csf。如果有新版本可用,将在此处显示一个升级按钮”

One of the features of this firewall is its automatic update, if a new version of the CSF firewall is available, the CSF will automatically update it to the new version. 此防火墙的功能之一是其自动更新,如果有新版本的CSF防火墙可用,则CSF将自动将其更新为新版本。

The user sent us a CSF update report and, in the explanations for us, the error is 用户向我们发送了CSF更新报告,在对我们的解释中,错误为

"Unable to connect to https://download.configserver.com , retry in 300 seconds." “无法连接到https://download.configserver.com ,请在300秒内重试。”

which we will continue to teach you how to fix this problem . 我们将继续教您如何解决此问题
Note: This training is tested on the operating system centos 6.7 注意:此培训在操作系统centos 6.7上进行了测试

This error is due to the non-installation of Crypt-SSLeay on the server, so you must have access to the server management, you can use the putty software to log onto your ssh server and install yum by this package. 此错误是由于未在服务器上安装Crypt-SSLeay所致,因此您必须有权访问服务器管理,可以使用putty软件登录到ssh服务器并通过此软件包安装yum。 After entering ssh, enter the following command on the server: 输入ssh后,在服务器上输入以下命令:

# yum install perl-Crypt-SSLeay

Wait for 5 minutes and try again if your problem still exists, 等待5分钟,如果问题仍然存在,请重试,
in "csf - ConfigServer Firewall" Section,click on "Firewall Configuration" buttom, then find "URLGET" and set it to "2", go to end of the page and click on "Change" buttom,then restart CSF. 在“ csf-ConfigServer防火墙”部分中,单击“防火墙配置”按钮,然后找到“ URLGET”并将其设置为“ 2”,转到页面末尾并单击“更改”按钮,然后重新启动CSF。

If you see this Warning: 如果看到此警告:

"URLGET set to use LWP but perl module is not installed" “ URLGET设置为使用LWP但未安装perl模块”

This problem is due to the fact that Perl's required modules are not installed on the server. 此问题是由于服务器上未安装Perl所需的模块而导致的。 Some CSF firewall operations depend on the modules and packages installed in the CSF, which does not work properly if these CSF modules or packages are not installed. 某些CSF防火墙操作取决于CSF中安装的模块和软件包,如果未安装这些CSF模块或软件包,它们将无法正常工作。 To fix this error, you must install perl-libwww-perl packages and net-tools and perl-LWP-protocol-https on your Linux operating system. 要解决此错误,您必须在Linux操作系统上安装perl-libwww-perl软件包,net-tools和perl-LWP-protocol-https。 To install these packages, you must connect to the SSH server, then log in to the server administration and enter the following command: 要安装这些软件包,必须连接到SSH服务器,然后登录到服务器管理并输入以下命令:

# yum install perl-libwww-perl net-tools perl-LWP-Protocol-https

Your Problem Solved. 您的问题已解决。 Good luck :) 祝好运 :)

for update CSF on Command line use: 在命令行上使用更新CSF:

# csf -u

I had the same problem upgrading to CSF version 13.05! 升级到CSF版本13.05时遇到相同的问题! The problem that I have found was the Country Block did not take note but I guess the update server is located in NL? 我发现的问题是“国家/地区阻止”没有记录,但是我猜更新服务器位于NL? Remove all country block restart CSF and do the 删除所有国家/地区重新启动CSF并执行

# csf -u  using shell

et voilà! 等等!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM