SRDB ID | Synopsis | Date | ||
47310 | Sun Fire[TM] 12K/15K: "help" command error messages; No manual entry for <command>. | 9 Oct 2002 |
Status | Issued |
Description |
After issuing the command "help thermcal" or certain other help commands we see errors logged:
root@mc15k-sc0 # help thermcal No manual entry for thermcal.
The following message might be logged in the /var/adm/messages file after this command fails:
help[1433]: [6706 640738460694 ERR helpApp.cc 223] Execv call failed. return code: 2
SOLUTION SUMMARY:
Explanation:
An error code of 2 is ENOENT - No such file or directory.
The help command can only issue assistance for certain commands, daemons, scripts, etc., as they relate to SMS.
There are specifically some commands, daemons, scripts, etc., which are purposely tagged as internal SMS commands and therefore cannot issue a "help". It is also important to note that man pages do not exist for these "internal" SMS commands. Those commands which are "internal" are listed in the /etc/opt/SUNWSMS/SMS1.2/config/help_command.txt file.
Action:
No action is advised if the command that "help" is being used on is in the exclusion list in the /etc/opt/SUNWSMS/SMS1.2/config/help_command.txt file. Just make sure not to request a "help <command>" on those "internal" commands which are in the exclusion list.
Here is sample output from one SC's help_command.txt file which shows the command exclusion list:
// Note: The following commands are either daemons, scripts, or don't // support usage, and should be excluded from the list below: // dca, dsmd, dxs, esmd, fomd, frad, genkey, hwad, kmd, mand, mld, // osd, pcd, redx, ssd, testServer, thermcal, tmd, // sms_config (script). // removed hpost from list. not an sms command. (10/10/00). // removed redx from list. not an sms command. (10/10/00).
Here is the list of commands from one SC's help_command.txt file which shows the commands for which "help <command>" can be issued and for which man pages exist.
#The next line marks the start of the list. Don't change it!! #START addboard addtag cancelcmdsync console deleteboard deletetag disablecomponent enablecomponent flashupdate fruupdate help initcmdsync marginclock marginvoltage moveboard poweroff poweron rcfgadm reset resetsc runcmdsync savecmdsync setbus setdatasync setdate setdefaults setfailover setkeyswitch setobpparams setupplatform showboards showbus showcmdsync showcomponent showdatasync showdate showdevices showenvironment showfailover showkeyswitch showlogs showobpparams showplatform showxirstate smsbackup smsconfig smsrestore smsversion sysid thermcal xir #END
INTERNAL SUMMARY:
SUBMITTER: Joshua Freeman APPLIES TO: AFO Vertical Team Docs/HAS, Hardware/Sun Fire /15000 ATTACHMENTS: