changing user id

From: Russell Davie <rjrd(at)exemail(dot)com(dot)au>
To: pgsql-novice(at)postgresql(dot)org
Subject: changing user id
Date: 2006-05-29 21:41:53
Message-ID: 20060530074153.3c2aff82@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi
I'm a bit of a noob with PostgreSQL and I hope this is the right list to ask this question...

When postgresql loads there is and error message:

postgres(at)XXXXX:~$ /etc/init.d/postgresql-7.4 start
chmod: changing permissions of `/var/run/postgresql': Operation not permitted
* Starting PostgreSQL 7.4 database server:main
Error: Could not change user id [fail]

The error message in start-up script /usr/share/postgresql-common/PgCommon.pm
Using Linux-Ubutu.

Reading the script suggests that the user to be a member of the "shadow" group, which is now done.
However, postgresql is still not starting and produces the same errors:

Are there special privileges that the "shadow" group has?

What should also be done to getting postgresql working again?

TIA

Russell

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2006-05-30 02:57:54 Re: changing user id
Previous Message Pierre Thibaudeau 2006-05-29 02:43:50 Re: Concatenation containing a "null" term