×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Starting postmaster

Starting postmaster

Starting postmaster

(OP)
First things first - I know very little about Linux and VERY little about PostgrSQL.  I do know a bit about databases.

On typing:
 
   # psql

I receive this message:

   psql: connectDBstart() __connect() failed: no such file or directory
   Is the postmaster running locally
   and expecting connections on Unix    socket '/tmp/.s.PGSQL.5432'?

I have read the docs but don't understand them well enough to do the right thing.

I am using Mandrake 8.1 and the data directory appears to be:

   /var/lib/pgsql/data

Postmaster doesn't seem to want me to connect as root but other uses do not have access permission - what do I do please?

Thank you in advance

RE: Starting postmaster

1) You will need to create a database:
createdb test

2) You will need to create new users:
createuser XXX

3) To use psql to access this database:
psql test -U postgres

Remember that you will create new tables with user that you logged.

best regards

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close