Change timezone in Solaris 11


 
Thread Tools Search this Thread
Operating Systems Solaris Change timezone in Solaris 11
# 1  
Old 06-05-2013
Change timezone in Solaris 11

I was trying to change timezone on my new solaris-11 server to US/Pacific, but not successfull.
HTML Code:
root@tsapp01 # grep TZ /etc/default/init
TZ=localtime
Can somebody share something on this ? It seems, /etc/TIMEZONE is no longer in use for Solaris 11
# 2  
Old 06-05-2013
Code:
svccfg –s timezone:default setprop timezone/localtime = astring: US/Mountain
svcadm refresh timezone:default

This sets the timezone to US/Mountain The timezone file has to exist first.
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 06-06-2013
you can also do this with sysconfig.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 global zone timezone

Am new on Solaris If I compare with ESXi default timezone is UTC and we have to set BIOS timezone to UTC too . What we follow and best practice in Solaris Sparc servers . Thanks in advance . (2 Replies)
Discussion started by: Shirishlnx
2 Replies

2. UNIX for Advanced & Expert Users

Log for Timezone change in unix server

There is a unix server where the time zone has been changed from EST to CST.Can we get any kind of log when it was changed anywhere in the unix machine. Also the path for the same. If there is any other way to know this please let me know (3 Replies)
Discussion started by: dr46014
3 Replies

3. Solaris

Change Solaris hostid

Hi, I've searched the UNIX forum looking for a simple procedure how to change\control my Solaris server hostid. I did found few threads but all of them either have broken links to all kinds of scripts or not described simply for some UNIX beginers user like me. Can anyone assist me? I... (21 Replies)
Discussion started by: avisht
21 Replies

4. Shell Programming and Scripting

Script to change Timezone(Solaris)

india 22/11/2009 10:00:00 AM sweden 22/11/2009 01:30:00 PM As mentioned above i will get the datetime string from my customer and i need to change that String into diffrnt timezone as mentioned above. ---------- Post updated at 01:54 AM ---------- Previous update was at 01:01 AM ----------... (5 Replies)
Discussion started by: vikas482
5 Replies

5. Solaris

Solaris ip Change

Hi all i changed ip of my sunfire V490 machine by using the ifconfig command i modified following files /etc/hosts /etc/netmasks /etc/defaultrouter /etc/inet/ipnodes still when i rebooted the server ip got change. can nyone tell me reasonwhy it happens....... (7 Replies)
Discussion started by: raynu.sharma
7 Replies

6. Solaris

How to change Timezone without restarting teh server

Hi I have changed my timezone using the command export TZ='Asia/Calcutta" but teh affect is taking place only in teh shell where I am logged in. If I export teh variable when I open the new session, things are fine. Can I affetct the change universally, without restarting the server. ... (2 Replies)
Discussion started by: krishan
2 Replies

7. UNIX for Advanced & Expert Users

TimeZone changing in Solaris

I've date back one of my Unix WS ,after that again i want to return to real date,but after running: # date -u mmddHHMMyy the clock immediately returns to GMT timezone that is different with my local timezone. any suggestion could be useful... tanx --nikk (2 Replies)
Discussion started by: nikk
2 Replies

8. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies

9. UNIX for Dummies Questions & Answers

change solaris to 32bit

Hi Any one know how to change solaris 7 from 64 bit, back to 32 bit,, i know its on sunsolve somewhere but i cant see it. thanks:D (2 Replies)
Discussion started by: thangorn
2 Replies
Login or Register to Ask a Question