Re: Fw: How do I get rid of version 10 Postgresql completely ?
Rob Sargent <[email protected]> Wed, 25 Sep 2019 10:05:25 -0600
| Newsgroups | gmane.comp.db.postgresql.sql |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------584E3CC31F7A52A14827F37B
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
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?)
--------------584E3CC31F7A52A14827F37B
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<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:[email protected]">
<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>
--------------584E3CC31F7A52A14827F37B--