When using pkgadd(1M) during installation, if you encounter the following error message:
#Waiting for up to <300> seconds for package administration commands to become available (another user is administering packages on zone <XXX>)
An interruption of the pkgadd(1M) process can leave an outstanding packaging lock file, which blocks further use of the pkgadd (1M) command. Before attempting another installation, you need to remove the packaging lock file.
If you seeTEMP/application/management/hwagentd listed in the output then proceed to delete the file by typing the following at the command prompt:
svccfg delete TEMP/application/management/hwagentd
You should no longer see TEMP/application/management/hwagentd listed.
You should now be able to install SUNWssm-hwmgmt-config.