[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-sql
Subject:    Re: Fw: How do I get rid of version 10 Postgresql completely ?
From:       Rob Sargent <robjsargent () gmail ! com>
Date:       2019-09-25 16:05:25
Message-ID: ff749603-d7c4-607b-c9e9-3e996d17bfc8 () gmail ! com
[Download RAW message or body]

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



[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 9/25/19 9:52 AM, Karen Goh wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:883209789.8574151.1569426731361@mail.yahoo.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div> Hello,<br>
        <br>
        Here's some more information to show the system still containing
        the uninstalled version 10:<br>
        <br>
        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:<br>
        2019-09-25 23:49:04.217 +08 [116] LOG: could not bind IPv4
        address "127.0.0.1": Permission denied<br>
        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.<br>
        2019-09-25 23:49:04.217 +08 [116] WARNING: could not create
        listen socket for "localhost"<br>
        2019-09-25 23:49:04.218 +08 [116] FATAL: could not create any
        TCP/IP sockets<br>
        2019-09-25 23:49:04.294 +08 [116] LOG: database system is shut
        down<br>
        pg_ctl: could not start server<br>
        Examine the log output.<br>
        <br>
        Hope someone can tell me how to get rid of it completely.<br>
        <br>
        Tks. </div>
      <div class="yahoo_quoted" style="margin:10px 0px 0px
        0.8ex;border-left:1px solid #ccc;padding-left:1ex;">
        <div style="font-family:'Helvetica Neue', Helvetica, Arial,
          sans-serif;font-size:13px;color:#26282a;"><br>
        </div>
      </div>
    </blockquote>
    <p>Karen,</p>
    <p>Those look like linux commands?  Are you removing postgres from
      "DESKTOP-1KGG027"?  Try <br>
    </p>
    <blockquote>
      <p>ps elf | grep postgres</p>
    </blockquote>
    <p>to see the running postgres processes.</p>
    <blockquote>
      <p>sudo service postgresql stop</p>
    </blockquote>
    <p>should stop the running instance<br>
    </p>
    <blockquote>
      <p>cat /etc/os-release</p>
    </blockquote>
    <p>to see what os is running, if you're unsure.  Do you know how
      postgres was installed? (Maybe apt or yum or similar?)</p>
    <p><br>
    </p>
  </body>
</html>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic