Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Time Stamp Problem

Time Stamp Problem

2003-07-10       - By Michael Martinez

 Back
Reply:     1     2     3     4  

The files of relevance are: /etc/sysconfig/clock and /etc/localtime.
"/etc/sysconfig/clock" can be modified by hand, and then use the command
"/usr/sbin/timeconfig" to update /etc/localtime.

The "date" command is used to set your system time. A lot of people run
a "time daemon" such as xntp to keep all their servers synchronized. But
if you only have a few servers or the time issue is important but okay
if each server drifts a minute or two, you can do what I do and
designate a single server as your "master time server," configure it to
use xinetd for the "time" service at a certain window each night, and
configure a cron job on your clients to run "rdate -s servername" at
this time each night.

The above will set and keep your system time.

If you want to make sure your hardware clock is synchronized with the
system time, you use the "hwclock" command. You can set the hardware
clock to the system time, or vice versa. Keep in mind that during system
start up (booting), the hwclock command is run from
"/etc/rc.d/rc.sysinit" and depending on how it's run it may override
what you're doing by hand.

mike

On Tue, 2003-07-08 at 17:10, Suresh Babu A. [IT Engineer] wrote:
> Hello All,
>
> The problem occurs occasionaly and further it gets resolved on it own !!!
>
> Suresh A.
>
> On Tue, 8 Jul 2003, Jeff Kinz wrote:
>
> > Date: Tue, 8 Jul 2003 16:59:07 -0400
> > From: Jeff Kinz <jkinz@(protected)>
> > Reply-To: psyche-list@(protected)
> > To: psyche-list@(protected)
> > Subject: Re: Time Stamp Problem
> >
> > On Wed, Jul 09, 2003 at 01:22:08AM +0530, Suresh Babu A. [IT Engineer]
wrote:
> > > Dear All,
> > >
> > > While creating a file in my Linux the time stamp for the file shows "30th
> > > Sep 1960", because of this i couldn't view the file in Windows OS. This
> > > problem occurs occasionaly. How to resolve it ?
> >
> >
> > You system time/date is set to zero.
> >
> > You can use the "date" command to set it to the correct time.
> >
> >   date [MMDDhhmm]
> >
> > Like this:  date 07081655
> >
> > for July 8, 4:55 PM
> >
> > With no arguments date displays the current time.
> >
> > --
> > Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  jkinz@(protected)
> > copyright 2003.  Use is restricted. Any use is an
> > acceptance of the offer at http://www.kinz.org/policy.html.
> > Don't forget to change your password often.
> >
> >
> > --
> > Psyche-list mailing list
> > Psyche-list@(protected)
> > https://www.redhat.com/mailman/listinfo/psyche-list
> >
>
>
> Thanks
>
> SureshA
> uarusu02@(protected)
>
>
> --
> Psyche-list mailing list
> Psyche-list@(protected)
> https://www.redhat.com/mailman/listinfo/psyche-list
--
Michael Martinez
Linux System Administrator
Marlaw Systems
ISTM/CSREES/USDA
(202) 720-6223




Earn $52 per hosting referral at Lunarpages.