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.