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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:18:06+00:00 2026-06-11T15:18:06+00:00

I am trying to run postgres from terminal. What am I missing? $psql perl:

  • 0

I am trying to run postgres from terminal. What am I missing?

$psql
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
psql: could not connect to server: No such file or directory
    Is the server running locally and accepting
    connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
  • 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-11T15:18:07+00:00Added an answer on June 11, 2026 at 3:18 pm

    It looks like you’re on a system with pg_wrapper like Ubuntu or Debian, and your locale settings are messed up. This isn’t to do with PostgreSQL, it’s a system configuration problem. Perl is just complaining about it.

    Run perl without arguments and you’ll see the same complaint.

    Assuming you’re on Ubuntu since you didn’t say otherwise, see:

    • Locale – Ubuntu Wiki
    • How to select and generate locales on Ubuntu – UbuntuGeek
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For a new project I'm trying to run postgres locally. Mac Lion has Postgres
I am trying run a program from a qmake .pro file which modifies the
I am trying to import a txt/csv file into my postgres database from php
I'm trying to wrap my head about how postgres spatial stuff works from a
I'm trying to create a FUNCTION in my Postgres database from a Bash script.
I'm trying to create a datasource from my Heroku/Spring application to postgres.heroku.com postgres database.
I am trying to run the C libraries from SIGAR API. In the include
Trying to run perl system command with a full blown shell environment. Similar to
I am trying to retrieve a blob from a postgres database using the jdbc
I am trying run a batch file from my java codes, but unfortunately 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.