Postmaster start up problems (can't create lock file ) - Mailing list pgsql-novice

From Jasbinder Singh Bali
Subject Postmaster start up problems (can't create lock file )
Date
Msg-id a47902760708130950nf340406h2d5f15ba4c2f1445@mail.gmail.com
Whole thread Raw
Responses Re: Postmaster start up problems (can't create lock file )
List pgsql-novice
I'm trying to start my postgres server and it gives me the following errror

FATAL:  could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": Permission denied

Now obviously to touch the file that the error message is talking about, one needs root permission that the user account under which my postmaster is runnnig doesn't have.

Can anyone tell me the fix.

Thanks

pgsql-novice by date:

Previous
From: "Kevin McCarthy"
Date:
Subject: foreign key constraint to multiple tables
Next
From: "Andrew C. Uselton"
Date:
Subject: resetting superuser password