August 24, 201411 yr I've posted this problem in the Postgres EnterpriseDB forums, along with the PostgreSQL mailing list because I believe that it is a postgres problem, but I have yet to get any help in over a week. I thought I'd post here to just in case someone may be able to help I am trying to install PostgreSQL on my OS X Mavericks Server. I am installing the Data directory on one of my unraid server shares. 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 My initial thought was that it's a permissions issue, but now i'm not really sure. Some of the steps I've taken: [*]I've confirmed that the postgres user is the owner of the Databases folder and has full permissions. [*]I have logged in as the postgres user and created files and folders within the Databases folder. [*]I've run "new perms" on the "Poker" share [*]I've tried running the installer from a different Mac, with the same results [*]I've tried installing the PostgreSQL plugin for Unraid (http://lime-technology.com/forum/index.php?topic=30059.0) although could not get postgres to initialize [*]If I install on the local HD, everything works fine, however, that is not an option as the local HD doesn't have the space required for the databases. Any help would be greatly appreciated.
Archived
This topic is now archived and is closed to further replies.