timestamp wrong

[email protected] Tue, 31 May 2005 13:00:31 -0500
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <[email protected]>
Hello--

I am seeing ftp sessions logging the wrong timestamp in the xferlog and 
syslog files.  The FAQ describes the following solution. I didn't compile 
the package; it came with Solaris.  What do I need to do to move the 
zoneinfo files? (And why do I need to do this?)

Any help is appreciated.


1.      The timezone in the xferlog is wrong 
Either, you compiled with support for setting the process title (SPT_TYPE) 
on a machine that doesn't support this, where changing the process title 
clobbers the environment and therefore zaps the TZ variable. Recompile 
with SPT_TYPE set to SPT_NONE. 
Systems which don't support SPT_TYPE : Aix, SGI Irix 
Or, you need to copy the zoneinfo files to the ~ftp tree too. These are : 
/etc/TIMEZONE
/etc/default/init
/etc/localtime (FreeBSD)
/usr/share/lib/zoneinfo/..

The name of the correct file in /usr/share/lib/zoneinfo depends on your 
current timezone. Exact filenames depend on your operating system too. See 
the man-pages for timezone(4) and zic(1M).