[MacPorts] #35509: postgresql91: daemon not launching service
MacPorts
noreply at macports.org
Thu Aug 2 19:38:41 PDT 2012
#35509: postgresql91: daemon not launching service
------------------------------+---------------------------------------------
Reporter: ckipel@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: postgresql | Port:
------------------------------+---------------------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/35509>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list