Results 1 to 9 of 9
Thread: BIG problem with timezone
-
03-28-2012, 02:31 AM #1Disabled
- Join Date
- Sep 2011
- Location
- San Diego
- Posts
- 161
BIG problem with timezone
In WHMCS I have put in configure.php the timezone of Los_Angeles and for my VPS I can't seem to change the date in there. I googled for about 3 hours and found nothing. Could someone help me figure this issue?
-
03-28-2012, 02:49 AM #2Web Hosting Master
- Join Date
- Nov 2006
- Location
- USA
- Posts
- 1,274
Which OS are you running...?
-
03-28-2012, 08:30 AM #3Disabled
- Join Date
- Sep 2011
- Location
- San Diego
- Posts
- 161
CentOS 5 32bit
-
03-28-2012, 08:33 AM #4Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
Login as root and type: tzselect
-
03-28-2012, 08:35 AM #5Disabled
- Join Date
- Sep 2011
- Location
- San Diego
- Posts
- 161
Therefore TZ='America/Los_Angeles' will be used.
Local time is now: Wed Mar 28 13:36:13 PDT 2012.
Universal Time is now: Wed Mar 28 20:36:13 UTC 2012.
Is the above information OK?
1) Yes
2) No
#? 1
You can make this change permanent for yourself by appending the line
TZ='America/Los_Angeles'; export TZ
to the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
America/Los_Angeles
root@server1 [~]#
root@server1 [~]# date
Wed Mar 28 13:36:34 PDT 2012
root@server1 [~]#
-
03-28-2012, 08:38 AM #6Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
Ok, the system time is incorrect on top of the time zone. What kind of VPS is this - OpenVZ or Xen or KVM? Or maybe it is dedicated server?
-
03-28-2012, 08:40 AM #7Disabled
- Join Date
- Sep 2011
- Location
- San Diego
- Posts
- 161
Virtualization Type
(OpenVZ)
-
03-28-2012, 08:41 AM #8Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
For OpenVZ your host has to set the correct system time on the hostnode. Open a ticket with your host and ask them to fix the time.
-
03-28-2012, 08:50 AM #9Disabled
- Join Date
- Sep 2011
- Location
- San Diego
- Posts
- 161
Final question I got a dedi that has VMware Workstation does Workstation make VPS, so if I order cpanel license it will show up as VPS or dedicated server on the created server from workstation?
Similar Threads
-
LeaseWeb: big, big problem.
By mdvp in forum Dedicated ServerReplies: 13Last Post: 03-19-2012, 11:38 AM -
Domain Forwarding problem big problem indeed
By mrmbdctg in forum Domain NamesReplies: 4Last Post: 06-25-2009, 11:49 PM -
NTPdate / timezone problem
By guimaraes83 in forum Hosting Security and TechnologyReplies: 0Last Post: 10-29-2006, 04:35 AM -
Big Big problem with Enom
By freeboy1 in forum Domain NamesReplies: 19Last Post: 05-19-2006, 01:14 AM -
Big problem with big company , Enom dont support
By Hussain in forum Programming DiscussionReplies: 12Last Post: 05-13-2004, 08:44 AM