Changing timezone in Solaris 9

Hi,
How do I change the timezone (TZ value) for all users without putting it in any profile.
I've made the change in /etc/TIMEZONE but the system takes effect only when you restart it. How do I bring it into effect?
I've read that for Solaris (x86) the default crontab entry /usr/sbin/rtc -c under root id does that. What needs to be done in Solaris 9 for SPARC (9/04)?
Regards

rtc is run in cron as root in order to take care of daylight savings.
The problem with the timezone variable is that its picked up by the init process, which then keeps its value and sends it to any program which its spawns (and since all programs are parents or grandparents of init, all of them will get this value).
You can of course set a value in your shell, and then start up the processes which you want to have the correct timezone, but in order for it to take effect system-wide i'm afraid you need a reboot, unless you can use kmdb to change it somewhere, but that would still leave it at its old value in most applications.
//Magnus

Similar Messages

  • Changing resolution in Solaris 10 sparc system

    How do change resolution in solaris 10 on sparc system?
    During install display was fine. Once boot to OS, display is bad. Need to know how I can change resolution to get a decent display on screen.

    I'm not too sure about sparc hardware, as I don't know which graphic server it uses, but on my system(x86) the same thing happened. What I had to do was make an xorg.conf as the install doesn't create one.
    On the CLI execute '/usr/X11/bin/xorgconfig' and this should step you through creating an xorg.conf file- as long as you are using the Xorg server of course.
    or
    execute '/usr/X11/bin/Xorg -configure' this should create a basic xorg.conf and you just edit it yourself where appropriate.
    Personally, if you know your graphic board,monitor, keybrd and mouse along with refresh rates the first method is probably best.
    H.T.H.

  • Change timezone from command

    how to change timezone from command in windows server 2008
    Sudhir

    Hi,
    1. Open an elevated "Command Prompt".
    2. Now provide any of following commands:
    tzutil /g (To know current time zone)
    tzutil /l (To get a list of all available time zones)
    tzutil /s time_zone_ID (To change time zone)
    Fox example, if you want to set the time zone to "Pacific Standard Time", then the command would be:
    tzutil /s "Pacific Standard Time"
    Best regards,
    Vincent Hu

  • Changing timezone

    Hi expert
    I want to ask about changing timezone
    Since Go Live on January 2008, our production system using the wrong timezone (CET), it should be UTC+7, so we can not view current statistic data on ST03 - it just displays statistics data just for two days ago
    I've read this thread [SAP NetWeaver Administrator;, it can be done by changing timezone thru SPRO
    My question is: if I change it now, is it impact to the old data? I mean for the accounting reporting last year and current year, like jurnal, balance sheet, income statement, etc
    Thanks in advance

    I dont think so it will be an issue. (becuase i had made the same mistake a very long back and it did not effect the data.
    Regards,
    Jazz

  • How to change ipaddress in Solaris 2.6, 7, and 8?

    Hello,
    Does anyone know what need's to be done before and during the ipaddress
    change on an E250 running Solaris 2.6,2.7.and 8?
    Thanks

    Hi,
    In Solaris 2.x the IP address is in /etc/hosts file. You can change at same place. You can reboot the system once to take effect.
    I guess this will help you.
    Thanks,
    SdD

  • Still need help with changing hostname on Solaris 10

    Hello.
    I have some difficulties with changing host name of my computer.
    It is DHCP Client.
    AS I understand there are the following steps that I have to do:
    1. Edit the /etc/default/dhcpagent file and change the line that reads the following:
    #REQUEST_HOSTNAME=no
    to
    REQUEST_HOSTNAME=no
    2. There are two empty /etc/hostname files: hostname and hostname6.
    Do I have just to put there hostname?
    3. /etc/hosts has what I need to change.
    4. I was unable to find /etc/nodename. Do I have to create it? What properties should contain this file?
    5. hostname <new hostname>
    In previous time when I tried to change host name with Management Console my system crashed, I changed: /etc/hosts, but it didn't work.
    Thank you.

    Hello.
    Using DHCP you may really have problems changing the hostname.
    The fact is: The DNS server may assign your machine a host name which has nothing to do with the host name you sent to the DHCP server. Depending on the server (typically DHCP and DNS server are the same machine) nothing will really work. (This is the case with my configuration where the servers are located on a DSL router.)
    I solved the problem the following way:
    * I created two host names (MyMachine and MyMachineNet) in the /etc/hosts file (Solaris 10 and newer: /etc/inet/ipnodes must be changed, too.)
    * "MyMachine" is 127.0.0.1 (localhost):
    127.0.0.1 localhost MyMachine
    192.168.178.100 MyMachineNet* I assigned the name "MyMachineNet" to the network interface in /etc/hostname.networkcard.
    * I use DHCP
    The computer name (in /etc/nodename) is "MyMachine". Some programs (e.g. Gnome !) establish a TCP/IP connection to "MyMachine" instead of "localhost" (I do not understand why). These programs are now satisfied because the host name "MyMachine" represents 127.0.0.1 (localhost).
    I know that there is a switch that tells Solaris to take the machine name from DHCP/DNS instead of /etc/nodename. Unfortunately I forgot where it is.
    Martin

  • Change Language in Solaris

    How to change language for a user in Solaris.

    Check this link: http://developers.sun.com/dev/gadc/faq/locale.html
    Cheers
    Andy

  • Change timezone in Java-only system

    Does anyone know how to change the timezone on a Java-only system?
    I have already added the setting "-Duser.timezone=America/Dallas" on the configtool, but when I look at the logs in NWA, it still looks like it is reporting on GMT timezone.
    Thanks!

    try note  Note 834520
    Cheers,
    -Sunil

  • Change timezone in MDM 5.5

    Hi All,
    Do we have any settings where we can change system timezone & user timezone in MDM 5.5 system.
    We have installed MDM 5.5 SP06 Patch 3, Oracle 10g on HP_UX.
    Thanks & Regards
    Rupali S

    Robert, I'll take a shot at this not knowing your environment i.e. version of mars and more importantly is the an LC or GC. If you are trying to change it on the LC you may want to be aware of this:
    Issue: GC:LC - Communication issues after time zone change. After initial configuration, if you change the timezone of a communication GC:LC, there may be problems with communications between the GC and LC.
    Workaround: If you notice that the Local Controller appears offline, verify that at least 10 minutes have passed since the appliances rebooted. Alternatively, you can jump start the communication by navigating to Admin > Local Controller Management in the Global Controller user interface.
    That really applies to older code however you can also keep this in mind, that once you change the time, if it is greater than 30 min the change time commands will reboot the box!
    moreover;
    ssue: GC:LC - Communication issues after time zone change. After initial configuration, if you change the timezone of a communication GC:LC, there may be problems with communications between the GC and LC.
    Workaround: If you notice that the Local Controller appears offline, verify that at least 10 minutes have passed since the appliances rebooted. Alternatively, you can jump start the communication by navigating to Admin > Local Controller Management in the Global Controller user interface.
    Sorry if this solution does not fit your environment. Good luck.

  • Changing Hostname on Solaris 10

    Hi all, I am new to solaris and I just reinstalled it on my laptop which is an AMD64 turion. I searched on google how change the hostname and I edited the /etc/hosts, /etc/hostname.<network_card> and also created an /etc/nodename file and entered the host name. I read somewhere that I had to edit the /etc/inet/ipnodes file which was edited too. However when I reboot the computer, DHCP assigns it the ip address and also the name "new-host-3" .
    How can I change the name permanently to what I want?

    As root, vi:
    /etc/default/dhcpagent
    and remove option 12 (hostname) as one of the parameters to request from the DHCP server.
    or
    reconfigure your DHCP server to send the appropriate hostname.
    alan

  • Changing timezone in ISE 1.1.2

    Hi,
    I need to change the timezone of two ISE 1.1.2 servers. One primary and one secondary. Both are set to "EST" timezone and i would like to change
    them to AMERICA/Montreal because they are now one hour late since day light saving change.
    According to the release notes, it is not recommended to change the timezone on ISE after the installation. I'm thinking of doing a backup
    of the ISE application (in the maintenance GUI or CLI) and then changing the timezone on both servers. After the change the ISE servers will gain one hour. So after i will do a restore of the backup i did just before the timezone change. The timestamp of the backups will be older then the current time
    of the servers.
    Will this work? Is it the best way to change the timezone?
    Does anyone run into this issue? How did you fix that? Did you have any problems?
    Thanks in advance.
    Stephane

    Ive had success with no obvious issues changing time zone on a PSN box. I first broke the join from the PAN server and then did a time zone change. Then rejoin the PSN back to the PAN. Again, I didnt see any issues.
    As for the PAN time zone change, I would probably rebuild the box if you didnt feel comfortable. In most cases if you are very fimilar with ISE it take like 30 minutes to put the config back on it ..
    "Satisfaction does not come from knowing the solution, it comes from knowing why." - Rosalind Franklin
    ‎"I'm in a serious relationship with my Wi-Fi. You could say we have a connection."

  • How to Change TimeZones from Personalize iView

    Hi All,
    In my Masthead, i need to Display the Country name and the Time, user is going to chnage the time zone and Country from Personalize iview User Profile, according to that the respective time is going to display it on Masthead part.
    Now my Question, If user is Change the Timezone & Country in the User profile, how it is going to reflect on  Masthead area.
    Thanks In Advance
    Krishna Ganesh

    Hi Michael,
    In the Masthead JSP it self, we are adding jsp scriptlets and html Div Elements to display the time on the Masthead. Currently i am able to display the server time with normal Java API.
    Now i am going to display 5 timezones in a Iview, that iview is going to add to user's HomePage(User Choice).
    Thanks
    Ganesh

  • Changing TimeZone for Calendar object doesnt change its time

    Hy, I have a Calendar object with I have set with a Date but I I want from this calendar with the Date set, set other timezone for this calendar and get the corresponding time(always gettting the correct time if is in daylightsavings) but I get the same time.
    Calendar calendario = Calendar.getInstance
    calendario.setTime(new Date());
    System.out.println(calendario.getTime()); *// for example I get the 14:12:25 hours for GMT+01:00*
    calendario.setTimeZone(TimeZone.getTimeZone("GMT+02:00")); *//change time zone using GMT*
    System.out.println(calendario.getTime()); *// I get the same hour: 14:12:25*
    Why? How to do it using GMT format?
    Thanks
    Edited by: user13162080 on 13-sep-2011 14:31
    Edited by: user13162080 on 13-sep-2011 14:48

    user13162080 wrote:
    Ok, thanks. The last question, this changing of timezone and the hour I am getting, is respecting the timezone daylight saving?, I mean if the TimeZone I set is in daylight savings, I will get the correct hour according to this?What DrClap said.
    However, I think you still may be under some misapprehension about time zones:
    1. A Date does NOT have a timezone, even though it stores a date/time value.
    2. Setting a Calendar's timezone does NOT change the time stored in the Calendar. You may even need to run its complete() or computeFields() method to have the timezone change reflected in all its fields (not sure).
    3. As DrClap said, if you are using a DateFormat to display the Calendar, you need to set its* timezone in order to see what you want (for reason 2 above).
    It's amazing to me that after 10 years this API still gives so many problems (and believe me, you're not the only one).
    One thing you might also want to do is have a look at [url http://joda-time.sourceforge.net/]Joda Time. It's been around for a long time now, and so is quite mature; and is fully interchangeable with standard Java date/time classes. In fact, many of its ideas were under consideration for Java Version 7 as JSR-310, but were decided against (still not quite sure why, as in my view the current API is very poor).
    Winston

  • Changing timezones shifts calendar events (N93, E6...

    It is commonly accepted that if you arrange a meeting for when you get to New York, you arrange a time for the time zone New York is in, (unless you want to leave your phone at home in England) so why do all the calendar events shift 5 hours automatically when you set your clock to -5 GMT? Has anyone noticed this? Very annoying. I have to ignore the timezone function and simply adjust the clock back a few hours (the phone asks if I have travelled to a different timezone, I have to press NO).

    Let me give an example to explain better.
    If i've arranged a meeting in New York for 1400hrs (and added a calendar event for 1400hrs) and then fly from UK to New York, I would normally change my phone timezone to the local timezone on arrival, so for example, 1300hrs GMT arriving in New York my timezone would slip back 5 hrs to a local time of 0800hrs.
    On opening the phone's calendar, a window then announces that 'time zone changed, calendar entries updated', and hey presto my 1400hrs meeting (and everything else in the calendar) has gone forward 5hrs to 0900hrs.
    The event *should* remain at 1400hrs, not to have shifted just because I have changed the time zone of the phone. My Treo never did this, it's quite annoying.

  • How can I get iphone 4s to change timezone automaticaly?

    I have recently bought a new iphone 4S.  Software is up to date.  Location Services are on.  Timezone is set to automatic but it's locked on Sydney.  When I travel around the country the time doesn't change whereas my 3G used to change automatically.  The only way I can change it is to revert to manual and select where I am and the time.  Any ideas?  It's very frustrating!

    JT1812 wrote:
    I have recently bought a new iphone 4S.  Software is up to date.  Location Services are on.  Timezone is set to automatic but it's locked on Sydney.  When I travel around the country the time doesn't change whereas my 3G used to change automatically.  The only way I can change it is to revert to manual and select where I am and the time.  Any ideas?  It's very frustrating!
    I believe the time zone setting work automatically only in North America.  However, most services provide the time setting correctly when you make, or receive a call.  Check this with your service provider.

Maybe you are looking for