Postgres real cannot access the server configuration file
Zur Navigation springen
Zur Suche springen
postgres Initialisieren
sudo -u _postgres /usr/bin/pg_ctl initdb -D /var/pgsql
(Erstellt alle benötigten Dateien und Ordner in /var/pgsql)
Schreibrechte für log setzen
sudo chown _postgres:_postgres /Library/Logs/PostgreSQL
Initialisert alle Datenbanken für Mac OS X Server
sudo -s /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/CoreCollaborationPostgreSQLExtras.sh sudo -s /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/SetupPodcastWikiPlugin.rb sudo -s /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/WebmailServerSetup.sh sudo -s /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/create_caldavd_db.sh sudo -s /System/Library/ServerSetup/CommonExtras/PostgreSQLExtras/create_devicemgr_db.sh