Opened 3 years ago

Last modified 3 years ago

#65028 assigned defect

postgresql14-server: startupitem can't be used with different database path

Reported by: bgulanowski (Brent Gulanowski) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: postgresql14-server

Description

I have installed the server and client, created a database, set the owner and group to "postgres".

The included instructions say to start the server with this command:

"sudo port load postgresql14-server"

The only process runs is daemondo. It has the process id, shown by "launchctl list", as belonging to the org.macports.postgresql14-server launch item. There are no "postgresql" processes (or anything remotely similar). Trying to connect locally fails. The postgres.log file is empty.

Does daemondo log errors anywhere?

Change History (2)

comment:1 Changed 3 years ago by bgulanowski (Brent Gulanowski)

The problem was that I used a different path to the database cluster. I didn't realize that the value in the note was hard-coded into the helper.

comment:2 Changed 3 years ago by jmroot (Joshua Root)

Owner: set to jyrkiwahlstedt
Status: newassigned
Summary: PostgreSQL server 14 does not startpostgresql14-server: startupitem can't be used with different database path
Note: See TracTickets for help on using tickets.