Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Sysinstall not setting the time zone correctly Post 302448608 by figaro on Thursday 26th of August 2010 12:02:31 PM
Old 08-26-2010
Sysinstall not setting the time zone correctly

Every time a new machine is installed with either Linux or FreeBSD we set the timezone to either UTC or CEST. However, the clock on the desktop is almost always one hour or two hours behind. We then run sysinstall > configure > time zone (FreeBSD) or set the clock in the panel (xfce / linux), but there is no change, even after a reboot. We presume that clocks are synchronised with the ntp servers. What would be the standard way of correcting the time zone?

Thank you in advance
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time zone setting

Tru64 (4.0D) How to change the time zone setting for the system? Sanjay (5 Replies)
Discussion started by: sanjay_g
5 Replies

2. Solaris

Sun Solaris 4 - Need to know zone setting procedure. Please help!

Sun Solaris 4 - Need to know zone setting procedure. Please help!:( (6 Replies)
Discussion started by: nkpalkar
6 Replies

3. AIX

Setting connection time zone

New to AIX AIX 5.3 Is it possible to set the time zone for an individual user connection? I have an environment that may be used by several global locations and the information they enter needs to be in each of their own time zones. Ideally we need to do this for cron jobs as well. ... (3 Replies)
Discussion started by: MizzGail
3 Replies

4. Shell Programming and Scripting

Compare Last Modified Time across Time Zone

Hi, I'm new to shell script programming, I only have Java programming background. I'm writing a shell script to do file synchronization between 2 machines that located at different time zone area. Both machine were set its time zone according to its geographical location (Eg: server is at... (1 Reply)
Discussion started by: python
1 Replies

5. AIX

Time Zone for a User Different From Server Time

Hi, A server runs on EDT. Can I set a user with time-zone GMT without changing the server time? regards, Roshni (1 Reply)
Discussion started by: RoshniMehta
1 Replies

6. BSD

Standard FreeBSD install by circumventing sysinstall

Many of our machines are using the same FreeBSD install apart from details such as user name and node name. What would be an efficient way to install these machines without having to go through the sysinstall questions every time? We could create an iso image, but how are the user name and node... (0 Replies)
Discussion started by: figaro
0 Replies

7. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

8. Solaris

showing 2 different time zones in global zone and nonglobal zone

can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT. System in running with solaris 10 (3 Replies)
Discussion started by: ravijanjanam12
3 Replies

9. Shell Programming and Scripting

Convert UTC time into current UNIX sever time zone

Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone. For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

10. Solaris

Help setting up a bhyve branded zone

So I started with following the example on the omnios page for bhyve (sorry, I can't provide the link because I'm a post shy of the 5 to give a URL): And found that in the end I was able to create a running bhyve zone, but accessing it via zlogin results in a blank console. I've tried Debian 9... (14 Replies)
Discussion started by: stratacast1
14 Replies
TZSETUP(8)						    BSD System Manager's Manual 						TZSETUP(8)

NAME
tzsetup -- set local timezone SYNOPSIS
tzsetup [-nrs] [-C chroot_directory] [zoneinfo_file | zoneinfo_name] DESCRIPTION
The tzsetup utility reads a database of timezone information and presents a menu allowing the user to select a specific zone without knowing the details of the database layout. The selected zone is installed as the system default zone. The tzsetup utility also determines whether any adjustment is necessary for systems where the hardware clock does not keep UTC. The following options are available: -C chroot_directory Open all files and directories relative to chroot_directory. -n Do not create or copy files. -r Reinstall the zoneinfo file installed last time. The name is obtained from /var/db/zoneinfo. -s Skip the initial question about adjusting the clock if not set to UTC. It is possible to short-circuit the menu system by specifying the location of a zoneinfo_file or the name of the zoneinfo_name on the command line; this is intended mainly for pre-configured installation scripts or people who know which zoneinfo they want to install. TIMEZONE DATABASE
The contents of the timezone database are indexed by /usr/share/zoneinfo/zone.tab. This file lists, for each timezone data file, the ISO 3166 territory code, approximate geographical coordinates (in ISO 6709 format), and location within the territory. The maintainers of the database maintain the following policies: 1. At least one zone for every country or inhabited geographical territory. 2. One zone for every distinct, documented timezone history since the beginning of the UNIX epoch (January 1, 1970, GMT). 3. Each zone is named for the most populous city therein. (Where possible, the database includes pre-1970 history for its city.) The source code to the database (/usr/src/share/zoneinfo/[a-z]*) contains many additional comments and documentation references for the his- torically minded. FILES
/etc/localtime current time zone file /etc/wall_cmos_clock see adjkerntz(8) /usr/share/misc/iso3166 mapping of ISO 3166 territory codes to names /usr/share/zoneinfo directory for zoneinfo files /usr/share/zoneinfo/zone.tab mapping of timezone file to country and location /var/db/zoneinfo saved name of the timezone file installed last EXAMPLES
Normal usage, to select the right zoneinfo file via the dialog-based user interface: tzsetup Install the file /usr/share/zoneinfo/Australia/Sydney: tzsetup /usr/share/zoneinfo/Australia/Sydney Install the zoneinfo file for Australia/Sydney, assumed to be located in /usr/share/zoneinfo: tzsetup Australia/Sydney After a reinstall of the zoneinfo files, you can reinstall the latest installed zoneinfo file (as specified in /var/db/zoneinfo): tzsetup -r SEE ALSO
date(1), adjtime(2), ctime(3), timezone(3), tzfile(5), adjkerntz(8), zdump(8), zic(8) DISCLAIMER
The representation of certain localities as being associated with certain countries and/or territories is for the purposes of identification only, and does not imply any endorsement or rejection on the part of the FreeBSD Project of the territorial claims of any entity. BUGS
Programs which are already running when tzsetup creates or updates /etc/localtime will not reflect the updated timezone. When the system is first configured for a non-UTC hardware clock, it is necessary to run adjkerntz(8) (which normally happens as a part of system startup) in order to update the kernel's idea of the correct timezone offset. BSD
October 21, 2009 BSD
All times are GMT -4. The time now is 01:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy