Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 485629FA344 for ; Fri, 2 Feb 2007 16:41:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 88126-03 for ; Fri, 2 Feb 2007 16:41:04 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id E47679FA2BB for ; Fri, 2 Feb 2007 16:41:12 -0400 (AST) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l12KfBMY003586 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Feb 2007 12:41:12 -0800 Message-ID: <45C3A2AF.8080606@commandprompt.com> Date: Fri, 02 Feb 2007 12:44:31 -0800 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Shane Ambler CC: Shoaib Mir , Manish Pillai , pgsql-admin@postgresql.org Subject: Re: Postgres is not starting or stopping References: <878936.26029.qm@web52313.mail.yahoo.com> <45C3A015.5080808@007Marketing.com> In-Reply-To: <45C3A015.5080808@007Marketing.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Fri, 02 Feb 2007 12:41:13 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/29 X-Sequence-Number: 24494 Shane Ambler wrote: > >>> I am getting only this much... >>> >>> [root@KLC2 init.d]# ./postgresql restart >>> Stopping postgresql service: [FAILED] >>> Starting postgresql service: [FAILED] >>> [root@KLC2 init.d]# >>> How to enable log in postgres...Please help >>> > > Unless you have turned it off logging is on by default (with minimum > setting) > > Your prob may be knowing where the log is. By default you will find it > in your data directory along with postgresql.conf and it will be called > serverlog > > tail that file (as root) and see what shows up there likely /var/log/postgresql What linux is this? > > > -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/ Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate PostgreSQL Replication: http://www.commandprompt.com/products/