- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp server displays incorrect timestamp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 01:02 PM
тАО05-01-2009 01:02 PM
ftp server displays incorrect timestamp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 01:10 PM
тАО05-01-2009 01:10 PM
Re: ftp server displays incorrect timestamp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 01:56 PM
тАО05-01-2009 01:56 PM
Re: ftp server displays incorrect timestamp
ftp timezone
found many potentially useful things. One
example:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=138820
As usual, a more complete problem description
might help. Are you using anonymous FTP, or
FTP as some particular user(s)? (What
happens when you try the other one?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 01:56 PM
тАО05-01-2009 01:56 PM
Re: ftp server displays incorrect timestamp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 02:03 PM
тАО05-01-2009 02:03 PM
Re: ftp server displays incorrect timestamp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 07:44 PM
тАО05-01-2009 07:44 PM
Re: ftp server displays incorrect timestamp
Yep, the TZ variable is not been set for ftpd. The ftpd daemon is started by rc scripts so if ftpd is wrong, most everything in inetd.conf is probably using the wrong TZ value. There should be only ONE location to set the timezone: /etc/TIMEZONE. This file is read by all the rc startup scripts. You can't use your local login to porve the time is correct unless you bypass TZ and use date -u. Occasionally, misinformed sysadmins will set TZ manually in .profile.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 08:23 AM
тАО05-02-2009 08:23 AM
Re: ftp server displays incorrect timestamp
Did you mean /etc/profile?
Or did you mean they change that file and not /etc/TIMEZONE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 12:56 PM
тАО05-02-2009 12:56 PM
Re: ftp server displays incorrect timestamp
Yes, manually setting TZ in /etc/profile or even setting it in the skeleton .profile, not knowing that there is a system-wide file to source a standard TZ value. For users in other timezones, a manual setting in .profile can be useful.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 07:29 PM
тАО05-02-2009 07:29 PM
Re: ftp server displays incorrect timestamp
Thanks, I wanted to make sure this was said.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2009 08:39 PM
тАО05-02-2009 08:39 PM
Re: ftp server displays incorrect timestamp
could set a time zone for the FTP server by
specifying an appropriate wrapper script in
inetd.conf instead of the actual ftpd
program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:34 AM
тАО05-05-2009 08:34 AM
Re: ftp server displays incorrect timestamp
# Set the TIMEZONE
if [ -r /etc/TIMEZONE ]
then
. /etc/TIMEZONE
else
TZ=MST7MDT # change this for local time.
export TZ
fi
/etc/TIMEZONE is readable by all. No TZ is set in the .profile.
What just occured to me is this server is using PROFTPD.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:51 AM
тАО05-05-2009 08:51 AM