Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
1760 views

Timesync Problem

Has anyone encountered an error where time synch is active but the date &
time are not set on the server? This occurred the other day on a NW 6.5 SP6
server and many of our Windows XP workstations changed their times to the
year 2036. This resulted in users not being able to authenticate to Active
Directory. The workstations are running Novell Client 4.91 SP2 minimum.

Time appeared to be in synch in NRM when I checked but this is what showed
on the server console a few minutes later:

CROWN:time
Time zone string: "EST5EDT"
DST status: ON
DST start: Sunday, March 14, 2010 2:00:00 am EST
DST end: Sunday, November 1, 2009 2:00:00 am EDT
Time synchronization is active.
Time is NOT synchronized to the network.
Wednesday, June 3, 2009 3:44:34 am UTC
Date and time are not set 6:12:50 am EDT\


timesync.cfg:

# TimeSync.Cfg is now updated automatically,
# when changes are made on the System Console

# TIMESYNC Configuration Parameters

Configured Sources = ON
Polling Count = 3
Polling Interval = 600
Service Advertising = OFF
Synchronization Radius = 2000
Type = SECONDARY
NTP Client Port = 0

# TIMESYNC Configured time source list

TIME SOURCE = TIMESYNC-1.SERVER.UFL.EDU
TIME SOURCE = TIMESYNC-2.SERVER.UFL.EDU

Unloading timesync and reloading corrected the problem. Any ideas what would
cause this and how to prevent from happening again?

Thanks,







Labels (2)
0 Likes
13 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

Monte,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://support.novell.com/forums/

0 Likes
utman Absent Member.
Absent Member.

Re: Timesync Problem

You may want to try posting in the eDir section as that team supports timesync.
0 Likes
ataubman Absent Member.
Absent Member.

Re: Timesync Problem

What are those configured sources? I suspect your whole timesync setup is not right; for a start a Secondary server should anly be pointing to one source. You should also be using IP addresses not DNS names, as timesync is not good at name resolution.

