X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 331519DC814 for ; Mon, 9 Jan 2006 14:48:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 75564-09 for ; Mon, 9 Jan 2006 14:48:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 91F3F9DC806 for ; Mon, 9 Jan 2006 14:48:20 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k09ImKXx006781; Mon, 9 Jan 2006 13:48:21 -0500 (EST) To: "Sistemas C.M.P." cc: pgsql-admin@postgresql.org Subject: Re: postgresql.conf In-reply-to: <003201c6153f$32244ac0$1601a8c0@pcsistemas> References: <003201c6153f$32244ac0$1601a8c0@pcsistemas> Comments: In-reply-to "Sistemas C.M.P." message dated "Mon, 09 Jan 2006 14:07:39 -0300" Date: Mon, 09 Jan 2006 13:48:20 -0500 Message-ID: <6780.1136832500@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.076 required=5 tests=[AWL=0.076] X-Spam-Score: 0.076 X-Spam-Level: X-Archive-Number: 200601/95 X-Sequence-Number: 20183 "Sistemas C.M.P." writes: > I had to change the file postgresql.conf (section FILE LOCATIONS -> = > data_directory)because I need to point to another location. > But when I reboot the system, it indicates fail (red color) on the = > startup of postgresql service. > But then, it accept conections normaly and work fine with the database = > in the new location. > Why indicate Fail? I suppose your start script uses pg_ctl to start the database? pg_ctl doesn't understand the contents of postgresql.conf so it does not know that you've moved the data directory that way. regards, tom lane