Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 874431337C24 for ; Tue, 15 Feb 2011 18:44:28 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 87385-05-5 for ; Tue, 15 Feb 2011 22:44:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iw0-f174.google.com (mail-iw0-f174.google.com [209.85.214.174]) by mail.postgresql.org (Postfix) with ESMTP id 396DE1337C04 for ; Tue, 15 Feb 2011 18:44:08 -0400 (AST) Received: by iwn9 with SMTP id 9so682742iwn.19 for ; Tue, 15 Feb 2011 14:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=Pv53Rf+6PQlxyRgfEvpyw056tCxgNAC76AxFSS70WF8=; b=xSwaHVz5D8flWuzb89zgTf+RaYj8f0GZlAWkYyumQdkfJ3Vp9g1mDsTcPFC9Z0VJAE 8xrtFeIS7DDZJoRnJDN3Cf0sICZBWslcPgg4OGub2YEplynLxttDPmCLEU2KG6ZTaiAQ TGGVNmPnuOQadLlT5Ekhmy3cboqvskYazAAL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; b=PPxHM/ye0W+3Hk8u7bzRGuQYQsFD7CPawkIBhtX3K9WHwiXJ2XGNSXeK+vEaUDzB40 xxSVby1xiQte1ajRaS49KmajiGd8/qjjTLT+FWmXTEBo+JpwbLU6tupIAZUMNrDePac6 sB7xYc8wUAqk4ckcIs/ZYvuqVLlcfg8s81pd8= Received: by 10.231.206.8 with SMTP id fs8mr4492533ibb.10.1297809847916; Tue, 15 Feb 2011 14:44:07 -0800 (PST) Received: from [128.101.33.40] (cs-wlc-040.cs.umn.edu [128.101.33.40]) by mx.google.com with ESMTPS id gy41sm3948183ibb.23.2011.02.15.14.43.57 (version=SSLv3 cipher=OTHER); Tue, 15 Feb 2011 14:43:57 -0800 (PST) Message-ID: <4D5B01AC.4040101@gmail.com> Date: Tue, 15 Feb 2011 16:43:56 -0600 From: Sairam Krishnamurthy User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Scott Mead CC: pgsql-admin@postgresql.org Subject: Re: Moving the data directory References: <4D5AFF19.8030905@gmail.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050503070301060801000609" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.045 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201102/136 X-Sequence-Number: 36775 This is a multi-part message in MIME format. --------------050503070301060801000609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Again, pg_ctl: could not open PID file "/media/extension/var/lib/postgresql/8.4/main/postmaster.pid": Permission denied Tried all the different ownership possible. Thanks, Sairam Krishnamurthy +1 612 859 8161 On 02/15/2011 04:37 PM, Scott Mead wrote: > > > On Tue, Feb 15, 2011 at 5:32 PM, Sairam Krishnamurthy > > wrote: > > Scott, > > I get this error. > > server starting > krishnam@nipa-umh:/media/extension/var/lib$ postgres: invalid > argument: "config_file=/etc/postgresql/8.4/main/postgresql.conf" > > tried with both -o and -c arguments. > > > My mistake, I screwed up! > > /usr/lib/postgresql/8.4/bin/pg_ctl start -D > /media/extension/var/lib/postgresql/8.4/main/ -o "-c > config_file="/etc/postgresql/8.4/main/postgresql.conf" > > (-c inside the quotes) > > --Scott > > Thanks, > Sairam Krishnamurthy > +1 612 859 8161 > > > On 02/15/2011 04:27 PM, Scott Mead wrote: >> /usr/lib/postgresql/8.4/bin/pg_ctl start -D >> /media/extension/var/lib/postgresql/8.4/main/ -o >> config_file="/etc/postgresql/8.4/main/postgresql.conf > > --------------050503070301060801000609 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Again,

pg_ctl: could not open PID file "/media/extension/var/lib/postgresql/8.4/main/postmaster.pid": Permission denied

Tried all the different ownership possible.

Thanks,
Sairam Krishnamurthy
+1 612 859 8161

On 02/15/2011 04:37 PM, Scott Mead wrote:


On Tue, Feb 15, 2011 at 5:32 PM, Sairam Krishnamurthy <kmsram420@gmail.com> wrote:
Scott,

I get this error.

server starting
krishnam@nipa-umh:/media/extension/var/lib$ postgres: invalid argument: "config_file=/etc/postgresql/8.4/main/postgresql.conf"

tried with both -o and -c arguments.

My mistake, I screwed up!

/usr/lib/postgresql/8.4/bin/pg_ctl start -D /media/extension/var/lib/postgresql/8.4/main/ -o "-c config_file="/etc/postgresql/8.4/main/postgresql.conf"

 (-c inside the quotes)

--Scott

Thanks,
Sairam Krishnamurthy
+1 612 859 8161

On 02/15/2011 04:27 PM, Scott Mead wrote:
/usr/lib/postgresql/8.4/bin/pg_ctl start -D /media/extension/var/lib/postgresql/8.4/main/ -o config_file="/etc/postgresql/8.4/main/postgresql.conf

--------------050503070301060801000609--