
04-03-2008, 09:18 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2006
Posts: 74
|
|
I just got another VPS (first one's host decided to quit hosting) and the time the server shows (entering "date" via ssh) is exactly 24 hours in advance. The time is correct but it shows up one day forward.
It has cPanel/WHM and when I try to change the date it won't allow me. I've also tried via the date command in ssh but get an access restricted message (or something to that extent).
Thanks.
|

04-03-2008, 09:48 PM
|
|
SEO Extraordinaire
|
|
Join Date: Jan 2007
Location: Miami Beach, FL, USA
Posts: 763
|
|
You cannot change the time on a VPS, they all use the time set on the node. You can however change the time-zone and ask your host if their node has the correct time set.
__________________
SEO Extraordinaire
More information coming soon
|

04-03-2008, 10:24 PM
|
|
Aspiring Evangelist
|
|
Join Date: Apr 2007
Location: New York
Posts: 422
|
|
Yes, As eclouds said, that is something that has to be taken care of by the host. Just ask the host to run the following script.
Code:
ntpdate time.nist.gov
If your host runs this script, it should correct the main server node time, then all you have to do is make sure your timezone is set correctly.
|

04-03-2008, 10:35 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2006
Posts: 74
|
|
Alright cool, thanks for the info, I'll let the host know.
|

04-03-2008, 10:38 PM
|
|
Aspiring Evangelist
|
|
Join Date: Apr 2007
Location: New York
Posts: 422
|
|
No Problem, That should take care of the problem, IF it is on their site.
|

04-03-2008, 11:28 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Mar 2008
Posts: 47
|
|
If you have a time zone setting, make sure its set correctly.
__________________
FluidVM :: Manage Xen PV, Xen HVM and OpenVZ
Multi-Hypervisor, Extensible Virtualization Platform :: Website :: User Forums ::
Simple Browser based UI-Simple User VPS Control Panel!
|

04-03-2008, 11:31 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2006
Posts: 74
|
|
Quote:
Originally Posted by binarykarma
If you have a time zone setting, make sure its set correctly.
|
I have it set to America/Chicago and get Fri Apr 4 22:33:09 CDT 2008.
|

04-03-2008, 11:50 PM
|
|
We need coffee...
|
|
Join Date: Jan 2003
Location: U.S.A.
Posts: 3,906
|
|
I am guessing your using openvz? You can ask your host to also do the following...
Stop VE vzctl stop 101
in HD node, run:
vzctl set 101 --capability sys_time  n --save
Start VE: vzctl start 101
Enter VE: vzctl enter 101
mv /etc/localtime /etc/localtime.old
ln -s /usr/share/zoneinfo/EST5EDT /etc/localtime
__________________
PogiWeb LLC | sales@pogiweb.com | 1-704-464-8238
PogiWeb.com - The best VPS prices around with Instant Setups and Reseller Program!
Simply the best Shared, Reseller, Virtual Private Server and Dedicated Server Hosting Provider around!
Join us on Facebook!
|

04-03-2008, 11:51 PM
|
|
Web Hosting Guru
|
|
Join Date: May 2007
Location: Chicago
Posts: 322
|
|
I assume your VPS provider is using either Virtuozzo or OpenVZ. This is one of the differences between those and Xen - with Xen, the system clock is virtualized as well, so you can control it via NTP from inside a virtual machine. Definitely a benefit if you have an application that requires accurate clock synchronization.
One comment on getting the host to run ntpdate - that only resets the clock at the current time. Over time, it will drift and become inaccurate again. It's best to have the host run NTP as a service on the main server node so that they time is regularly synced.
|

04-04-2008, 09:55 AM
|
|
New Member
|
|
Join Date: Apr 2008
Posts: 1
|
|
open a ticket with your host. my host responds quick
|

04-04-2008, 05:15 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2006
Posts: 74
|
|
Quote:
Originally Posted by mohd08
open a ticket with your host. my host responds quick
|
I did and they suggested a few things that I tried and had no luck with. They haven't replied in a whole day so I guess I'll reply again.
|

04-06-2008, 04:02 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Feb 2006
Posts: 74
|
|
Thanks everyone, support took care of it.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|