Portal Home > Knowledgebase > Articles Database > set time and zone
set time and zone
Posted by mixmox, 06-16-2013, 04:39 AM |
hello servers time and date reset each time i have power off server or reset server
i have set timezone on local time but it dosent work until run
"date 061613032013"
any solution ?
|
Posted by JGoldman, 06-16-2013, 04:43 AM |
ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
/etc/init.d/ntpd restart
(replace the America/Los_Angeles with your location obviously)
|
Posted by mixmox, 06-16-2013, 04:47 AM |
root@server etc]# /etc/init.d/ntpd restart
-bash: /etc/init.d/ntpd: No such file or directory
|
Posted by zoid, 06-16-2013, 07:19 AM |
You are not talking about a VPS, right?
|
Posted by JGoldman, 06-16-2013, 03:06 PM |
You didn't specify what OS this was. If CentOS, try yum -y install ntp, then "service ntpd restart".
|
Posted by BestServerSupport, 06-17-2013, 12:59 AM |
In case if you are using VMWare and the time on the ESX is different from the time you are trying to set and also if the VMWare tools are configured to sync the time that will indeed be the reason.
|
Posted by mixmox, 06-18-2013, 06:38 AM |
i have install service ntp
is this service need configuration and what it do exactly ?
|
Posted by zoid, 06-18-2013, 07:00 AM |
. .
|
Posted by mixmox, 06-18-2013, 08:58 AM |
yes its dedciated server
|
Add to Favourites Print this Article
Also Read