Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.postgresql > #390

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

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups comp.databases.postgresql
Subject Re: Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4)
Date 2012-07-21 11:37 +0000
Organization Dis (not Dat) Organisation
Message-ID <jue49a$45d$1@reversiblemaps.ath.cx> (permalink)
References <5d7bfc32-b636-4c99-8b3a-ef4dc4fb47f2@googlegroups.com>

Show all headers | View raw


On 2012-07-18, pyarchinit@gmail.com <pyarchinit@gmail.com> wrote:
> 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/mac/#documentation/Darwin/Reference/Manpages/man8/chown.8.html

-- 
⚂⚃ 100% natural

--- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---

Back to comp.databases.postgresql | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) pyarchinit@gmail.com - 2012-07-18 04:15 -0700
  Re: Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) Jasen Betts <jasen@xnet.co.nz> - 2012-07-21 11:37 +0000

csiph-web