#1  
Old 25th November 2008, 06:47
jsigned jsigned is offline
Junior Member
 
Join Date: Nov 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
Default ntp time zone ftp weirdness

Let me start by saying this is an awesome site. I'm setting up an ISPConfig site and out of the 1,000 questions I've had this is the first that I couldn't find an answer to here.

I followed the instructions on this site for installing a Debian etch server and then the setup for ISPConfig and everything worked pretty good. Now I'm setting up my web sites and when I ftp the files to the server they are time stamped with UTC time. But, the time reported by the server shows my local time. In my case UTC is several hours in the future which makes it pretty hard to upload changed files by their time stamp. I looked around and found the /etc/default/rcS file and changed UTC=yes to UTC=no and rebooted with no change in behavior.

So whats the trick to getting the server to time stamp everything with the local time?

TIA
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2008, 11:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You can try to run the command tzconfig to set the timezone gaian. If that wont help, it might be a solution to run the "hardware" clock with your real timezone time and not utc, you can do this by:

1) Set the correct time with the date command.
2) Tell the hardware clock that it shall use the time that you set with the date command:

hwclock --utc --systohc
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
jsigned (26th November 2008)
  #3  
Old 26th November 2008, 02:09
jsigned jsigned is offline
Junior Member
 
Join Date: Nov 2008
Posts: 4
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Well I fixed it, but I don't like how I had to do it. No matter what I tried the server insisted upon putting the UTC time stamp on FTP'd files. So I removed NTP, set the time zone to GMT, and then set the server time using the date function. I'll just have to keep an eye on the servers time and adjust it when needed.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubleshooting FTP bswinnerton Installation/Configuration 4 10th October 2008 19:34
ftp is very slow and asks for user/passwd continuously chico58 Installation/Configuration 7 8th October 2008 12:43
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 04:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.