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 8672669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:15:45+00:00 2026-06-12T19:15:45+00:00

mac os x lion 10.7.4 psql –version -> psql (PostgreSQL) 9.0.5 I want to

  • 0

mac os x lion 10.7.4

psql –version -> psql (PostgreSQL) 9.0.5

I want to install latest version and run my rails app with it.

I do

brew install postgresql

it is installed here: /usr/local/Cellar/postgresql/9.1.4  

initdb /usr/local/var/postgres

pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

I get:

pg_ctl: another server might be running; trying to start server anyway

running postgres –version

 -> 9.1.4

postgres -p 5433

 postgres does not know where to find the server configuration file.
 You must specify the --config-file or -D invocation option or set the PGDATA environment variable.
  • 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-12T19:15:47+00:00Added an answer on June 12, 2026 at 7:15 pm

    Edit /usr/local/var/postgres/postgresql.conf and change the port directive to use a different port number like 5433. Then start the new Pg instance as you did before.

    You can now connect to the 9.1 instance by specifying a different port in your Rails configuration.

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

Sidebar

Related Questions

I'm using mac os lion with the latest xcode version. I installed phonegap from
I am trying to run our App on Mac Lion. App is built on
I installed the latest version of postgres on OS X Lion using homebrew. The
I´m using Mac OS Lion, with java version 1.6.0_26 I'm making a small app
I just installed postgresql on my mac (lion) using homebrew, and when I use
I'm using Mac Lion 10.7.1, MacVim Snapshot 61, Vim version 7.3 I want to
I have a Mac running Lion and I just downloaded latest version of apache.
I've tried installing ffmpeg in mac lion through homebrew like this: brew install --use-clang
I've used homebrew to install python on a new Mac Lion installation, and have
I am trying to install Apache (by compilation)on my mac Lion. Every time, I

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.