Skip site navigation (1) Skip section navigation (2)

Re: Moving the data directory

From: Scott Mead <scottm(at)openscg(dot)com>
To: Sairam Krishnamurthy <kmsram420(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Moving the data directory
Date: 2011-02-15 22:37:42
Message-ID: AANLkTinrVBd0e6f6Q4HFg2BH5WjsHoB4YB1LjW2Rbfke@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
On Tue, Feb 15, 2011 at 5:32 PM, Sairam Krishnamurthy
<kmsram420(at)gmail(dot)com>wrote:

>  Scott,
>
> I get this error.
>
> server starting
> krishnam(at)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
>
>

In response to

Responses

pgsql-admin by date

Next:From: Sairam KrishnamurthyDate: 2011-02-15 22:43:56
Subject: Re: Moving the data directory
Previous:From: Sairam KrishnamurthyDate: 2011-02-15 22:32:57
Subject: Re: Moving the data directory

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group