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

Re: error on starting server

From: joseph speigle <joe(dot)speigle(at)jklh(dot)us>
To: postgres <pgsql-novice(at)postgresql(dot)org>
Subject: Re: error on starting server
Date: 2004-04-28 14:15:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
looks like you installed into /usr/local/pgsql/
as root then as bob you are trying to install.  The quick thing to do is just check the permissions on 
the place where the error comes from   


creating directory /usr/local/pgsql/data... mkdir: cannot create
directory `/usr/local/pgsql/data': Permission denied

On Wed, Apr 28, 2004 at 07:27:00PM +1200, Robert Morgan wrote:
> Hi thanks for your previous replies, I decided to remove the RH embedded 
> postgresql and install from source
> which I have done and as far as I can tell everything is ok but when I 
> tried to start it I got the following...
> [bob(at)localhost bob]$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> The files belonging to this database system will be owned by user "bob".
> This user must also own the server process.
> The database cluster will be initialized with locale en_NZ.UTF-8.
> creating directory /usr/local/pgsql/data... mkdir: cannot create 
> directory `/usr/local/pgsql/data': Permission denied
> initdb: failed
> [bob(at)localhost bob]$
> any help appreciated.
> version is postgresql-7.4.2
> Bob
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

joe speigle

In response to

pgsql-novice by date

Next:From: Martin HamplDate: 2004-04-28 18:50:17
Subject: Does not use index
Previous:From: Ramesh PatelDate: 2004-04-28 10:27:24
Subject: Trigger Problem

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