Re: Fw: How do I get rid of version 10 Postgresql completely ?

From: Rob Sargent <robjsargent(at)gmail(dot)com>
To: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: Fw: How do I get rid of version 10 Postgresql completely ?
Date: 2019-09-25 16:05:25
Message-ID: ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On 9/25/19 9:52 AM, Karen Goh wrote:
> Hello,
>
> Here's some more information to show the system still containing the
> uninstalled version 10:
>
> root(at)DESKTOP-1KGGO27:~# sudo service postgresql start * Error:
> /usr/lib/postgresql/10/bin/pg_ctl /usr/lib/postgresql/10/bin/pg_ctl
> start -D /var/lib/postgresql/10/main -l
> /var/log/postgresql/postgresql-10-main.log -s -o -c
> config_file="/etc/postgresql/10/main/postgresql.conf" exited with
> status 1:
> 2019-09-25 23:49:04.217 +08 [116] LOG: could not bind IPv4 address
> "127.0.0.1": Permission denied
> 2019-09-25 23:49:04.217 +08 [116] HINT: Is another postmaster already
> running on port 5433? If not, wait a few seconds and retry.
> 2019-09-25 23:49:04.217 +08 [116] WARNING: could not create listen
> socket for "localhost"
> 2019-09-25 23:49:04.218 +08 [116] FATAL: could not create any TCP/IP
> sockets
> 2019-09-25 23:49:04.294 +08 [116] LOG: database system is shut down
> pg_ctl: could not start server
> Examine the log output.
>
> Hope someone can tell me how to get rid of it completely.
>
> Tks.
>
Karen,

Those look like linux commands?  Are you removing postgres from
"DESKTOP-1KGG027"?  Try

ps elf | grep postgres

to see the running postgres processes.

sudo service postgresql stop

should stop the running instance

cat /etc/os-release

to see what os is running, if you're unsure.  Do you know how postgres
was installed? (Maybe apt or yum or similar?)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message intmail01@gmail.com 2019-09-26 20:06:23 No enough disk space to launch server
Previous Message Karen Goh 2019-09-25 15:52:11 Fw: How do I get rid of version 10 Postgresql completely ?