Search Postgresql Archives

Re: Newbie [CentOS 5.2] service postgresql initdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daneel escribió:
While going through http://wiki.postgresql.org/wiki/Detailed_installation_guides
and typing
service postgresql start
as root I got
"/var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first."

When I run
service postgresql initdb
I get
"se:     [FAILED]".
However, /var/lib/pqsql/data is created and user postgres owns it.

But then I run
service postgresql start
and the very same error occurs..

As root:

# mv /var/lib/pqsql/data /var/lib/pqsql/data.old
# service postgresql initdb
# service postgresql start

See what /var/lib/pqsql/data.old contains. Maybe an old DB Cluster?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux