Problem
When I run rtpm or mpstat, I get an error message "mas_open: MAS_SANITY nlocs corrupted"
# mpstat
mas_open failed
mas_open: MAS_SANITY nlocs corrupted
mpstat: mas setup failed# rtpm
mas_open: MAS_SANITY nlocs corruptedThis also happens when OpenServer 6.0.0 Maint. Pack 1 (MP1) is installed.
Solution
This issue 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 promary disk on the system.
As a fix, run as root the /sbin/metreg command:
# /sbin/metregNOTES If you see "Memory" or "Segmentation" faults then check "memsize".This has been seen on servers with 8GB of RAM and the issue has been reported to SCO Engineering.
See also
metreg(ADM)http://osr600doc.xinuos.com/en/man/html.ADM/metreg.ADM.htmlTA#126325 "sadc: Error opening metric registration file. File:'sadc.c', line:206" TA#125954 ""sadc: Error opening output. File:'sadc.c'" in mail indicating problems with output from "cron" command"