hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : New VPS but Wrong Time?
Reply

Forum Jump

New VPS but Wrong Time?

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-03-2008, 09:18 PM
ericn ericn is offline
Junior Guru Wannabe
 
Join Date: Feb 2006
Posts: 74

New VPS but Wrong Time?


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.



Sponsored Links
  #2  
Old 04-03-2008, 09:48 PM
eclouds eclouds is offline
SEO Extraordinaire
 
Join Date: Jan 2007
Location: Miami Beach, FL, USA
Posts: 764
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.

__________________
Website Design and Marketing in France
www.SagaNET.fr

  #3  
Old 04-03-2008, 10:24 PM
magnuson56 magnuson56 is offline
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.

Sponsored Links
  #4  
Old 04-03-2008, 10:35 PM
ericn ericn is offline
Junior Guru Wannabe
 
Join Date: Feb 2006
Posts: 74
Alright cool, thanks for the info, I'll let the host know.

  #5  
Old 04-03-2008, 10:38 PM
magnuson56 magnuson56 is offline
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.

  #6  
Old 04-03-2008, 11:28 PM
binarykarma binarykarma is offline
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!


  #7  
Old 04-03-2008, 11:31 PM
ericn ericn is offline
Junior Guru Wannabe
 
Join Date: Feb 2006
Posts: 74
Quote:
Originally Posted by binarykarma View Post
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.

  #8  
Old 04-03-2008, 11:50 PM
@Matt @Matt is offline
Web Hosting Master
 
Join Date: Jan 2003
Location: U.S.A.
Posts: 3,911
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_timen --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

  #9  
Old 04-03-2008, 11:51 PM
Panopta Panopta is offline
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.

__________________
Panopta | Never Blinks
Advanced Server Monitoring and Outage Management Solutions

http://www.panopta.com | sales@panopta.com

  #10  
Old 04-04-2008, 09:55 AM
mohd08 mohd08 is offline
New Member
 
Join Date: Apr 2008
Posts: 1
open a ticket with your host. my host responds quick

  #11  
Old 04-04-2008, 05:15 PM
ericn ericn is offline
Junior Guru Wannabe
 
Join Date: Feb 2006
Posts: 74
Quote:
Originally Posted by mohd08 View Post
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.

  #12  
Old 04-06-2008, 04:02 PM
ericn ericn is offline
Junior Guru Wannabe
 
Join Date: Feb 2006
Posts: 74
Thanks everyone, support took care of it.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Managing a Completely Remote Workforce Web Hosting News 2014-05-01 08:25:34
cPanel Conference 2013: Running a Successful Hosting Business with Robert Marsh Web Hosting News 2013-10-01 18:18:58
Add a Second Server to Your Farm Blog 2013-07-31 14:01:05
CIO Summit 2013 Web Hosting Events 2013-03-05 18:08:59
Phoenix NAP Aims to Improve Cloud Hosting through Customer Feedback Website Web Hosting News 2013-01-17 13:59:49


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?