小编Jer*_* Ji的帖子

PostgreSQL 10 无法在 Ubuntu 18.04 下启动

在我新的 Ubuntu 18.04 中——

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:   bionic
Run Code Online (Sandbox Code Playgroud)

安装 PostgreSQL 10 --

$ apt list --installed | grep -i postgres
postgresql-client-10/bionic,now 10.3-1 amd64 [installed]
postgresql-client-common/bionic,bionic,now 190 all [installed,automatic]
postgresql-common/bionic,bionic,now 190 all [installed,automatic]
postgresql-server-dev-10/bionic,now 10.3-1 amd64 [installed]
postgresql-server-dev-all/bionic,bionic,now 190 all [installed]
Run Code Online (Sandbox Code Playgroud)

双方servicesystemctl立即用没有消息回来,但没有启动任何Postgres的过程-

$ sudo service postgresql restart
$ sudo systemctl restart postgresql
Run Code Online (Sandbox Code Playgroud)

我完全处于黑暗中,因为既没有 conf 也没有日志——

$ ll /etc/postgresql
total 8
drwxr-xr-x  2 …
Run Code Online (Sandbox Code Playgroud)

postgresql ubuntu-18.04

6
推荐指数
2
解决办法
2万
查看次数

标签 统计

postgresql ×1

ubuntu-18.04 ×1