Results 1 to 5 of 5
-
07-26-2007, 09:47 PM #1Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 59
[help]can't change time in centos dedicated box
hi,
i have a centos cpanel 11 dedicated server, but the time at server is wrong and i can't sync it.
i try using rdate and it gave me error :
Code:rdate: rdate: could not set system time: Operation not permitted
thanks
-
07-26-2007, 09:56 PM #2Disabled
- Join Date
- Oct 2005
- Posts
- 515
Code:ls -la /usr/bin/rdate
-
07-26-2007, 10:21 PM #3Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 59
-r-xr-xr-x 1 root root
-
07-26-2007, 10:37 PM #4Disabled
- Join Date
- Apr 2007
- Location
- Everywhere
- Posts
- 273
Do you want to set your date & time? that's all?
Use this command:
date --set="Jul 27 02:09:00 2007" and adjust it as you see.
also you can use ntpq to set your timezome on your server take a look at /etc/ntp.conf
Thanks
-
07-27-2007, 08:01 PM #5Junior Guru Wannabe
- Join Date
- Jun 2006
- Posts
- 59
i just told by my provider that my server is at virtual cluster so that i cant sync the time...
it is resolved.