Hello:
I have servers at HETZNER... frequently, although my cpanel license are auto-renewed and all is all right, when I try to access WHM I find out the cpanel screen telling something like "this server is not licensed, please run /usr/local/cpanel/cpkeyclt"...
Ok, I run "/usr/local/cpanel/cpkeyclt" as root and WHM is playing fine, but:
- what is the problem? Maybe an eventual communications problem between my server and cpanel licensing servers?
- How could auto-fix?
Sometimes, my clients could not access their WHM/cpanels because of this problem for hours, until I find out and run "/usr/local/cpanel/cpkeyclt" manually, and this is not a good solution.
This way, I think a cronjob running "/usr/local/cpanel/cpkeyclt" each 15 minutes is maybe a great idea.... if the problem appears, max "fall out" time is 15 minutes...
But now you say the cpanel servers are going to ban me... ¿?¿?
Do you have any suggestion for me? (is not a question of IPtables, or adding IPs to whitelisting, I am sure)
Thanks.
- - - Updated - - -
Ahm.... I am sorry... I am writting because:
- at 9am I have entered WHM without problems
- at 10:30am people tell me they couldnt enter whm/cpanel because server not licensed
- minutes later, I needed to run manually cpkeyclt for whm to be active again
Now have a look at the log:
Fri Jan 31 15:12:25 2014: Using full manual DNS resolution
Sat Feb 1 15:13:10 2014: License Update Request
Sat Feb 1 15:13:10 2014: Using full manual DNS resolution
Sun Feb 2 15:15:24 2014: License Update Request
Sun Feb 2 15:15:24 2014: Using full manual DNS resolution
Mon Feb 3 15:20:42 2014: License Update Request
Mon Feb 3 15:20:42 2014: Using full manual DNS resolution
Tue Feb 4 10:46:23 2014: License Update Request
Tue Feb 4 10:46:23 2014: Using full manual DNS resolution
Tue Feb 4 10:46:24 2014: Trying server 208.74.123.34
Tue Feb 4 10:46:24 2014: Server 208.74.123.34 on port 2089 returned:
cPanel License Service Version 29.9 on 'auth3' [AV+,ENCF]
Key Accepted
Key Follows
Tue Feb 4 10:46:24 2014: Obtained lock license file
Tue Feb 4 10:46:24 2014: Accepted license from server 208.74.123.34 on port 2089
Tue Feb 4 10:46:24 2014: License update succeeded after trying 1 server
Great: there is no fail at logs, before my "Tue Feb 4 10:46:23 2014: License Update Request"
Why then, this morning I have had this problem between 9am and 10:46am ?
Thanks.