agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@lists.postgresql.org
Subject: Re: Fw: How do I get rid of version 10 Postgresql completely ?
Date: Wed, 25 Sep 2019 10:05:25 -0600
Message-ID: <ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com> (raw)
In-Reply-To: <883209789.8574151.1569426731361@mail.yahoo.com>
References: <1919730995.8525624.1569423809969@mail.yahoo.com>
	<883209789.8574151.1569426731361@mail.yahoo.com>


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@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?)

view thread (3+ messages)

Message-ID: <ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com>
Permalink:  ../ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com/
Also on:    postgresql.org/message-id/ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com

reply

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-sql@postgresql.org
  Cc: robjsargent@gmail.com, pgsql-sql@lists.postgresql.org
  Subject: Re: Fw: How do I get rid of version 10 Postgresql completely ?
  In-Reply-To: <ff749603-d7c4-607b-c9e9-3e996d17bfc8@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox