Home > database >  , postgresql installed several days, or not.
, postgresql installed several days, or not.

Time:10-10

I'm self-study some programming, according to the online search some tutorial, the postgresql installed on Macos,

But always show is not successful, will now own reason, the screenshot below, find some solution, but can't solve my problem, so specially to daily,

Pleas have know how to solve these problems, to solve a thing or two, thank you!


The brew installation (the brew install postgresql)

A row shows: Warning: The post - install step did not complete successfully
You can try again using the brew postinstall ` postgresql `



The brew after post also showed the same result,

Software installation:





Turn around the postgresql, these days, what all didn't go out,,,






CodePudding user response:

Has been stuck in this a few mistakes here

CodePudding user response:

Prompt disk space is insufficient, a bigger one

CodePudding user response:

By reducing the Max - connections parameters reduce PostgreSQL semaphore consumption

How to reduce?

CodePudding user response:

Modify/etc/sysctl. The parameters in the conf
Kernel. Shmall amount of Shared memory=2097152 # can use
The kernel, shmmax=2147483648 # Shared memory segment size
Kernel. Shmmni=4096 # the system maximum number of Shared memory segment
The kernel. The sem=250, 32000, 100, 128 # each semaphore object sets the maximum number of semaphore object; System within the scope of maximum signal

Sysctl -p gives effect to the

This is linux5 parameters, is your MAC, you can refer to, I don't know whether the same