Technical article 126325

sadc: Error opening metric registration file. File:'sadc.c', line:206

OpenServer 6.0.0

Written · Last revised

Problem

Sometimes when I run sar(ADM) on my OpenServer 6.0.0 system I see the error message:

sadc: Error opening metric registration file.
File:'sadc.c', line:206

Solution

This problem has been reported to SCO Engineering.

One scenario that is known to cause this error is when you either manually or automatically mount a filesystem that resides on a disk other than the primary disk on the system.

To workaround the problem, as root, run the command:

# /sbin/metreg

If this does not address the issue then run:

# /usr/lib/sa/sar_enable -n
# /sbin/metreg
# /usr/lib/sa/sar_enable -y

See also

TA126033: "I get "mas_open: MAS_SANITY nlocs corrupted" when running "mpstat" or "rtpm" on a SCO OpenServer 6.0.0 SMP system"

TA125954: ""sadc: Error opening output. File:'sadc.c'" in mail indicating problems with output from "cron" command"

From the Xinuos technical article database, record 126325. Reproduced with permission. The original is at www.sco.com/ta/126325, which is reachable but blocked from search engines.

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.