dbTalk Databases Forums  

Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4)

comp.databases.postgresql comp.databases.postgresql


Discuss Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pyarchinit@gmail.com
 
Posts: n/a

Default Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) - 07-18-2012 , 06:15 AM






Hi to all,
my mac book pro died and I recover my pg folder from the old HD.

Now under Imac I've tried to recover data replacing my data folder under mac os x and potgres 8.4 but unfortunatly i recive this message on console


(com.edb.launchd.postgresql-8.4[950]) Exited with exit code: 1 18/07/12 13.08.21 com.apple.launchd[1]
(com.edb.launchd.postgresql-8.4) Throttling respawn: Will start in 10 seconds 18/07/12 13.08.21 com.apple.launchd[1]
2012-07-18 11:08:31 GMTFATAL: data directory "/Library/PostgreSQL/8.4/data" has wrong ownership 18/07/12 13.08.31 com.edb.launchd.postgresql-8.4[951]
2012-07-18 11:08:31 GMTHINT: The server must be started by the user that owns the data directory. 18/07/12 13.08.31 com.edb.launchd.postgresql-8.4[951]


How can I set in the right way my PostgreSQL/8.4 folder and the data folder?

Reply With Quote
  #2  
Old   
Jasen Betts
 
Posts: n/a

Default Re: Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) - 07-21-2012 , 06:37 AM






On 2012-07-18, pyarchinit (AT) gmail (DOT) com <pyarchinit (AT) gmail (DOT) com> wrote:
Quote:
Hi to all,
my mac book pro died and I recover my pg folder from the old HD.

Now under Imac I've tried to recover data replacing my data folder under mac os x and potgres 8.4 but unfortunatly i recive this message on console


(com.edb.launchd.postgresql-8.4[950]) Exited with exit code: 1 18/07/12 13.08.21 com.apple.launchd[1]
(com.edb.launchd.postgresql-8.4) Throttling respawn: Will start in 10 seconds 18/07/12 13.08.21 com.apple.launchd[1]
2012-07-18 11:08:31 GMTFATAL: data directory "/Library/PostgreSQL/8.4/data" has wrong ownership 18/07/12 13.08.31 com.edb.launchd.postgresql-8.4[951]
2012-07-18 11:08:31 GMTHINT: The server must be started by the user that owns the data directory. 18/07/12 13.08.31 com.edb.launchd.postgresql-8.4[951]


How can I set in the right way my PostgreSQL/8.4 folder and the data folder?
as root:

chown -R postgres /Library/PostgreSQL/8.4/data

assuming "postgres" is the right user.

https://developer.apple.com/library/...8/chown.8.html

--
⚂⚃ 100% natural

--- Posted via news://freenews.netfront.net/ - Complaints to news (AT) netfront (DOT) net ---

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 - 2013, Jelsoft Enterprises Ltd.