From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | robert rottermann <robert(at)redcor(dot)ch>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it |
Date: | 2021-01-23 20:45:05 |
Message-ID: | 90b62d7f-1659-513a-ca25-3d803329e235@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 1/23/21 12:36 PM, robert rottermann wrote:
> Hi there
>
> I made somehow a mess with my PostgreSQL installation an an ubuntu 18.4
> with PostgreSQL 10.0
>
> service postgresql status
> ● postgresql.service - PostgreSQL RDBMS
> Loaded: loaded (/lib/systemd/system/postgresql.service; enabled;
> vendor preset: enabled)
> Active: active (exited) since Sat 2021-01-23 21:21:13 CET; 2min 26s ago
> Process: 1853 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
> Main PID: 1853 (code=exited, status=0/SUCCESS)
What if you try:
sudo service postgresql(at)10-main status
Also what does:
pg_lsclusters
show?
>
> I would like to remove everything, and reinstall.
>
> How can I do that?
>
> It seems, that
>
> apt remove --purge postgresql
> apt remove --purge postgresql-client
>
> I not enough, as I have the same situation afterwards.
>
> Or is there a way that I can rebuild PostgreSQL datastructure?
>
> thanks
>
> Robert
>
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2021-01-23 20:47:27 | Re: Need help with trigger |
Previous Message | Ron | 2021-01-23 20:40:34 | Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it |