麒麟3.2操作系统下,pg_ctl restart重启数据库,启动失败,日志如下:
2019-08-15 09:47:23 CST LOG: invalid CIDR mask in address "0.0.0.0/128"
2019-08-15 09:47:23 CST CONTEXT: line 84 of configuration file "/home/postgres/PostgreSQL/9.5/data/pg_hba.conf"
2019-08-15 09:47:23 CST FATAL: could not load pg_hba.conf
https://www.cnblogs.com/min416/p/8940836.html
根据日志,发现是0.0.0.0/128地址表示错误,修改为::1/128后启动成功。