LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-28-2009, 02:25 PM   #1
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Rep: Reputation: 21
rsync server log times are incorrect


I have setup an rsync server daemon on a Linux (Slack 12.1) box in order to keep a mirror of files for various workstations on the network. Those workstations are WinXP systems with Cygwin installed (rsync is 3.0.4 under Cygwin, as well as on the Linux server).

Usually things work fine, but I took a look at the log file on the server this morning and noticed that the time in the log is VERY incorrect.
For example, I initiated the backup (don't have it scripted- yet) on one workstation in a command-line window and watched it's output through to it's completion. The whole process took maybe 20mins at around 10:30pm.

In the log, I see the initial connection from the workstation to the server at the correct time (or thereabouts), but all the directory lists after 'receiving file list' have a log time of 5:30am!
The minutes and seconds are even in their expected sequential order- but the hour jumps ahead 7 hours.

Another workstation I had backing up last night also failed (I watched the file size grow in the repository on the server- around 600MB at the time- when I checked it this morning the size was down to 100MB!), so I checked to logs to see what happened and this is when I discovered the time problem.

Does this make sense to anyone? I'm very confused as to why this is happening as it makes debugging my rsync configuration a little difficult.

Thanks,

- skubik.
 
Old 01-28-2009, 02:49 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
So, the computer clock is still correct? Not sure where you are in Canada, but a seven hour increase is suspiciously close to changing from local time zone to GMT. Not sure why this would be happening.
 
Old 01-28-2009, 02:56 PM   #3
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Original Poster
Rep: Reputation: 21
Ah! Yes, you're correct. I'm in Calgary, Alberta, and our timezone is GMT-7. So that takes the mystery out of the number of hours the time is different by. But not sure as to why it's converting the time to GMT. Perhaps there's something I neglected to set in Cygwin on the workstations, or perhaps on the Linux server for rsync?
Yes, on each workstation and the server, the time is correct- I even went into the Cygwin bash shell on the workstations to verify that it isn't using some obscure internal timer. They all check out- so I can only assume this has something to do specifically with rsync.
Any thoughts??
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to log traceroute or ping times wkm001 Linux - Software 4 10-22-2011 07:27 AM
how to automatically block an IP after trying log in multiple times? parv Linux - Security 2 03-04-2007 10:37 PM
incorrect character for the log file treotan Red Hat 1 12-05-2005 10:21 PM
How many times a user can log in cRacKya Linux - Security 2 02-20-2005 04:11 PM
Incorrect idle times from finger in X Franklin Linux - General 5 05-06-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration