Opened 12 years ago
Last modified 12 years ago
#35509 closed defect
postgresql91: daemon not launching service — at Initial Version
Reported by: | ckipel@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | postgresql91 |
Description
Running "sudo port load postgresql91-server" seems like it works at first but when I run "psql" after, I get:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
I check to see if the service is running with ps aux | grep postgres and I get:
root 32115 0.0 0.0 2434584 1020 ?? Ss 10:33PM 0:00.01 /opt/local/bin/daemondo --label=postgresql91-server --start-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper restart ; --pid=none
I tried doing "sudo /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper restart ; --pid=none"
and I get:
server starting -bash: --stop-cmd: command not found -bash: --restart-cmd: command not found -bash: --pid=none: command not found
I am running Xcode 4.4, MacPorts 2.1.2, and Mountain Lion 10.8. Let me know if I need to run any debug or diagnostics to provide more information.