I have a VPS server (centos 7) with WHM/cPanel as well as root SSH access. Now I want to change the time zone of the server, but when I run the command timedatectl following message shows after some time:
Failed to query server: Connection timed out
Is there any log file or something where the reason can be found?