could not open file "postmaster.pid": No such file or directory code example Example: could not open file "postmaster.pid": No such file or directory $ brew reinstall postgresql