Opened 16 years ago

Closed 15 years ago

#3077 closed defect (fixed)

BUG: postgresql8, db init fails

Reported by: decibel (Jim Nasby) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

decibel@phonebook.1[18:44]/opt/local/var/db/dports/sources/rsync.rsync.opendarwin.org_dpupdate_dports/databases/postgresql8:39%sudo su postgres -c '/opt/local/bin/initdb -D /opt/local/var/db/pgsql8/defaultdb' The files belonging to this database system will be owned by user "postgres". This user must also own the server process.

The database cluster will be initialized with locale C.

initdb: directory "/opt/local/var/db/pgsql8/defaultdb" exists but is not empty If you want to create a new database system, either remove or empty the directory "/opt/local/var/db/pgsql8/defaultdb" or run initdb with an argument other than "/opt/local/var/db/pgsql8/defaultdb".

Change History (3)

comment:1 Changed 16 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to mww@…

comment:2 Changed 16 years ago by mww@…

Summary: Postgresql port brokenBUG: postgresql8, db init fails

comment:3 Changed 15 years ago by mww@…

Resolution: fixed
Status: newclosed

fixed by not creating the directory in advance but giving advice how to create & populate it.

Note: See TracTickets for help on using tickets.