problem with date and time in redhat 9

Posted on 2006-06-01
Last Modified: 2013-12-16
I am using red hat 9 for page server. The time and date setting of the server changes automatically. The date getting changed to next day date and the time 12 hours more.

Please help

Question by:prbala
    LVL 22

    Accepted Solution

    Obviously, check that the bios setting is correct - on startup normally F2 or del.

    Otherwise, the key file is probably /etc/localtime. This file dictates what timezone you are in. If you:

    vi /etc/localtime, you'll get a load of garbage....but you will see the time zonetowards the end of this binary file. (By the way :q! quits vi in case you are not familair with it!

    To correct your timezone if it is wrong, you need to copy the appropriate timezone file from:




    LVL 3

    Assisted Solution

    pjedmond, I think it is also possible to make a symlink /etc/localtime -> /usr/share/zoneinfo/<timezonefile>

    Also these questions seem relevant.
    LVL 22

    Expert Comment

    Yes - a symbolic link will work just as well:)

    (   (()
    (`-' _\
     ''  ''

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now