Solaris SMF koolness
I just installed PostgreSQL on snv_27a and decided to add the service properly by creating a smf(5) manifest and method file.After I created them and imported the manifest i decided to change the name of the method file on the filesystem.
but since i hadn't committed this name change in my manifest smf(5) actually noticed the method file had been renamed and told me that postgres was in the 'maintenance' state.
after reviewing that via svcs(1) i re-imported the manifest file and simply could clear the maintenance state via the svcadm(1M) clear sub-command.
after that, the postgres service came online as expected.
w00t :)
0 Comments:
Post a Comment
<< Home