Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Change time of DEC UNIX Tru64 4.0f

Ronja Rodin
Occasional Visitor

Change time of DEC UNIX Tru64 4.0f

Hallo,
How can I change the system time of a server of Tru64 4.0f. I’m in a test network without a ntp time synchronisator.

I will be happy if somebody could help me.

Regards.
Ronja
4 REPLIES
Venkatesh BL
Honored Contributor

Re: Change time of DEC UNIX Tru64 4.0f

using 'date'?
Mohamed K Ahmed
Trusted Contributor

Re: Change time of DEC UNIX Tru64 4.0f

see the manual for the "date " command by typing
# man date
you can set the date and time
# date mmddhhmmyy
mm : month
dd : day
hh : hour
mm : minute
yy : year
Johan Brusche
Honored Contributor

Re: Change time of DEC UNIX Tru64 4.0f

Ronja,

You better change the dat/time in single user
mode, either by going from init level 3 to init level S, or by booting into it with "-fl s" .

Changing the date in multi-user can cause several applications to continue using the old time reference.

__ Johan.

_JB_
Ross Minkov
Esteemed Contributor

Re: Change time of DEC UNIX Tru64 4.0f


Ronja,

I'd recommend using xntpd to maintain the time after you set it. It's configuration file is /etc/ntp.conf.

> Iâ m in a test network without a ntp time synchronisator.

Even if that test network is completely cut off from the rest of the world you still can:

1. Pick several systems in the test network and use them as ntp servers (just run xntpd on them).

2. Point the rest of the systems in the test network to them using "server" in ntp.conf.

3. Use "peer" in ntp.conf on the systems you picked for servers. Point every one of them to all of the other 'servers' (the ones you picked) in the test network.

peer
This command specifies that the local server is to operate in "sym-
metric active" mode with the remote server host_address. In this mode,
the local server can be synchronized to the remote server and, in addi-
tion, the remote server can be synchronized by the local server. This
is useful in a network of servers where, depending on various failure
scenarios, either the local or remote server host may be the better
source of time.


Regards,
R