- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- TIMEZONE RESET WITHOUT RESTART
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
07-08-2004 10:09 PM
07-08-2004 10:09 PM
TIMEZONE RESET WITHOUT RESTART
How can I reset the time zone on my HP-UX
server without restarting the server
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:18 PM - last edited on 09-16-2024 02:27 AM by support_s
07-08-2004 10:18 PM - last edited on 09-16-2024 02:27 AM by support_s
Re: TIMEZONE RESET WITHOUT RESTART
- Tags:
- fan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:32 PM
07-08-2004 10:32 PM
Re: TIMEZONE RESET WITHOUT RESTART
Look at the thread below:
http://forums1.itrc.hp.com/service/forums/helptips.do?admit=716493758+1085211538437+28353475#33
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:34 PM
07-08-2004 10:34 PM
Re: TIMEZONE RESET WITHOUT RESTART
And then you have reboot the server.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:43 PM
07-08-2004 10:43 PM
Re: TIMEZONE RESET WITHOUT RESTART
Is it good to use the TZ environment value and tztab for this.
I hope we can adjust this TZ variable to get the required zone.
I have tried out as like,
Default : TZ=PST8PDT
Changed as TZ=PST4PDT
But the notification of TIMEZONE is PDT. But the time is synchronized?? is it so. The files time values are changed according to the change.
If I reverse it to default,files (ll) dates are as like default. We can synchronize that environment variable for this.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 10:54 PM
07-08-2004 10:54 PM
Re: TIMEZONE RESET WITHOUT RESTART
I dont know what you were explaining
but if you set the value of TZ and
export it it doesnt take system wide
effect but limited to that term session
only.
If you can set the TZ without resseting
the machine please let me know.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 11:08 PM
07-08-2004 11:08 PM
Re: TIMEZONE RESET WITHOUT RESTART
Yes. The effect is only at that term only.
But, we have another way from this as,
Try to make use only one user currently in the system.
echo "TZ=
It will be updated. If you do the change in the current shell,it will be also updated. After that all users login will use that TZ value. So the time zone will be used.
I have tested. It is working.
Regards,
Muthukumar.
If we add a environment
If you can set the TZ without resseting
the machine please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2004 11:51 PM
07-08-2004 11:51 PM
Re: TIMEZONE RESET WITHOUT RESTART
Did that but a strange problem now I can
run CDE using exceed from a particular
login
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:05 AM
07-09-2004 12:05 AM
Re: TIMEZONE RESET WITHOUT RESTART
TZ=EST5EDT date
TZ=PST8PST date
These are temporary changes for TZ. date interprets the HP-UX internal time (which is GMT) based on the value for TZ and the table called /usr/bin/tztab.
Since you are using eXceed and CDE, things are a bit more complicated. Xwindows tries to bypass 'normal' Unix logins by not running /etc/profile and $HOME/.profile for a terminal login. So changes made to /etc/TIMEZONE will have no effect on the next login. To fix this particular problem, you must restart CDE so the entire Xwindows subsystem will inherit the new TZ value.
Also, if you are running some sort of database or other program that was started at bootup, there is no way to change TZ for that program as it is in RAM. You'll need to restart the program(s).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 12:05 AM
07-09-2004 12:05 AM
Re: TIMEZONE RESET WITHOUT RESTART
The /.profile will give the changes to that root only. If we want to control all users,we can put that in /etc/profile.
Do the change of TZ setting and export of that varible in system wide profile (/etc/profile)
I hope it will do time reset without restart.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 04:54 AM
07-09-2004 04:54 AM
Re: TIMEZONE RESET WITHOUT RESTART
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2004 05:12 AM
07-09-2004 05:12 AM
Re: TIMEZONE RESET WITHOUT RESTART
Reboot the computer, and that's all.
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 08:05 PM
07-11-2004 08:05 PM
Re: TIMEZONE RESET WITHOUT RESTART
My problem is I am having an application
which pick up time from the weblogic
server.
So I have to shutdown and restart the
weblogic server.
Is there any way I can get rid of this
process.
And when I set a new timezone, It should
get reflected without restart.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 06:24 AM
07-12-2004 06:24 AM
Re: TIMEZONE RESET WITHOUT RESTART
weblogic was started incorrectly (it has obtained the wrong TZ value and can't be changed as the value is in the program's memory)
> Is there any way I can get rid of this process.
Which process? Weblogic? Sure, just kill it. If your application gets the time from Weblogic, rewrite the application.
> And when I set a new timezone, It should get reflected without restart.
Well it does but only if the applications and logins change their TZ. In other owrds, there is no way to modify the running programs. They must be restarted to inherit the new TZ value.
Bill Hassell, sysadmin