sdcadm post-setup cmon runs successfully but upon completion the cmon smf service goes directly into maintenance state. A bit of cmon log digging and I saw that cmon couldn't load its private key file due to it being owned by root and the cmon service running as "nobody" from smf.
I just added a line to setup.sh to chown the 'key.pem' file so that the service can start up properly the first time.
cmons /data/tls/key.pem should be owned by nobody
sdcadm post-setup cmon
runs successfully but upon completion the cmon smf service goes directly into maintenance state. A bit of cmon log digging and I saw that cmon couldn't load its private key file due to it being owned by root and the cmon service running as "nobody" from smf.I just added a line to
setup.sh
tochown
the 'key.pem' file so that the service can start up properly the first time.