Hello,
I want to setup the time zone to Asia/Taipei on WHM. But even the system shows the change is done, the system time is still different with Taipei local time. so I changed the server time via ssh on my vps with the following command:
and now the system time is correct with Taipei local time.
But when I back to WHM to check the time again, the error "[a fatal error or timeout occurred while processing this directive]" happen. the following error is shown when I click on [a fatal error or timeout occurred while processing this directive]:
Can anyone teache me how to fix the error? thanks.
Best Regards,
I want to setup the time zone to Asia/Taipei on WHM. But even the system shows the change is done, the system time is still different with Taipei local time. so I changed the server time via ssh on my vps with the following command:
Code:
[root@ome~]# rm -rf /etc/localtime
[root@ome~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
But when I back to WHM to check the time again, the error "[a fatal error or timeout occurred while processing this directive]" happen. the following error is shown when I click on [a fatal error or timeout occurred while processing this directive]:
Code:
/etc/localtime: Does not exist at whostmgr/bin/whostmgr line 5084
Carp::croak('/etc/localtime: Does not exist') called at /usr/local/cpanel/Cpanel/CPAN/Digest/MD5/File.pm line 47
Cpanel::CPAN::Digest::MD5::File::__ANON__('/etc/localtime') called at /usr/local/cpanel/Cpanel/CPAN/Digest/MD5/File.pm line 150
Cpanel::CPAN::Digest::MD5::File::file_md5_hex('/etc/localtime') called at whostmgr/bin/whostmgr line 5084
main::edittime() called at whostmgr/bin/whostmgr line 948
Best Regards,