一、问题原因
      postgresql数据库没有初始化。


二、解决办法
      el7初始化postgre数据库的命令如下:
# postgresql-setup initdb

      初始化完后,继续进行安装操作,如下。