smconfigtest:ERROR: /etc/opensm/opensm.conf has been modified. Please configure the SM using the /SYS/Fabric_Mgmt CLI. (Doc ID 2014422.1)

Last updated on MAY 27, 2015

Applies to:

Sun Datacenter InfiniBand Switch 36 - Version All Versions and later
Sun Network QDR InfiniBand Gateway Switch - Version All Versions and later
Information in this document applies to any platform.

Symptoms

smconfigtest is an IB switch command used to verify OpenSM configurations in /etc/opensm/opensm.conf.

smconfigtest reports errors when it detects invalid configuration in /etc/opensm/opensm.conf or when /etc/opensm/opensm.conf has been manually edited, for example via the vi command.

Oracle strictly does not recommend customers to manually edit /etc/opensm/opensm.conf at all.  The recommended way to adjust OpenSM settings is only via IB switch commands (see below).

However, /etc/opensm/opensm.conf, being a file and just like any other files, can be manually edited by any privileged user, such as the root-user, either wittingly or unwittingly; accidents or typos can occur.

For some well-known parameters, if smconfigtest detects a parameter value beyond its legal ranges, then it can print out a more specific error.

An example of setting log_max_size to 8 yields:

 

Changes

/etc/opensm/opensm.conf is being manually edited by any privileged user, such as the root-user, either wittingly or unwittingly; accidents or typos can occur.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms