From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: Re: postgres account disabled . version 9.2
Date: Wed, 14 Dec 2016 17:12:27 +0200
Message-ID: <5851615B.6050106@matrix.gatewaynet.com> (raw)
In-Reply-To: <58515F1A.6010408@matrix.gatewaynet.com>
References: <9d0b8595572cb24da5d2fcd13796d326.mailbg@mail.bg>
<HE1P194MB004211A4818AE2493C7B5CA3CA9A0@HE1P194MB0042.EURP194.PROD.OUTLOOK.COM>
<5851557E.6030201@matrix.gatewaynet.com>
<HE1P194MB00425F209629980764CF1F05CA9A0@HE1P194MB0042.EURP194.PROD.OUTLOOK.COM>
<58515F1A.6010408@matrix.gatewaynet.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On 14/12/2016 17:02, Achilleas Mantzios wrote:
> On 14/12/2016 16:28, koffi BADOH wrote:
>> PostgreSql is already started.
>>
>> I cannot connect as postgres account
>
> stop it via sending a SIGTERM, SIGINT, or SIGQUIT signal
>
> kill -TERM <pgsql_pid>
>
Then do :
postgres --single -D <your data cluster> <your db name>
backend> ALTER ROLE postgres WITH LOGIN;
or any command that would revert the effects previous command that you gave.
>>
>> Le 14/12/2016 à 15:21, Achilleas Mantzios a écrit :
>>> On 14/12/2016 16:16, koffi BADOH wrote:
>>>> Hi all,
>>>>
>>>> I'm in a big trouble.
>>>>
>>>> I'm running postgreSQL 9.2.
>>>> For migration reason I disabled all postgres user account login .
>>>> Unfortunatly That's mean the postgres admin account cannot also
>>>> connect.
>>>> Now I'm trying to enable all account , Then I got error
>>>>
>>>>
>>>> " psql fatal role postgres is not permitted to log in"
>>> start it standalone
>>>
>>>> help please
>>>> koff
>>>>
>>>>
>>>>
>>>>
>>>
>
>
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: postgres account disabled . version 9.2
In-Reply-To: <5851615B.6050106@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox