Fixing HomeBrew's Postmark after brew update; on OSX 10Location of postgresql database on OS X?PostgreSQL permissions issue after upgrading to OS X Lionhow to install postgresql for mac os xbrew update: The following untracked working tree files would be overwritten by merge:PostgreSQL with Homebrew on MacUpdating Postgres from 9.1.4Impossible to Install PG gem on my mac with MavericksHomebrew postgres brokenConnecting to postgres from railsUnable to Install postgresql on my mac os x machine via homebrew

My colleague is constantly blaming me for his errors

What's the safest way to inform a new user of their password on an invite-only website?

What could a reptilian race tell by candling their eggs?

Should fiction mention song names and iPods?

Most important new papers in computational complexity

How can I specify a local port when establishing SSH connections?

Computing the sum of an infinite series as a variant of a geometric series

If two black hole event horizons overlap (touch) can they ever separate again?

Donkey as Democratic Party symbolic animal

Training with a subset of data: relationship between subset size and training metric?

How do I tell the reader that my character is autistic in Fantasy?

Create custom script for send mail in magento 1.9

Why is Silver Fang rated as S-class Rank 3 hero?

How is this practical and very old scene shot?

What are good ways to spray paint a QR code on a footpath?

Details of video memory access arbitration in Space Invaders

Boolean Difference with Offset?

What was the impact of Fischer vs. Spassky 1972 on the relationship between the USA and the Soviet Union?

Pshat of what did Korach take?

Just graduated with a master’s degree, but I internalised nothing

One folder having two different locations on Ubuntu 18.04

Is it okay to fade a human face just to create some space to place important content over it?

Sharing referee/AE report online to point out a grievous error in refereeing

Why won't the ground take my seed?



Fixing HomeBrew's Postmark after brew update; on OSX 10


Location of postgresql database on OS X?PostgreSQL permissions issue after upgrading to OS X Lionhow to install postgresql for mac os xbrew update: The following untracked working tree files would be overwritten by merge:PostgreSQL with Homebrew on MacUpdating Postgres from 9.1.4Impossible to Install PG gem on my mac with MavericksHomebrew postgres brokenConnecting to postgres from railsUnable to Install postgresql on my mac os x machine via homebrew






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















After rebooting, I am getting errors trying to use Postgres, either from rails or via terminal by typing psql




No such file or directory Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?




I installed postgres with homebrew.



I have run these diagnostics, but do not understand the outputs:



> brew list|grep postgres 
postgresql
postgresql@10

> brew services restart postgresql
Stopping `postgresql`... (might take a while)
==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

❯ pg_ctl -D /usr/local/var/postgres status
pg_ctl: no server running

❯ brew info postgresql
postgresql: stable 11.2 (bottled), HEAD
Object-relational database system
https://www.postgresql.org/
Conflicts with:
postgres-xc (because postgresql and postgres-xc install the same binaries.)
/usr/local/Cellar/postgresql/11.2 (3,186 files, 35.4MB) *
Poured from bottle on 2019-03-20 at 12:42:32
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgresql.rb
==> Dependencies
Build: pkg-config ✔
Required: icu4c ✔, openssl ✔, readline ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
To migrate existing data from a previous major version of PostgreSQL run:
brew postgresql-upgrade-database

To have launchd start postgresql now and restart at login:
brew services start postgresql
Or, if you don't want/need a background service you can just run:
pg_ctl -D /usr/local/var/postgres start
==> Analytics
install: 84,642 (30 days), 236,127 (90 days), 754,771 (365 days)
install_on_request: 75,641 (30 days), 208,395 (90 days), 652,972 (365 days)
build_error: 0 (30 days)

> ps auxwww | grep postgres
will 19993 0.0 0.0 4284404 804 s001 S+ 1:22pm 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

❯ ps -ef | grep postgres
502 20156 4003 0 1:24pm ttys001 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

> psql --version
psql (PostgreSQL) 11.2
> pg_upgrade --version
pg_upgrade (PostgreSQL) 11.2


Attempted sollutions:



❯ rm /usr/local/var/postgres/postmaster.pid
rm: /usr/local/var/postgres/postmaster.pid: No such file or directory

> initdb /usr/local/var/postgres -E utf8
initdb: directory "/usr/local/var/postgres" exists but is not empty


