Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJo4q-00086D-98 for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2013 17:19:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJo4p-0001dl-OZ for pgsql-bugs@arkaria.postgresql.org; Wed, 11 Sep 2013 17:19:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJo4o-0001cb-Hk for pgsql-bugs@postgresql.org; Wed, 11 Sep 2013 17:19:38 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJo4h-0003AX-FY for pgsql-bugs@postgresql.org; Wed, 11 Sep 2013 17:19:38 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r8BHJNl07539 for ; Wed, 11 Sep 2013 10:19:23 -0700 Message-ID: <5230A61A.2030207@hogranch.com> Date: Wed, 11 Sep 2013 10:19:22 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: Cant start PostgreSQL Using command prompt References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070604070201000701020408" X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. --------------070604070201000701020408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 9/11/2013 4:00 AM, Saravanan Nagarajan wrote: > I am using PostgreSQL. If am starting the db with System Account/ any > domain account using wrapper, the DB is starting fine. > > If i am trying to start the PostgreSQL DB using command prompt, > [Normal mode or Run as administrator.], It wont start. I provided full > permission for everyone in Postgres DB Folder. > > I didn't find any error in pg_log file. I installed DB in 2008 R2 > windows machine. > > My command : *pg_ctl -D "..\data" -o -p3306 --log "D:\logs\pglog.txt" > start &* > * > * NET START "postgres service name" btw, afaik Windows command prompt has no idea what & means. -- john r pierce 37N 122W somewhere on the middle of the left coast --------------070604070201000701020408 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 9/11/2013 4:00 AM, Saravanan Nagarajan wrote:
I am using PostgreSQL. If am starting the db with System Account/ any domain account using wrapper, the DB is starting fine.

If i am trying to start the PostgreSQL DB using command prompt, [Normal mode or Run as administrator.], It wont start. I provided full permission for everyone in Postgres DB Folder.

I didn't find any error in pg_log file. I installed DB in 2008 R2 windows machine.

My command : pg_ctl -D "..\data" -o -p3306 --log "D:\logs\pglog.txt" start &



NET START "postgres service name"


btw, afaik Windows command prompt has no idea what & means.

-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast
--------------070604070201000701020408--