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