2015년 1월 22일 목요일

/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first

yum install postgresql-server

[root@localhost kamailio-4.2.2]# /etc/init.d/postgresql start

/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first.
                                                           [FAILED]
[root@localhost kamailio-4.2.2]# service postgresql initdb
Initializing database:                                     [  OK  ]
[root@localhost kamailio-4.2.2]# /etc/init.d/postgresql restart
Stopping postgresql service:                               [  OK  ]
Starting postgresql service:                               [  OK  ]
[root@localhost kamailio-4.2.2]#

댓글 없음: