I am a freshman of PostgreSQL, My env: PG 8.4 on CentOS,I follow the document in the offical site to startup the db server. Here's what I do below, the database cluster is ready, but I can't start the database server.
[root@testbox ~]# service postgresql initdb
Data directory is not empty! [FAILED]
[root@testbox ~]# service postgresql start
Starting postgresql service: [FAILED]
-bash-4.1$ postgres -D /var/lib/pgsql/data
-bash-4.1$ ps -ef |grep postgres
root 2710 2585 0 21:52 pts/1 00:00:00 su - postgres