小编Art*_*ner的帖子

14.04 升级到 16.04.1 后 Postgresql 服务器不启动

刚刚从 14.04 升级了我的系统。LTS 到 16.04.1 LTS,postgresql 不在 systemd 上启动:

/etc/init.d/postgresql start                                                                                                                                                                              
[ ok ] Starting postgresql (via systemctl): postgresql.service

# /etc/init.d/postgresql status                                                                                                                                                                             
? postgresql.service - PostgreSQL RDBMS
  Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor     preset: enabled)
  Active: active (exited) since ?? 2016-08-09 13:40:51 MSK; 3min 23s ago
  Process: 23142 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
  Main PID: 23142 (code=exited, status=0/SUCCESS)Seems that 
Run Code Online (Sandbox Code Playgroud)

似乎 systemd 脚本包含错误的数据:

# cat /lib/systemd/system/postgresql.service                                                                                                                                                                
# systemd service for managing all PostgreSQL clusters on the system. This
# service is actually a systemd …
Run Code Online (Sandbox Code Playgroud)

postgresql systemd 16.04

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

标签 统计

16.04 ×1

postgresql ×1

systemd ×1