Dick Davies wrote: > If I 'svcadm restart postgresql:version_82' on by b61 machine, > svc* thinks the service has successfully restarted. > > But psql can't connect, saying 'database is shutting down'. > > It looks like my appserver is holding connections open, preventing > postgresql shutting down. > > SMF fails to notice this - it just calls 'stop/start' and believes all > to be well. > > Where should I report this? Is it an SMF bug? > > Hi Dick
I would not consider it a bug in the SMF, it is more likely a bug in the stop script. SMF relies on reliable stop scripts, if the stop script terminates without shutting down postgres you got the problem. Detlef -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ***************************************************************************** Detlef Ulherr Staff Engineer Tel: (++49 6103) 752-248 Software Fax: (++49 6103) 752-167 Sun Microsystems GmbH Amperestra?e 6 mailto:detlef.ulherr at sun.com 63225 Langen http://www.sun.de/ ***************************************************************************** Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Marcel Schneider, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Haering *****************************************************************************