Open sleepphoenix opened 8 years ago
@sleepphoenix Please try to launch postgres manually and see what happens.
/Users/minek-admin/.embedpostgresql/postgresql-9.5.0-1-osx-binaries.zip
file somewhere, for example /tmp/postgres
$ /tmp/postgres/bin/initdb /tmp/database
$ /tmp/postgres/bin/postgres -p 5432 -h localhost -D /tmp/database
Then post the output here.
➜ postgres jar -xvf /Users/minek-admin/.embedpostgresql/postgresql-9.5.0-1-osx-binaries.zip ➜ cd pgsql ➜ cd bin ➜ chmod 755 ./initdb ➜ chmod 755 ./postgres ➜ bin ./initdb -D ../database The files belonging to this database system will be owned by user "minek-admin". This user must also own the server process.
The database cluster will be initialized with locale "ko_KR.UTF-8". The default database encoding has accordingly been set to "UTF8". initdb: could not find suitable text search configuration for locale "ko_KR.UTF-8" The default text search configuration will be set to "simple".
Data page checksums are disabled.
fixing permissions on existing directory ../database ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting dynamic shared memory implementation ... posix creating configuration files ... ok creating template1 database in ../database/base/1 ... ok initializing pg_authid ... ok initializing dependencies ... ok creating system views ... ok loading system objects' descriptions ... ok creating collations ... ok creating conversions ... ok creating dictionaries ... ok setting privileges on built-in objects ... ok creating information schema ... ok loading PL/pgSQL server-side language ... ok vacuuming database template1 ... ok copying template1 to template0 ... ok copying template1 to postgres ... ok syncing data to disk ... ok
WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
./pg_ctl -D ../database -l logfile start
➜ bin ./postgres -p 54322 -h localhost -D ../database LOG: database system was shut down at 2016-07-01 11:52:19 KST LOG: MultiXact member wraparound protections are now enabled LOG: database system is ready to accept connections LOG: autovacuum launcher started
Was there any solution for that?
this is not working... What's the problem???
Result : ==================================