Some of the debug stuff above references postgres 10, some 11. Have I accidentally installed 2 postgres somehow? How do I resolve that?










share|improve this question






























    0















    After rebooting, I am getting errors trying to use Postgres, either from rails or via terminal by typing psql




    No such file or directory Is the server running locally and accepting
    connections on Unix domain socket "/tmp/.s.PGSQL.5432"?




    I installed postgres with homebrew.



    I have run these diagnostics, but do not understand the outputs:



    > brew list|grep postgres 
    postgresql
    postgresql@10

    > brew services restart postgresql
    Stopping `postgresql`... (might take a while)
    ==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
    ==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

    ❯ pg_ctl -D /usr/local/var/postgres status
    pg_ctl: no server running

    ❯ brew info postgresql
    postgresql: stable 11.2 (bottled), HEAD
    Object-relational database system
    https://www.postgresql.org/
    Conflicts with:
    postgres-xc (because postgresql and postgres-xc install the same binaries.)
    /usr/local/Cellar/postgresql/11.2 (3,186 files, 35.4MB) *
    Poured from bottle on 2019-03-20 at 12:42:32
    From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgresql.rb
    ==> Dependencies
    Build: pkg-config ✔
    Required: icu4c ✔, openssl ✔, readline ✔
    ==> Options
    --HEAD
    Install HEAD version
    ==> Caveats
    To migrate existing data from a previous major version of PostgreSQL run:
    brew postgresql-upgrade-database

    To have launchd start postgresql now and restart at login:
    brew services start postgresql
    Or, if you don't want/need a background service you can just run:
    pg_ctl -D /usr/local/var/postgres start
    ==> Analytics
    install: 84,642 (30 days), 236,127 (90 days), 754,771 (365 days)
    install_on_request: 75,641 (30 days), 208,395 (90 days), 652,972 (365 days)
    build_error: 0 (30 days)

    > ps auxwww | grep postgres
    will 19993 0.0 0.0 4284404 804 s001 S+ 1:22pm 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

    ❯ ps -ef | grep postgres
    502 20156 4003 0 1:24pm ttys001 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

    > psql --version
    psql (PostgreSQL) 11.2
    > pg_upgrade --version
    pg_upgrade (PostgreSQL) 11.2


    Attempted sollutions:



    ❯ rm /usr/local/var/postgres/postmaster.pid
    rm: /usr/local/var/postgres/postmaster.pid: No such file or directory

    > initdb /usr/local/var/postgres -E utf8
    initdb: directory "/usr/local/var/postgres" exists but is not empty


    Some of the debug stuff above references postgres 10, some 11. Have I accidentally installed 2 postgres somehow? How do I resolve that?










    share|improve this question


























      0












      0








      0








      After rebooting, I am getting errors trying to use Postgres, either from rails or via terminal by typing psql




      No such file or directory Is the server running locally and accepting
      connections on Unix domain socket "/tmp/.s.PGSQL.5432"?




      I installed postgres with homebrew.



      I have run these diagnostics, but do not understand the outputs:



      > brew list|grep postgres 
      postgresql
      postgresql@10

      > brew services restart postgresql
      Stopping `postgresql`... (might take a while)
      ==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
      ==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

      ❯ pg_ctl -D /usr/local/var/postgres status
      pg_ctl: no server running

      ❯ brew info postgresql
      postgresql: stable 11.2 (bottled), HEAD
      Object-relational database system
      https://www.postgresql.org/
      Conflicts with:
      postgres-xc (because postgresql and postgres-xc install the same binaries.)
      /usr/local/Cellar/postgresql/11.2 (3,186 files, 35.4MB) *
      Poured from bottle on 2019-03-20 at 12:42:32
      From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgresql.rb
      ==> Dependencies
      Build: pkg-config ✔
      Required: icu4c ✔, openssl ✔, readline ✔
      ==> Options
      --HEAD
      Install HEAD version
      ==> Caveats
      To migrate existing data from a previous major version of PostgreSQL run:
      brew postgresql-upgrade-database

      To have launchd start postgresql now and restart at login:
      brew services start postgresql
      Or, if you don't want/need a background service you can just run:
      pg_ctl -D /usr/local/var/postgres start
      ==> Analytics
      install: 84,642 (30 days), 236,127 (90 days), 754,771 (365 days)
      install_on_request: 75,641 (30 days), 208,395 (90 days), 652,972 (365 days)
      build_error: 0 (30 days)

      > ps auxwww | grep postgres
      will 19993 0.0 0.0 4284404 804 s001 S+ 1:22pm 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

      ❯ ps -ef | grep postgres
      502 20156 4003 0 1:24pm ttys001 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

      > psql --version
      psql (PostgreSQL) 11.2
      > pg_upgrade --version
      pg_upgrade (PostgreSQL) 11.2


      Attempted sollutions:



      ❯ rm /usr/local/var/postgres/postmaster.pid
      rm: /usr/local/var/postgres/postmaster.pid: No such file or directory

      > initdb /usr/local/var/postgres -E utf8
      initdb: directory "/usr/local/var/postgres" exists but is not empty


      Some of the debug stuff above references postgres 10, some 11. Have I accidentally installed 2 postgres somehow? How do I resolve that?










      share|improve this question
















      After rebooting, I am getting errors trying to use Postgres, either from rails or via terminal by typing psql




      No such file or directory Is the server running locally and accepting
      connections on Unix domain socket "/tmp/.s.PGSQL.5432"?




      I installed postgres with homebrew.



      I have run these diagnostics, but do not understand the outputs:



      > brew list|grep postgres 
      postgresql
      postgresql@10

      > brew services restart postgresql
      Stopping `postgresql`... (might take a while)
      ==> Successfully stopped `postgresql` (label: homebrew.mxcl.postgresql)
      ==> Successfully started `postgresql` (label: homebrew.mxcl.postgresql)

      ❯ pg_ctl -D /usr/local/var/postgres status
      pg_ctl: no server running

      ❯ brew info postgresql
      postgresql: stable 11.2 (bottled), HEAD
      Object-relational database system
      https://www.postgresql.org/
      Conflicts with:
      postgres-xc (because postgresql and postgres-xc install the same binaries.)
      /usr/local/Cellar/postgresql/11.2 (3,186 files, 35.4MB) *
      Poured from bottle on 2019-03-20 at 12:42:32
      From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgresql.rb
      ==> Dependencies
      Build: pkg-config ✔
      Required: icu4c ✔, openssl ✔, readline ✔
      ==> Options
      --HEAD
      Install HEAD version
      ==> Caveats
      To migrate existing data from a previous major version of PostgreSQL run:
      brew postgresql-upgrade-database

      To have launchd start postgresql now and restart at login:
      brew services start postgresql
      Or, if you don't want/need a background service you can just run:
      pg_ctl -D /usr/local/var/postgres start
      ==> Analytics
      install: 84,642 (30 days), 236,127 (90 days), 754,771 (365 days)
      install_on_request: 75,641 (30 days), 208,395 (90 days), 652,972 (365 days)
      build_error: 0 (30 days)

      > ps auxwww | grep postgres
      will 19993 0.0 0.0 4284404 804 s001 S+ 1:22pm 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

      ❯ ps -ef | grep postgres
      502 20156 4003 0 1:24pm ttys001 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn postgres

      > psql --version
      psql (PostgreSQL) 11.2
      > pg_upgrade --version
      pg_upgrade (PostgreSQL) 11.2


      Attempted sollutions:



      ❯ rm /usr/local/var/postgres/postmaster.pid
      rm: /usr/local/var/postgres/postmaster.pid: No such file or directory

      > initdb /usr/local/var/postgres -E utf8
      initdb: directory "/usr/local/var/postgres" exists but is not empty


      Some of the debug stuff above references postgres 10, some 11. Have I accidentally installed 2 postgres somehow? How do I resolve that?







      postgresql homebrew






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 25 at 15:57







      Will

















      asked Mar 25 at 13:26









      WillWill

      2,2832 gold badges26 silver badges47 bronze badges




      2,2832 gold badges26 silver badges47 bronze badges






















          0






          active

          oldest

          votes










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55338881%2ffixing-homebrews-postmark-after-brew-update-on-osx-10%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes




          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







          Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55338881%2ffixing-homebrews-postmark-after-brew-update-on-osx-10%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현