Re: pg_ctrl stop problems (psql 8.2.5)

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "LARC/J(dot)L(dot)Shipman/jshipman" <Jeffery(dot)L(dot)Shipman(at)nasa(dot)gov>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_ctrl stop problems (psql 8.2.5)
Date: 2008-03-25 17:11:48
Message-ID: 47E93254.8090903@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

LARC/J.L.Shipman/jshipman napsal(a):
> Hello,
> I am running postgresql 8.2.5 on Solaris 10. When I try to shut
> down postgres using
>
> pg_ctrl -D datafile stop
>
> it does not shutdown. Does anyone know why this is, or what files
> pg_ctrl access to determine
> the shutdown process. We have tried deleting a pgsql semaphore file
> located in tmp. This did not help. Any help is appreciated.

Solaris uses SMF for starting and stopping postgreSQL. If postgres was started
by SMF then it tries to restart when it fails (or stopeed another way).

try

svcs postgresql

it shows you status.

svcs disable postgresql:version_82

stop postgresql.

See man postgres_82 for detail.

Zdenek

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2008-03-25 17:18:05 Re: select any table
Previous Message Erik Jones 2008-03-25 17:10:57 Re: pg_ctrl stop problems (psql 8.2.5)