小编Lan*_*see的帖子

Macbook M1 - Postgres 安装 - “/tmp/.s.PGSQL.5432” - 执行时失败;`/bin/launchctl 引导程序

我刚买了一台新的 Macbook Pro M1,并一直在尝试使用自制软件安装 Postgres。在尝试了一系列不同的方法(从安装不同版本的 Postgres 到尝试)后,rm /usr/local/var/postgres/postmaster.pid我没有运气。我现在甚至无法在没有错误消息的情况下成功安装 Postgres。当我卸载然后重新安装时,brew install postgres我得到:

\n
\xe2\x9e\x9c  ~ brew install postgres\n==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/manifests/14.1_1\nAlready downloaded: /Users/landonlapensee/Library/Caches/Homebrew/downloads/34e850b9c47867f84334b48fe844f7a171369d777b5c118a4119297f7c215147--postgresql-14.1_1.bottle_manifest.json\n==> Downloading https://ghcr.io/v2/homebrew/core/postgresql/blobs/sha256:027c8b48406c3d732241426e0f5d2caf9f48cb4d2d38610b8f5d46f0adf7a89f\nAlready downloaded: /Users/landonlapensee/Library/Caches/Homebrew/downloads/b74d7a88df70e29d3cd5714896c2dd5b16a1e8c01188164026a4b5762f18234b--postgresql--14.1_1.monterey.bottle.tar.gz\n==> Pouring postgresql--14.1_1.monterey.bottle.tar.gz\n==> /usr/local/Cellar/postgresql/14.1_1/bin/initdb --locale=C -E UTF-8 /usr/local/var/postgres\nLast 15 lines from /Users/landonlapensee/Library/Logs/Homebrew/postgresql/post_install.01.initdb:\nData page checksums are disabled.\n\nfixing permissions on existing directory /usr/local/var/postgres ... ok\ncreating subdirectories ... ok\nselecting dynamic shared memory implementation ... posix\nselecting default max_connections ... 20\nselecting default shared_buffers ... 400kB\nselecting default time zone ... America/Vancouver\ncreating configuration files ... ok\nrunning bootstrap script ... …
Run Code Online (Sandbox Code Playgroud)

postgresql macos homebrew

6
推荐指数
1
解决办法
4043
查看次数

标签 统计

homebrew ×1

macos ×1

postgresql ×1