Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

31 views
Skip to first unread message

pyarc...@gmail.com

unread,
Jul 18, 2012, 7:15:21 AM7/18/12
to
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?

Jasen Betts

unread,
Jul 21, 2012, 7:37:14 AM7/21/12
to
as root:

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

assuming "postgres" is the right user.

https://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/man8/chown.8.html

--
⚂⚃ 100% natural

--- Posted via news://freenews.netfront.net/ - Complaints to ne...@netfront.net ---
0 new messages