Re: postgres install fails on sid
On 16:04 Sun 07 Oct , Florian Kulzer wrote:
> On Sun, Oct 07, 2007 at 13:49:11 +0000, John Masters wrote:
> > I have posted this to the Postgres list also.
> >
> > Cannot get Postgres 8.2 working on Debian sid using the Debian package.
> > At the config stage I get a message telling me to run:-
> >
> > pg_createcluster 8.2 main --start
> >
> > Doing this (as root) produces the following output:-
> >
> > Creating new cluster (configuration: /etc/postgresql/8.2/main, \
> > data: /var/lib/postgresql/8.2/main)...
> > sh: /dev/null: Permission denied
>
> I would start with the first problem that is reported: "sh: /dev/null:
> Permission denied". What are the permissions of the /dev/null node on
> your system? It should be writable by anyone:
>
> $ ls -l /dev/null
> crw-rw-rw- 1 root root 1, 3 2007-10-07 14:28 /dev/null
>
Thanks, that seems to be the problem. permissions for /dev/null
are -rw-r--r--
What is the c part of the permissions and how do you set it? I have
googled and searched my books but all I can find is that it is a
character device file but no mention of how to set the attribute.
Would it be OK to just chmod 666?
--
Regards, John
Reply to: