Return-Path: X-Original-To: apmail-hawq-dev-archive@minotaur.apache.org Delivered-To: apmail-hawq-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B2DBD181E3 for ; Fri, 11 Mar 2016 02:21:02 +0000 (UTC) Received: (qmail 53198 invoked by uid 500); 11 Mar 2016 02:21:02 -0000 Delivered-To: apmail-hawq-dev-archive@hawq.apache.org Received: (qmail 53141 invoked by uid 500); 11 Mar 2016 02:21:02 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 53129 invoked by uid 99); 11 Mar 2016 02:21:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2016 02:21:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1ADE7C0D99 for ; Fri, 11 Mar 2016 02:21:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IktqzT6GP4Uf for ; Fri, 11 Mar 2016 02:20:59 +0000 (UTC) Received: from resqmta-po-02v.sys.comcast.net (resqmta-po-02v.sys.comcast.net [96.114.154.161]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id EBBA05F2EF for ; Fri, 11 Mar 2016 02:20:58 +0000 (UTC) Received: from resomta-po-05v.sys.comcast.net ([96.114.154.229]) by resqmta-po-02v.sys.comcast.net with comcast id USLm1s00A4xDoy801SLrJE; Fri, 11 Mar 2016 02:20:51 +0000 Received: from tpx ([24.130.135.131]) by resomta-po-05v.sys.comcast.net with comcast id USLn1s00G2qGB6001SLqCY; Fri, 11 Mar 2016 02:20:50 +0000 Received: from localhost (localhost [127.0.0.1]) by tpx (Postfix) with ESMTP id 286A5203234F8 for ; Thu, 10 Mar 2016 18:20:47 -0800 (PST) Date: Thu, 10 Mar 2016 18:20:47 -0800 From: Konstantin Boudnik To: dev@hawq.incubator.apache.org Subject: Re: Strange error during the db initialization Message-ID: <20160311022047.GK17583@tpx> Mail-Followup-To: dev@hawq.incubator.apache.org References: <20160310053604.GC17583@tpx> <20160310212658.GH17583@tpx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EVcIhgQsEzAXu06J" Content-Disposition: inline In-Reply-To: <20160310212658.GH17583@tpx> X-Organization: It's something of 'Cos X-PGP-Key: http://www.boudnik.org/~cos/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1457662851; bh=SfpaLto4SbY7jTCNsmTdLZVYM3TYX6p95PNx9amXmIo=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: MIME-Version:Content-Type; b=vMANiMYJ6IT4SOmEPzCtiJhyQ6LNxxBSX955PxSZOgnP+PEZ+HmharOUYzNyqZHYG EiYtfG9B/oNne8bDCBQ1YCEUmJ4H+YZjk0wumky0q/G225PgDviHajGNWh22fPObMh 8alyc2GiXBQ4ZiMaQZOhYa7ntaOdBAf2f++WvvLeTG70fVumjOpZX6CQZ5Gp0YFV7m eyqJB/2R4mfN8yTNLdgMOdoOCwx5EKYDxE/msBYWG5CHMfqHKYv4vQHGj5B6WD6hxT odCtuuyz+eSqiNyx2L/5EQxLI8nyAb8eWIIJDUJTVlRZRGhLCLzSh63Lfj/6Gx9ll/ pRgNRDX/PfrPA== --EVcIhgQsEzAXu06J Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Keep on digging here....=20 I spent a bit of time trying to run % psql -d postgres=20 because I was hitting the error where psql couldn't bind to PGSQL socket locally, so I had to create=20 ln -s /tmp/.s.PGSQL.5432 /var/run/postgresql/.s.PGSQL.5432 Now, the client is able to connect to the server, but I am getting this psql (9.2.15, server 8.2.15) WARNING: psql version 9.2, server version 8.2. Some psql features might not work. which is quite weird, considering that I have built everything from the current master's HEAD. I see that server version is hardcoded everywhere, a= nd the client code is checked into the code base. Is it possible these version were intentionally made different? Any ideas what could be causing these discrepancies? Thanks Cos On Thu, Mar 10, 2016 at 01:26PM, Konstantin Boudnik wrote: > Ah, indeed - sysctl changed helped! Thanks for the good piece of the info. >=20 > Cos >=20 > On Thu, Mar 10, 2016 at 04:20PM, Lei Chang wrote: > > Hi Konstantin, > >=20 > > I think it is possible due to system configurations, I just added an > > section about "system configuration" on the build and install page. you= can > > have a try. > >=20 > > https://cwiki.apache.org/confluence/display/HAWQ/Build+and+Install > >=20 > > Cheers > > Lei > >=20 > >=20 > > On Thu, Mar 10, 2016 at 1:36 PM, Konstantin Boudnik wr= ote: > >=20 > > > Guys, > > > > > > I am seeing the following debug output while running initial boot seq= uence: > > > > > > bash-4.2$ /usr/lib/hawq/bin/postgres -d 5 --boot -x0 -F -c > > > max_connections=3D1280 -c shared_buffers=3D4000 -c max_fsm_pages=3D20= 0000 < > > > "/dev/null" > > > > > > 2016-03-10 05:34:31.445003 > > > GMT,,,p32521,th-908068352,,,,0,,,seg-10000,,,,,"FATAL","42601","--boot > > > requires a value",,,,,,,,"PostmasterMain","postmaster.c",1023, > > > 2016-03-10 05:34:31.445777 > > > GMT,,,p32521,th-908068352,,,,0,,,seg-10000,,,,,"DEBUG3","00000","shme= m_exit(1): > > > 0 callbacks to make",,,,,,,,"shmem_exit","ipc.c",195, > > > 2016-03-10 05:34:31.446467 > > > GMT,,,p32521,th-908068352,,,,0,,,seg-10000,,,,,"DEBUG3","00000","proc= _exit(1): > > > 0 callbacks to make",,,,,,,,"proc_exit_prepare","ipc.c",167, > > > 2016-03-10 05:34:31.447147 > > > GMT,,,p32521,th-908068352,,,,0,,,seg-10000,,,,,"DEBUG3","00000","exit= (1)",,,,,,,,"proc_exit","ipc.c",132, > > > > > > > > > Can't figure out what's missing. Would appreciate any pointers. > > > Thanks in advance, > > > Cos > > > > > > --EVcIhgQsEzAXu06J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAlbiK38ACgkQenyFlstYjhISvgD/Yaktaxtyn7z89uDFQ3i1cPxl lRdn9AHZuX/zWOnwtC8BAIQUyqrvzANng+rNwv/qgQK64zJxpeU6rdItQq3B5l8q =xS5T -----END PGP SIGNATURE----- --EVcIhgQsEzAXu06J--