- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting Time Zone on a server
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
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-13-2002 03:57 AM
тАО05-13-2002 03:57 AM
How can I set the time zone on a server?
Is it shell specific setting or system-wide parameter?
Will a process automatically detect the change in time zone at runtime without restarting the process? (Esp. Java)
Any help in this regard is highly appreciated.
Thanks,
Raghu.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:04 AM
тАО05-13-2002 04:04 AM
Re: Setting Time Zone on a server
I also recommend after you change this that you reboot the system. I had to correct a timezone once, didn't reboot, and found out that cron didn't read the change until the reboot.
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:04 AM
тАО05-13-2002 04:04 AM
Re: Setting Time Zone on a server
TZ is sourced from /etc/TIMEZONE so to make a permanent change, you have to edit that file or run setparms to do it for you.
Processes that are already running will not detect the change. To ensure that all processes are updated, you'd have to reboot. Specific processes would have to be restarted wi th a modified TZ.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:05 AM
тАО05-13-2002 04:05 AM
Re: Setting Time Zone on a server
2. System wide (but only after a reboot). You can set/change TZ in a shell.
3. No. The command above will change the TIMEZONE in /etc/TZ which is read as processes start. So in order to set the timezone the system needs to be rebooted.
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:05 AM
тАО05-13-2002 04:05 AM
Re: Setting Time Zone on a server
Enter SAM on prompt.
Click on TIME icon.
I hope it helps.
Mahima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2002 04:10 AM
тАО05-13-2002 04:10 AM
Re: Setting Time Zone on a server
Thanks very much for the help.
Now, my doubt is resolved.
bye,
Raghu.