View Full Version : Server Time
secretman
01-22-2004, 05:31 PM
Where is the settings for change server time?
ProWebUK
01-22-2004, 06:40 PM
Enter (in ssh)
/usr/sbin/timeconfig
Chris
secretman
01-23-2004, 05:03 AM
Under /usr/sbin/ don't exist timeconfig.
Is possible request a ticket with my directadmin panel?
I have urgent need to resolve the cgi-bin problem (my other thread) and have need to change time.
In future direct admin release will include server time change and cgi working under public_html folder?
ProWebUK
01-23-2004, 07:05 AM
Originally posted by secretman
Under /usr/sbin/ don't exist timeconfig.
Is possible request a ticket with my directadmin panel?
I have urgent need to resolve the cgi-bin problem (my other thread) and have need to change time.
In future direct admin release will include server time change and cgi working under public_html folder?
No, This isn't a problem related in any way at all with DirectAdmin, setting the time is the job of the system admin.
You can also use the following command:
date -s 'Fri Feb 23 mm:hh:ss GMT 2004'
Chris
outpernet
01-25-2004, 05:01 PM
or, you can syncronize from an ip server time:
ex:
rdate -s time.nist.gov
then save it:
hwclock --systohc
hoobastank68
02-28-2004, 08:39 AM
Hi,
I'm also interested in learning how this works in DA to change timezone to GMT -5
Thank you.
ProWebUK
02-28-2004, 09:09 AM
Originally posted by hoobastank68
Hi,
I'm also interested in learning how this works in DA to change timezone to GMT -5
Thank you.
use tzselect, timeconfig or date as mentioned earlier in this thread.
Chris
hoobastank68
02-28-2004, 10:23 AM
K, i set up in tzselect
but date still show old time zone?
:confused:
l0rdphi1
02-28-2004, 11:46 AM
To set your timezone, set a symlink from /etc/localtime to the file in the /usr/share/zoneinfo that corresponds with the timezone you reside.
ln -sf /usr/share/zoneinfo/your/zone /etc/localtime
Should work. :)
hoobastank68
02-28-2004, 05:41 PM
I did:
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
Seems like now my netstatus script shows server time as
00:40:01
It's really ~7:40 PM
hoobastank68
02-28-2004, 05:45 PM
k finally got it..
did tzselect
before i chose 1) Eastern time
this time chose 7) Eastern Standard Time - Indiana - Starke County
And worked fine.... thanks
l0rdphi1
02-28-2004, 06:34 PM
Odd. dunno.
Good to see it works now :)
ProWebUK
02-29-2004, 03:51 AM
The symlink trick always works if that fails though, or you can just copy the file over to /etc/localtime (basically the same thing there)
Chris
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.