Technical article 110717

How can I stop my SCO OpenServer 5 system from tracking the Real Time Clock of my server?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

SCO OpenServer Release 5 systems use a kernel routine to track the Real Time Clock (RTC) of the system to ensure that the System Clock drifts by no more than two seconds from the RTC value.

If the RTC logic of your PC hardware to the PC BIOS is faulty, you may need to turn off this functionality to allow your SCO Server to continue to function while you work on replacing your faulty hardware.

You may also want to turn off this functionality if you need to track an external time source using xntpd(ADMN).

This technical article explains how to disable RTC tracking on your SCO OpenServer 5 system.

Solution

To disable RTC tracking you must log in to your system as root and do the following:

1. Edit the /etc/conf/pack.d/kernel/space.c file with your favorite editor and change the line that reads:

long    track_rtc = 1;  /* set 1 for system time to track the RTC */
to:
long    track_rtc = 0;  /* set 1 for system time to track the RTC */

2. Relink the kernel using the commands:

cd /etc/conf/cf.d
./link_unix
3. Reboot your system.

Your new kernel, once booted, will no longer track the RTC.

NOTE:     SCO XENIX, SCO UNIX System V/386 and SCO Open Desktop and SCO Open
          Server Release 3.0 Operating Systems do not track the RTC.

See also

ta110714, "Can I switch off Real Time Clock tracking on SCO UnixWare or UnixWare 7?"

From the Xinuos technical article database, record 110717. Reproduced with permission. The original is at www.sco.com/ta/110717, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.