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/metregIf 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"