| From: | Martin Marques <martin(at)marquesminen(dot)com(dot)ar> |
|---|---|
| To: | Daneel <dan(at)dan(dot)dan> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Newbie [CentOS 5.2] service postgresql initdb |
| Date: | 2008-08-13 14:45:32 |
| Message-ID: | 48A2F38C.7050300@marquesminen.com.ar |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2008-08-13 14:50:08 | Re: Newbie [CentOS 5.2] service postgresql initdb |
| Previous Message | William Temperley | 2008-08-13 14:41:06 | Design decision advice |