所以我的问题就像标题所暗示的那样。但是,我尝试了此页面(https://documentation.cpanel.net/display/ALD/Installation+Guide+-+Troubleshoot+Your+Installation#InstallationGuide-TroubleshootYourInstallation-Licenseerrors)中的以下建议,但没有结果。
1.) curl -L http://cpanel.net/showip.cgi(在服务器上显示我的 IP 地址以用于 verify.cpanel.net 脚本),这也可以在这里验证......(http:// /verify.cpanel.net/index.cgi?ip=xxx.xxx.xxx.xx)(我不喜欢显示我的IP,但相信我它已经过验证。)
2.) /usr/local/cpanel/cpkeyclt 更新 cPanel 许可证...完成。更新失败! 错误消息:许可证检查似乎已在运行。为 cpanel 构建全局缓存...完成
所以上面没有工作。
然后我尝试了这些命令。
3.) /usr/local/cpanel/etc/init/stopcpsrvd 然后 /usr/local/cpanel/scripts/upcp --sync 尝试重新同步。
这似乎成功运行,但我仍然得到同样的错误。下面附上我尝试登录 WHM 时收到的错误消息。
4.) 然后我尝试按照其他一些帖子中的建议运行 rdate -s rdate.cpanel.net 以使时间匹配,然后当我运行 (/usr/local/cpanel/cpkeyclt) 时,它似乎超时并且什么都没有发生。
查看 cpanel 许可证的日志 (/usr/local/cpanel/logs/license_log) 我看到了这一点。
Tue Jul 26 16:23:30 2016: Trying server 208.74.125.22
Tue Jul 26 16:23:45 2016: Timed out while connecting to port 2089
Tue Jul 26 16:24:00 2016: Timed out while connecting to port 80
Tue Jul 26 16:24:15 2016: Timed out while connecting to port 110
Tue Jul 26 16:24:30 2016: Timed out while connecting to port 143
Tue Jul 26 16:24:45 2016: Timed out while connecting to port 25
Tue Jul 26 16:25:00 2016: Timed out while connecting to port 23
Tue Jul 26 16:25:15 2016: Timed out while connecting to port 993
Tue Jul 26 16:25:30 2016: Timed out while connecting to port 995
Tue Jul 26 16:30:14 2016: License Update Request
Tue Jul 26 16:30:14 2016: Using full manual DNS resolution
Tue Jul 26 16:30:14 2016: Trying server 208.74.121.85
Tue Jul 26 16:30:29 2016: Timed out while connecting to port 2089
任何帮助表示赞赏!
笔记
运行/usr/local/cpanel/etc/init/stopcpsrvd 的结果
/usr/local/cpanel/etc/init/stopcpsrvd
Waiting for “cpsrvd” to stop ……Gracefully Terminating processes: cpsrvd: with pids 20842 and owner root.......waited 1 second(s) for 1 process(es) to terminate....Done
…finished.
Startup Log
Starting PID 20839: /usr/local/cpanel/libexec/cpsrvd-dormant
运行/usr/local/cpanel/scripts/upcp –sync 的结果(由于文本字符限制,无法显示所有内容)
[2016-07-26 15:39:39 -0400] Detected cron=0 (Terminal detected)
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (21620) at Tue Jul 26 15:41:53 2016
[2016-07-26 15:41:53 -0400] Maintenance completed successfully
[2016-07-26 15:41:54 -0400] 95% complete
[2016-07-26 15:41:54 -0400] Running Standardized hooks
[2016-07-26 15:41:54 -0400] 100% complete
[2016-07-26 15:41:54 -0400]
[2016-07-26 15:41:54 -0400] cPanel update completed
[2016-07-26 15:41:54 -0400] A log of this update is available at /var/cpanel/updatelogs/update.1469561979.log
[2016-07-26 15:41:54 -0400] Removing upcp pidfile
[2016-07-26 15:41:54 -0400]
[2016-07-26 15:41:54 -0400] Completed all updates
=> Log closed Tue Jul 26 15:41:54 2016