dbTalk Databases Forums  

error on starting server

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss error on starting server in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert Morgan
 
Posts: n/a

Default error on starting server - 04-28-2004 , 02:27 AM






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@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@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)


Reply With Quote
  #2  
Old   
joseph speigle
 
Posts: n/a

Default Re: error on starting server - 04-28-2004 , 09:15 AM






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:
Quote:
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@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@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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.