Changes between Initial Version and Version 2 of Ticket #35509
- Timestamp:
- Aug 3, 2012, 2:56:26 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35509
- Property Cc jwa@… added
- Property Keywords postgresql removed
- Property Owner changed from macports-tickets@… to mww@…
- Property Port postgresql91 added
-
Ticket #35509 – Description
initial v2 1 Running " sudo port load postgresql91-server" seems like it works at first but when I run "psql" after, I get:1 Running "{{{sudo port load postgresql91-server}}}" seems like it works at first but when I run "{{{psql}}}" after, I get: 2 2 3 {{{ 3 4 psql: could not connect to server: No such file or directory 4 5 Is the server running locally and accepting 5 6 connections on Unix domain socket "/tmp/.s.PGSQL.5432"? 7 }}} 6 8 7 I check to see if the service is running with ps aux | grep postgresand I get:9 I check to see if the service is running with {{{ps aux | grep postgres}}} and I get: 8 10 11 {{{ 9 12 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 13 }}} 10 14 11 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"15 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}}}" 12 16 13 17 and I get: 14 18 19 {{{ 15 20 server starting 16 21 -bash: --stop-cmd: command not found 17 22 -bash: --restart-cmd: command not found 18 23 -bash: --pid=none: command not found 24 }}} 19 25 20 26 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.