Skip site navigation (1) Skip section navigation (2)

Re: Error: Could not change user id

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Russell Davie <rjrd(at)exemail(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Error: Could not change user id
Date: 2006-05-29 00:59:33
Message-ID: 1271.1148864373@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Russell Davie <rjrd(at)exemail(dot)com(dot)au> writes:
> Manually starting postgresql by the user postgres:
> postgres(at)XXXX:/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]

There is no such error message anywhere in the PG 7.4 source code.
I suppose it's coming out of whatever init script you're using;
have you tried reading the init script for enlightenment?

(FWIW, init scripts are almost always designed to be executed as
root, not as random unprivileged users like postgres.  sudo might
help.)

			regards, tom lane

In response to

Responses

pgsql-admin by date

Next:From: Russell DavieDate: 2006-05-29 04:25:15
Subject: Re: Error: Could not change user id
Previous:From: Russell DavieDate: 2006-05-28 23:31:22
Subject: Error: Could not change user id

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group