2016-07-26 7 views
0

タイトルが示すような問題です。しかし、私はこのページ(https://documentation.cpanel.net/display/ALD/Installation+Guide+-+Troubleshoot+Your+Installation#InstallationGuide-TroubleshootYourInstallation-Licenseerrors)から以下の提案を試してみましたが、結果はありません。CPanel/WHM不明ライセンスファイルエラー

1.)curl -L http://cpanel.net/showip.cgi(verify.cpanel.netスクリプトで使用するために私のIPアドレスをサーバーに表示します)、これもここで確認できます...(http://verify.cpanel.net/index.cgi?ip=xxx.xxx.xxx.xx)私のIPですが、それは確証されています)。

2.)/ usr/local/cpanel/cpkeyclt cPanelライセンスの更新...完了。 更新に失敗しました! エラーメッセージ: ライセンスチェックが既に実行されているようです。 cpanelのグローバルキャッシュを構築しています...完了

したがって、上記は機能しませんでした。

次に、これらのコマンドを試しました。/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 

何か助けてください! cPanelのは/ etc/は/ usr/localを実行しているの

enter image description here

ノート

結果は/ initを/ は/ usr/local/cPanelのを実行しているの

/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 

結果をstopcpsrvd/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 

答えて

0

これは答えがIPTablesだったことが分かりました。それ以前はそれを修正するために必要だったrDateコマンドでしたが、私のIPTablesは接続をブロックしていました。

ファイアウォールを一時的に無効にするには、これを実行します。 INPUTはACCEPT

のiptables -P /root/current.ipt>

保存iptablesの。 iptables -P出力受諾

iptables -F INPUT; iptables -F OUTPUT

ping -c 3 googlecomの

iptablesの復元<

/root/current.iptのrm -f /root/current.ipt

最初のコマンドは、ファイアウォールの設定のコピーを保存します。 次の2つのコマンドはすべての入出力が許可されるようにします(発信接続と着信接続の場合) 最後に、ログファイルのcPanelで問題を引き起こしていたIPアドレスにpingを実行してテストします。

これが有効な場合は、ライセンス更新コマンドが機能することを意味します。

だけ...

は/ usr/local/cpanelの/ cpkeyclt

を実行して、あなたが行ってもいいです!

したい場合は、

iptablesの復元<

のrm -f /root/current.ipt

/root/current.ipt、最後の2つのコマンドを使用してルールをバック復元することができます

ファイアウォールを修正しない限り、再度ブロックされることに注意してください。