Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKPgx-0004Y3-3y for pgsql-general@arkaria.postgresql.org; Sun, 20 May 2018 14:52:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fKPgt-00026i-DS for pgsql-general@arkaria.postgresql.org; Sun, 20 May 2018 14:52:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKPgr-00026Y-GB for pgsql-general@lists.postgresql.org; Sun, 20 May 2018 14:52:07 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fKPgg-0001Jb-Hl for pgsql-general@postgresql.org; Sun, 20 May 2018 14:52:04 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 955DC22062; Sun, 20 May 2018 10:51:51 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 20 May 2018 10:51:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=FxURI6AGDnjpKX162mWgJ2SwQu/Pt zWnoLtIStx4IPw=; b=dRy4E3gwet9gEQ1tKuek4B+d0fr2FmA31FouvZCYOV26p J4OvYrL7K4Qqg0KYfe2JJg45np8H2bLvO2+KNwELrbww5rYtyufcwQBqjfakx7e5 P3Gu82C2K+4jVmNzoFWgyhgHIBKtmYeexMtpbE9fGbUCBQsYfM74F21o33qJ8K2h 3y0JO7Ax09SazpR/RkNrUUNElx2YhfaZoc8HlW2mwEvDRiVzb5vxcUDJem48TiEJ q8vMEhpe2IRVFe3zpEJRrCCXi2WFAYFb7E1lDAUCGgQELiqCyn6e0QwvjDceQpPc 1KcbzXDj3veFbZM+eQHCwG6oTHQtBvGj6XNCsw5gg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=FxURI6 AGDnjpKX162mWgJ2SwQu/PtzWnoLtIStx4IPw=; b=SROKdiQzb1VCJzu5BGy42X OTO6rokOY2Acp4I80qThXujK3x3Ij4ftyHAQpjmn+kZHMTohLsO/RE4GeBIq7UBE G03X2VnRKDv1dpk4kLw55GrKjlrBl866v/t/30f+EB3zOw5IOwoQg4huKgixcdgt 7aB/jjPc1yaS8dthB0pdiezUsagmMzCDIUVWJsc8UjDocTHihLCTmTBifaHzILW8 iGzb7LPwBiDshKMPvubZslWGNK9/qC60FbPEFEX+ydYvyj13e3OJ6HWJBWwIQmYS dD5UUVJ/dAh9Otv1Zd8H5KyJfAn6mhgKwA6ufPT885WFPSCLBVaNj79HhOu6I+2Q == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.2] (unknown [71.212.135.74]) by mail.messagingengine.com (Postfix) with ESMTPA id C73E51025E; Sun, 20 May 2018 10:51:50 -0400 (EDT) Subject: Re: postgresql is down in whm status page To: Arta S Cc: pgsql-general@postgresql.org References: <2F040134-080F-4A78-99C4-A0F65674A4DE@gmail.com> <4FCE93DB-E6B0-4D30-905B-D249444F06DB@gmail.com> From: Adrian Klaver Message-ID: Date: Sun, 20 May 2018 07:51:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 05/20/2018 06:41 AM, Arta S wrote: > Hello, > > Thanks for your reply. > > I am an advanced user, a client requested to install postgresql for > them. The postgresql was down in System> Status. I managed to start that > and now its running fine. > Now I have an odd problem. When I try to create a new account in WHM > (Account Creation) I get the message: *account creation status failed > the postgresql service is down* See here: https://forums.cpanel.net/threads/case-133489-create-a-new-account-account-creation-status-failed-the-postgresql-service-is-down.436381/ which makes reference to: /usr/local/cpanel/logs/error_log In the above case it was a missing entry in pg_hba.conf. Have you looked in the error log? > > 2) If WHM is the above have you contacted cPanel for assistance? > *cPanel does not officially support postgresql.* Their docs say different. From the Install link below: " Install or Update PostgreSQL on Your cPanel Server Skip to end of metadata Created by Documentation, last modified on Apr 19, 2018 Go to start of metadata ... Important: We only support versions of PostgreSQL that you install with the /usr/local/cpanel/scripts/installpostgres script. We do not support versions of PostgreSQL that you install via any other method. Note: cPanel & WHM functions with the version of PostgreSQL that ships with your operating system. " > > 4) Did you do the below to install Postgres?: > https://documentation.cpanel.net/display/CKB/Install+or+Update+PostgreSQL+on+Your+cPanel+Server > *Yes, I used this doc.* > > Thank you > > 5) Are there logs for WHM and do they show anything relevant to this > problem? > >> On May 20, 2018, at 5:19 PM, Adrian Klaver > > wrote: >> >> On 05/19/2018 01:13 PM, Arta S wrote: >>> please check the below message. >>> Thank you >>>> Begin forwarded message: >>>> >>>> *From: *Arta S >>>> > >>>> *Subject: **postgresql is down in whm status page* >>>> *Date: *May 19, 2018 at 5:16:31 PM GMT+4 >>>> *To: *webmaster@postgresql.org >>>> >>>> >>>> Hello team, >>>> >>>> I have installed postgresql >>>> Based on the documentation, now in WHM>Status it shows that >>>> postgresql is down as well when I want to create a new account in >>>> WHM it says account creation failed because postgresql is down. >>>> >>>> Do you have any insight on that? >>>> I dug the internet, but found nothing that I can relate to this issue. >>>> >>>> I would appreciate if you could help me out. >> >> You are going to need to provide more information: >> >> 1) Is WHM this-https://en.wikipedia.org/wiki/CPanel#WHM_(WebHost_Manager)? >> >> 2) If WHM is the above have you contacted cPanel for assistance? >> >> 3) Where did you get Postgres from and what version did you get? >> >> 4) Did you do the below to install Postgres?: >> >> https://documentation.cpanel.net/display/CKB/Install+or+Update+PostgreSQL+on+Your+cPanel+Server >> >> If not how did you install it? >> >> 5) Are there logs for WHM and do they show anything relevant to this >> problem? >> >> >>>> >>>> Thank you >>>> >> >> >> -- >> Adrian Klaver >> adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com