- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Server time problem through telnet
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
10-04-2001 08:13 PM
10-04-2001 08:13 PM
Lately I have noticed (I think this problem was there from the begining, but I just did not notice it) that when I give the Last -R Command to find out when a user last logged in through an emulator I get a differnet time from that of the server time. If I run the sam command on the console its perfect. Its only when I run the command through telnet that there is a change, it usally shows 5 to 6 hours behind the actual server time.
I guess it has something to do with Time Zone settings. But what confuses me is that even the local machine has almost the same time as the server.
Can somebody give me a solution.
Thankx
Trent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 09:32 PM
10-04-2001 09:32 PM
Re: Server time problem through telnet
In both the cases, are you using same user id to login ?
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 11:16 PM
10-04-2001 11:16 PM
Re: Server time problem through telnet
When logged on through telnet, type echo $TZ(in ksh or posix, I don't know for csh).
Lookup that same variable when you log on to the console.
I think you can override the system default value in /etc/profile or $HOME/.profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 11:36 PM
10-04-2001 11:36 PM
Re: Server time problem through telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 11:57 PM
10-04-2001 11:57 PM
SolutionWhat do you see if you type "date" on both the temnet session and the console ? Normally date returns the tuimezone also.
The type "date -u", giving time in UTC. Does this mach on telnet and the console ?
If so, you just have to make sure both sessions get the same timezone. It should be set in /etc/TIMEZONE or with the program "/etc/Set_parms timezone".