- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: time zone
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
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
11-16-2006 06:16 AM
11-16-2006 06:16 AM
time zone
I have two servers rp3440 running nptd daemon, very recently I change the time zone from UTC to PST.
basically I update file
/etc/TIMEZONE
TZ=PST8PDT
#TZ=UTC
export TZ
and file:
/etc/default/tz
PST8PDT
command date on server1
#date
Thu Nov 16 11:14:06 PST 2006
command date on server2
#date
Thu Nov 16 11:14:06 PST 2006
but if I issue from server1
# ssh
Thu Nov 16 19:15:37 UTC 2006
I did not reboot my servers after the timezone change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 06:19 AM
11-16-2006 06:19 AM
Re: time zone
You already answered your question. In order to see the change, the computer must be rebooted.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 06:29 AM
11-16-2006 06:29 AM
Re: time zone
Since the process was started with TZ=UTC, it will remain that way until you either stop/start SSH or reboot the server.
If you want to do a test do this on both servers:
# /sbin/init.d/secsh stop
# /sbin/init.d/secsh start
Now the process should be started with TZ=PST8PDT and you should see a different time when you do an 'ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 06:36 AM
11-16-2006 06:36 AM
Re: time zone
friend
interesting e to effect boot to validate the alteration of the hour
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2006 07:05 AM
11-16-2006 07:05 AM
Re: time zone
you are right, either I need to restart ssh deamon and probably any other deamon that might be using tz variable or reboot the servers.