- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unexpected time results with FTP
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
Forums
Discussions
Discussions
Discussions
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
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
03-15-2007 03:12 AM
03-15-2007 03:12 AM
Unexpected time results with FTP
Thanks,
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:19 AM
03-15-2007 03:19 AM
Re: Unexpected time results with FTP
could you please give more details as to where you see this difference in time.
When you get the ftp banner ?
Once you have established the ftp connection ?
My first guess would be a TZ difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:21 AM
03-15-2007 03:21 AM
Re: Unexpected time results with FTP
Look at 7 and 8. Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:26 AM
03-15-2007 03:26 AM
Re: Unexpected time results with FTP
If I as root(ftp or telnet) do an ls -l of the frp accounts directory, the file listing shows.
-r--r--r-- 1 user group 11898712 Mar 14 15:08 filename
If I FTP as the user, I get.
-r--r--r-- 1 102 104 11898712 Mar 14 14:08 filename
The different time os not of great consequence, just a nuisance.
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:34 AM
03-15-2007 05:34 AM
Re: Unexpected time results with FTP
I use the HP SW distribution of the WU-FTP product. I was hoping to correct an env variable rather than recompiling. The sections referred to seemed to deal more with non-HP systems. It will probably clear at the traditional time change.
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 06:48 AM
03-15-2007 06:48 AM
Re: Unexpected time results with FTP
If it's UTC, the conversion error might be at the _client_ side.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 12:41 PM
03-15-2007 12:41 PM
Re: Unexpected time results with FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 12:42 PM
03-15-2007 12:42 PM
Re: Unexpected time results with FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 01:21 PM
03-15-2007 01:21 PM
Re: Unexpected time results with FTP
> Rick wrote: BTW, after the DST patches were installed, was the system rebooted? Or could there perhaps still be an inetd or ftpd process out there with the old tz stuff? (Not sure that TZ would be inherited from inetd though...)
Yes, that would make sense of your observation if you didn't reboot or didn't restart 'inetd' after the DST patch application. The manpages for 'inetd' are very specific:
/*begin quote*/
The Internet daemon and the servers it starts inherit the LANG and TZ environment variables and the umask of the process that started inetd.
/*end quote*/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 12:18 AM
03-16-2007 12:18 AM
Re: Unexpected time results with FTP
I did patch the system (PHCO_34668 in December 2006)and rebooted it. The problem appears to be with the FTP account. I know telnet users can have a local TZ defined. There are no telnet users except root, as this is an FTP server only. I believe the time of the transaction is UCT and that is why the different time stamps are presented. In this case all accounts are EDT. I was wondering if there is something like /etc/profile for FTP accounts that set up the TZ variable.
Thanks again,
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 06:45 AM
03-20-2007 06:45 AM
Re: Unexpected time results with FTP
Have you made any progress on this Tommy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 06:51 AM
03-20-2007 06:51 AM
Re: Unexpected time results with FTP
At least I am not alone in this.. I find that it is not a real problem the way we use the FTP server. Since CRON runs as root and it is correct as to time, all the other time stamps are pretty much irrelevant. I am waiting until the "Normal" EDT date to see what occurs. Maybe then I can back track and see what is goin on.
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 07:33 AM
03-20-2007 07:33 AM
Re: Unexpected time results with FTP
If you come to any conclusions, please post them here. I'll be sure to do the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 07:39 AM
03-20-2007 07:39 AM
Re: Unexpected time results with FTP
Tommy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 07:55 AM
03-20-2007 07:55 AM
Re: Unexpected time results with FTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 09:08 AM
03-20-2007 09:08 AM
Re: Unexpected time results with FTP
The user ID that had the time discrepancy is essentially chroot jailed to the FTP home directory. It utilizes a separate copy of the tztab file that had been copied to it's root to determine time.
This tztab file was of course not updated byt the DST patch.
To fix, I overwrote /ftp/home/usr/lib/tztab with /usr/lib/tztab. Logged back in with the problem user and times are now showing correctly.
Hope it helps!
Drew