Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsgate.cuhk.edu.hk!news.netfront.net!reversiblemaps.ath.cx!not-for-mail From: Jasen Betts Newsgroups: comp.databases.postgresql Subject: Re: Recover data without backup (Mac OS X 10.5 and PostgreSQL 8.4) Date: 21 Jul 2012 11:37:14 GMT Organization: Dis (not Dat) Organisation Lines: 27 Message-ID: References: <5d7bfc32-b636-4c99-8b3a-ef4dc4fb47f2@googlegroups.com> NNTP-Posting-Host: 118.90.106.192 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: adenine.netfront.net 1342872030 77380 118.90.106.192 (21 Jul 2012 12:00:30 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Sat, 21 Jul 2012 12:00:30 +0000 (UTC) X-Face: ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^ User-Agent: slrn/pre1.0.0-18 (Linux) Xref: csiph.com comp.databases.postgresql:390 On 2012-07-18, 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 ---