Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7718893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:16:46+00:00 2026-06-01T03:16:46+00:00

I am having trouble getting postgresql getting set up on Mac OSX Lion. I

  • 0

I am having trouble getting postgresql getting set up on Mac OSX Lion. I used brew to install postgres, but there is also a default installed postgres on Lion so I don’t know if that is the problem. Here is my attempt to start the server, which appears to work but then I can’t access psql. I also created a user called “postgres” but I am not sure what exactly to do with it.

    Superfly:~ James$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
    server starting
    Superfly:~ James$ ps aux | grep postgres
    postgres       18990   0.0  0.0  2435492   1044 s000  S     7:52PM   0:00.01 bash
    root           18989   0.0  0.0  2446896   1848 s000  S     7:52PM   0:00.02 su postgres
    James          19310   0.0  0.0  2434892    544 s001  S+    8:16PM   0:00.00 grep postgres
    Superfly:~ James$ psql -U postgres
    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"?

Here is where pg_ctl and psql are installed on my computer.

Superfly:~ James$ which psql
/usr/local/bin/psql
Superfly:~ James$ which pg_ctl
/usr/local/bin/pg_ctl

Any help would be appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:16:47+00:00Added an answer on June 1, 2026 at 3:16 am

    Which user did you run that as? Brew gives instructions after you install, did you run those commands? You need to run the pg_ctl as postgres user. I don’t know why you didn’t get error messages but you need to give the data directory.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble getting the following to work in SQL Server 2k, but it
I having trouble getting append() to work in safari for some reason, but it
I'm having trouble getting my app to install on a tablet through the market.
Is anyone else having trouble getting with their mysql server not starting with lion.
I'm having trouble getting Twipsy to read the data attributes set on Twipsy-enabled element.
I'm having trouble getting a rotary encoder to work properly with AVR micro controllers.
I've been having trouble getting my ASP.NET application to automatically log users into the
I'm having trouble getting the right number of elements in the ArrayList alt in
I am having trouble getting my ASP.NET application to start an application. For example
I'm having trouble getting a rails app on Dreamhost's Passenger to see compiled libraries

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.