Wednesday, February 2, 2011

ypmatch: the domainname hasn't been set on this machine

Metric error received in Grid Control 10.1.0.4.0 view for AIX 5.2 target host: "ypmatch: the domainname hasn't been set on this machine."

The cause of this problem is that "bos.net.nis.client" fileset is installed, but NIS is not configured for use. The existence of this fileset causes the ypmatch command to be used as part of host metric collection, but this command will fail if NIS is not configured for use on the system.

To disable the file give the command: chmod -x /usr/bin/ypmatch, so the command cannot be sent and the error is not generated.

2 comments:

  1. Hi, beside the error received do you have another important issues?

    ReplyDelete
  2. No, I didn't have other issues, just the error.

    ReplyDelete