Andrew C Taubman (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Micro Focus.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

I changed the sources from DNS names to IP addresses. There are Novell TIDs
that talk about configuring multiple time sources. Wouldn't you want to have
more than one in case the first source is unavailable?

Monte

>>>

* What are those configured sources? I suspect your whole timesync setupis
* not right; for a start a Secondary server should anly be pointing toone
* source. You should also be using IP addresses not DNS names, astimesync
* is not good at name resolution.-- Andrew C Taubman
* Novell Knowledge Partner
* http://forums.novell.com/
* (Sorry, support is not provided via e-mail)
*
* Opinions expressed above are not
* necessarily those of Novell
Inc.------------------------------------------------------------------------
ataubman's Profile:
* http://forums.novell.com/member.php?userid=34View this thread:
* http://forums.novell.com/showthread.php?t=375325
0 Likes
ataubman Absent Member.
Absent Member.

Re: Timesync Problem

You might want the tree's REF or SINGLE to have multiple sources, but not SECs, no.

I'd be happy to validate your whole timesync setup if you can just detail it here for me.

Andrew C Taubman (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Micro Focus.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

Andrew,

Here's the current config:

# TimeSync.Cfg is now updated automatically,
# when changes are made on the System Console

# TIMESYNC Configuration Parameters

Configured Sources = ON
DEBUG = 7
Polling Count = 3
Polling Interval = 600
Service Advertising = ON
Synchronization Radius = 2000
Type = SECONDARY
NTP Client Port = 0

# TIMESYNC Configured time source list

TIME SOURCE = 128.227.128.171
TIME SOURCE = 128.227.128.170

Is there more information you need?

Monte

0 Likes
Marcel_Cox Absent Member.
Absent Member.

Re: Timesync Problem

Monte Meyer wrote:

>
># TimeSync.Cfg is now updated automatically,
># when changes are made on the System Console
>
># TIMESYNC Configuration Parameters
>
>Configured Sources = ON
>DEBUG = 7
>Polling Count = 3
>Polling Interval = 600
>Service Advertising = ON
>Synchronization Radius = 2000
>Type = SECONDARY
>NTP Client Port = 0
>
># TIMESYNC Configured time source list
>
>TIME SOURCE = 128.227.128.171
>TIME SOURCE = 128.227.128.170


Your config is not correct in different aspects:

1) The main error is that you are trying to sync to NTP servers on the
internet, but you are not specifying that you want to use the NTP
protocol. Slecting the NTP protocol is achived by putting the port
information :123 after the IP addresses of your sources. E.g. they should
become:

SET TIMESYNC Time Sources = 128.227.128.171:123;128.227.128.170:123

Apart from this, your timesync configuration is also incorrect regarding
the role of your server. If your server is a secondary server, that means
it should get its time from a reference or single server in your tree. In
your case however it gets the time from an external source in which case
your server should typically be of type "single". Is this the only server
in your tree or do you have multiple servers in your tree?


--
Marcel Cox
http://support.novell.com/forums
------------------------------------------------------------------------
Marcel Cox's Profile: http://forums.novell.com/member.php?userid=8
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

Running dsrepair/Time Synchronization shows 128.227.128.171 as a Reference
time server in our tree. 128.227.128.170 is listed as a primary server.

Monte
0 Likes
Marcel_Cox Absent Member.
Absent Member.

Re: Timesync Problem

Sorry, from the initial names and from the public IP addresses, I thought
these servers were NTP servers and not NetWare servers.
If these are NetWare servers, then stating the bare IP addresses is OK.
You should however verify the servers themselves to see if they are OK
from the timesync point of view. It's no use trying to timesync with a
server if that server you are syncing with is not in sync itself.
Another thing to do is watch the timesync debug screen. In case of
timesync errors, that screen might already have opened automatically. If
not, you can manually open the debug screen by using the command:

set timesync debug = 7

The timesync debug screen will show all kinds of errors that may occur
during your server's attempt to sync time.

--
Marcel Cox
http://support.novell.com/forums
------------------------------------------------------------------------
Marcel Cox's Profile: http://forums.novell.com/member.php?userid=8
0 Likes
ataubman Absent Member.
Absent Member.

Re: Timesync Problem

Yes, I needed your whole timesync setup for your tree, not just that one server. That's what led Marcel astray.

Here's how it should be. There must be either one REFERENCE and two or more PRIMARYs, or one SINGLE. All else must be SECONDARYs.

In the REF/PRI model (only recommneded for trees over about 30 servers) each PRI must have all other PRIs and the REF listed as configured sources. The REF must have EITHER an NTP source outside the tree, or the REFs listed as configured sources. The SECs can use service advertising, but if you use configured sources as you have in this one server, each should only have one, and that one can only be 1/ a PRI or 2/ another SEC which in turn points to a PRI.

If you use the SINGLE model, all SECS point to that SINGLE (or to another SEC that point to it) and the SINGLE must have either nothing listed, or an NTP source outside the tree.

All IP addresses pointing to NTP sources outside the tree must end with :123 . Configured Sources within the tree should not in general have :123, so that they use timesync protocol.

Andrew C Taubman (Sorry, support is not provided via e-mail) Opinions expressed above are not necessarily those of Micro Focus.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

As it stands right now there is one Ref, one Pri & about 10 Sec servers. At
one time there were many more servers but all will probably be
decommissioned by the end of the year and our tree will be going away. In
the interim, I will check with the root admin about how the Ref & Pri
servers are set up and see about changing the config to match your post.

Thanks,
Monte
0 Likes
Knowledge Partner
Knowledge Partner

Re: Timesync Problem

Hi,

Monte Meyer wrote:
>
> As it stands right now there is one Ref, one Pri


That's an invalid setup, no wonder you're having problems. In a
Reference / Primary setup, you *must* have at least two primaries.
That's not optional or desired, it's absolutely mandatory, otherwise
your time will never be in sync throughout the tree.

With your amount of servers, I'd strongly suggest changing the Reference
to a Single, and the remaining primary to a secondary. That should do
it.

CU,
--
Massimo Rosen
Novell Product Support Forum Sysop
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Timesync Problem

Thanks for the input. I've passed the information on to the root admin and
hopefully these changes will be made soon.

Monte
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.