AIX timezones - a way around rebooting?


 
Thread Tools Search this Thread
Operating Systems AIX AIX timezones - a way around rebooting?
# 1  
Old 10-23-2006
AIX timezones - a way around rebooting?

Hi,

I've got a bunch of IBM AIX 5L 5.3 and 5L 5.2 servers here that I've inherited from my predecessor in a new job, and I'm trying to sort out their timezones. A number of them need to have their timezones changed to the correct setting - it would appear that they were not configured properly in the first place.

Ordinarily, this would not be a problem - edit the /etc/environment file and reboot. Except that these AIX servers are 24/7/365 production servers, and cannot be rebooted. Therefore, I need a way to tell AIX to re-read the /etc/environment file and set the system timezone properly WITHOUT having to reboot.

Is this even possible?
# 2  
Old 10-23-2006
Try export TZ=bst0gmt and set the time with the date command.
# 3  
Old 10-23-2006
it works!

Great stuff - it works. Wonder why smitty tells you to reboot your system instead of just setting this environment variable itself for you? stupid thing.

Thanks loads!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Rebooting a career

Apologies if this is not the correct place to post this. I used to have a job supporting several custom applications that ran on Unix platforms. I used shell scripting, sed, awk, and SQL, but all on a pretty basic level. I also performed non-technical tasks like helping with project management,... (4 Replies)
Discussion started by: intranslation
4 Replies

2. AIX

rebooting HMC

Hi, I would like to know wheather rebooting HMC will impact on Management Systems or Lpar inside it is showing? or I have to shutdown LPAR then only reboot HMC. (7 Replies)
Discussion started by: manoj.solaris
7 Replies

3. Linux

DST Time Change for positive timezones not working

I was doing timezone and DST testing which is required for some of my products Here is the strange behaviour i observed First i did set the timezone to PST 2010 (which is less than GMT basically negative timezone) zdump -v /etc/localtime |grep 2010 /etc/localtime Sun Mar 14 09:59:59... (0 Replies)
Discussion started by: ravindra1103
0 Replies

4. AIX

Keep rebooting when reaching "Welcome to AIX" screen

Hi. My server was running fine for a couple of months. When the building power system needs to be maintained, we had to shutdown all servers, then my AIX server just didnt want to start at all. When it reaches the "Welcome to AIX" screen, it reboots again :( Could anyone have any idea what it... (2 Replies)
Discussion started by: bsddaemon
2 Replies

5. AIX

hmc not rebooting

Anyone faced this? I rebooted the HMC through command line after patch installation (hmcshutdown -t now -r) The strange thing happened was the hmc never rebooted, I was not able to connect it through graphical view or through ssh, but the session through which i issued the command was still... (4 Replies)
Discussion started by: balaji_prk
4 Replies

6. Shell Programming and Scripting

Not able to 'su' to other user when rebooting the server

Hi All, I have created one script with starting letter 'S' (Example: Start) and stored in the path "/etc/rc.d/". This script was called automatically when we reboot the server. In this script i am using 'su' command to switch other user but it is not working, it giving some error. su... (2 Replies)
Discussion started by: Selva_Kumar
2 Replies

7. Linux

Get the timezones of various users

Hi, How will I get the timezones of various users logged in a UNIX server. Please advise. Thanks, Praveen (0 Replies)
Discussion started by: praveen_k034
0 Replies

8. AIX

AIX Constant Rebooting

IBM has replaced all parts in the system 3 times. Had electrician check to make sure the dedicated electrical circuit was good. Made sure the server rack was grounded, but AIX keeps shutting down when everyone is on the system. Reloaded AIX on the system. If the system is left alone it will stay... (4 Replies)
Discussion started by: AIXNEWBEE
4 Replies

9. Post Here to Contact Site Administrators and Moderators

Daylight Savings - Timezones etc...

Hey Neo - or other Unix.com staffers - I've selected my Timezone for the forums - however it's wrong for my Country - as we have Daylight Savings for 6 months of the year - so currently were 1 hour ahead of the time that is provided in the personal options pages. Can we add another for this - no... (5 Replies)
Discussion started by: peter.herlihy
5 Replies

10. UNIX for Dummies Questions & Answers

soft rebooting

When I do a hard reboot, the system recognizes both the ttya and the ttyb, but when I do a hard reboot, it only doesn't recognize the ttyb. Is there a way I can fix this??? Thanks!:confused: (5 Replies)
Discussion started by: nattie_h
5 Replies
Login or Register to Ask a Question