[MacPorts] #35509: postgresql91: daemon not launching service
#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
#35509: postgresql91: daemon not launching service ------------------------------+--------------------------------------------- Reporter: ckipel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: postgresql91 ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: ckipel@… (removed) * cc: jwa@… (added) * keywords: postgresql => * owner: macports-tickets@… => mww@… * port: => postgresql91 Old 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.
New 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. -- -- Ticket URL: <https://trac.macports.org/ticket/35509#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35509: postgresql91: daemon not launching service ------------------------------+--------------------------------------------- Reporter: ckipel@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: postgresql91 ------------------------------+--------------------------------------------- Comment(by ckipel@…): I ended up reinstalling Mountain Lion from scratch and it seemed to have fixed it. There was probably some configuration problem on my system - please close. -- Ticket URL: <https://trac.macports.org/ticket/35509#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35509: postgresql91: daemon not launching service -------------------------------+-------------------------------------------- Reporter: ckipel@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: postgresql91 | -------------------------------+-------------------------------------------- Changes (by jwa@…): * status: new => closed * resolution: => invalid Comment: closed -- Ticket URL: <https://trac.macports.org/ticket/35509#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts