Changes between Initial Version and Version 2 of Ticket #35509


Ignore:
Timestamp:
Aug 3, 2012, 2:56:26 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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:
     1Running "{{{sudo port load postgresql91-server}}}" seems like it works at first but when I run "{{{psql}}}" after, I get:
    22
     3{{{
    34psql: could not connect to server: No such file or directory
    45        Is the server running locally and accepting
    56        connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
     7}}}
    68
    7 I check to see if the service is running with ps aux | grep postgres and I get:
     9I check to see if the service is running with {{{ps aux | grep postgres}}} and I get:
    810
     11{{{
    912root           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}}}
    1014
    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"
     15I 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}}}"
    1216
    1317and I get:
    1418
     19{{{
    1520server starting
    1621-bash: --stop-cmd: command not found
    1722-bash: --restart-cmd: command not found
    1823-bash: --pid=none: command not found
     24}}}
    1925
    2026I 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.