Re: pg_ctrl stop problems (psql 8.2.5)

From: Zdeněk Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "F(dot) Jovan Jester" <jesterj(at)groupspeak(dot)com>
Cc: "LARC/J(dot)L(dot)Shipman/jshipman" <Jeffery(dot)L(dot)Shipman(at)nasa(dot)gov>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_ctrl stop problems (psql 8.2.5)
Date: 2008-03-26 12:02:15
Message-ID: 47EA3B47.6030601@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

F. Jovan Jester napsal(a):

>
> svcs -a | grep postgres
> (this command should show it is online, note the name, probably
> something like svc:/application/database/postgresql:postgres)
>
> then, as root do the following:
>
> svcadm disable postgresql
> (then do an svcs -a | grep postgres again to verify it's disabled)
>
> That will stop it. To restart:
>
> svcadm enable postgresql
>
> also as root. any svcadm commands require root.

Just for completion. All user which has "Postgres Administration" profile
assigned are allow to start/restart/stop/ server.

See http://www.sun.com/bigadmin/features/articles/postgresql_opensolaris.jsp for
detail.

Zdenek

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2008-03-26 12:06:51 Re: Install Postgresql on Win2000 with Admin Rights
Previous Message josep porres 2008-03-26 11:59:54 pgplsql, how to save row variable to a table row