ERROR: Problem running post install step

From: Brodie S <brodie(dot)seaman(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ERROR: Problem running post install step
Date: 2014-08-19 18:03:57
Message-ID: CABU7+B5w2AAdq0E+FTtSMbZRdV7jJg5vukWZtD7wNma8dQLbmw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to install PostgreSQL on my OS X Mavericks Server.

I am installing the Data directory on a NAS server. However, I'm having an
issue. Here is the section of the log file that displays the error:

fixing permissions on existing directory /Volumes/Poker/Databases ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 32MB
creating configuration files ... ok
creating template1 database in /Volumes/Poker/Databases/base/1 ... Failed
to initialise the database cluster with initdb

Script stderr:
FATAL: could not open file "pg_xlog/000000010000000000000001" (log file 0,
segment 1): No such file or directory
child process exited with exit code 1
initdb: removing contents of data directory "/Volumes/Poker/Databases"

Error running /Library/PostgreSQL/9.0/installer/server/initcluster.sh
"postgres" "postgres" "/Library/PostgreSQL/9.0" "/Volumes/Poker/Databases"
5432 DEFAULT : FATAL: could not open file
"pg_xlog/000000010000000000000001" (log file 0, segment 1): No such file or
directory
child process exited with exit code 1
initdb: removing contents of data directory "/Volumes/Poker/Databases"
Problem running post-install step. Installation may not complete correctly
The database cluster initialisation failed.
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 08/16/2014 at 15:22:26

I've confirmed that the user "postgres" is the owner of the Databases
folder and has full permissions.
Not sure what else could be causing this issue.

Any help would be greatly appreciated.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Lau 2014-08-19 19:04:28 Re: Best practices for cloning DB servers
Previous Message John R Pierce 2014-08-19 17:51:11 Re: New wrapper library: QUINCE