X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 24CF1D1D80D for ; Sun, 23 Nov 2003 04:40:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 60301-06 for ; Sun, 23 Nov 2003 00:40:16 -0400 (AST) Received: from system11.trade-india-local.com (unknown [203.145.171.48]) by svr1.postgresql.org (Postfix) with SMTP id 357D4D1D783 for ; Sun, 23 Nov 2003 00:40:14 -0400 (AST) Received: (qmail 24466 invoked from network); 23 Nov 2003 04:00:09 -0000 Received: from system67.trade-india-local.com (HELO trade-india.com) (192.168.0.67) by system11.trade-india-local.com with SMTP; 23 Nov 2003 04:00:09 -0000 Message-ID: <3FC03B7B.6010409@trade-india.com> Date: Sun, 23 Nov 2003 10:15:47 +0530 From: Rajesh Kumar Mallah User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ashok Chauhan Cc: pgsql-admin Subject: Re: re-install postgresql References: <1069480581.1222.20.camel@chi> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/388 X-Sequence-Number: 11375 Dear ashok, Looks like you installed pgsql from the RPMS. I feel the /etc/rc.d/init.d/postgresql script should be more verbose to tell about the exact problem. In any case the sure shot method of initialising and starting the postmaster is to follow the instruction that comes in the INSTALL file of source code. You may do the following. # su - postgres # touch /var/log/pgsql # chown postgres: /var/log/pgsql $ initdb /path/to/folder/to/store/data $ pg_ctl -l /var/log/pgsql -D /path/to/folder/to/store/data start check in /var/log/pgsql for errors. Hope it will help. Regds mallah. Ashok Chauhan wrote: >help me > >i re - install the postgresql but it not start, gives following errors: >1) initiliazing database [FAILED] >2) postgresql service [FAILED] > >it gives a message in /var/log/message:- "session closed for user >postgres" > >pls help me. > > >---------------------------(end of broadcast)--------------------------- >TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > >