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: | 20040428141500.GB14769@www.sirfsup.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
bob,
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
www.sirfsup.com
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Hampl | 2004-04-28 18:50:17 | Does not use index |
Previous Message | Ramesh Patel | 2004-04-28 10:27:24 | Trigger Problem |