Technical article 126033

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

OpenServer 6.0.0

Written · Last revised

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 corrupted

This 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/metreg
NOTES     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.html

TA#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"

From the Xinuos technical article database, record 126033. Reproduced with permission. The original is at www.sco.com/ta/126033, 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.