Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id EAED5632A73 for ; Fri, 19 Mar 2010 03:48:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 02793-01 for ; Fri, 19 Mar 2010 06:48:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f197.google.com (mail-px0-f197.google.com [209.85.216.197]) by mail.postgresql.org (Postfix) with ESMTP id 100EB632A3B for ; Fri, 19 Mar 2010 03:48:18 -0300 (ADT) Received: by pxi35 with SMTP id 35so2310675pxi.19 for ; Thu, 18 Mar 2010 23:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qVVF11ZEp21tC0unSwUjuY32TVb4fW5WklTVwoxonXc=; b=vJrOD/J4CZTiMKyuND7/cSuw9MxYaMAy2slhURGuvOtlq3rmJTjBhi6m1de+LlTA5Z +ZgtKzoNv+vMLi8hMwmRMMI+3t2fBf4weCXcSaqBRKocWhU92Gmb6yfLp+XUk80QRARe d353P7na/KSb2LlVg3mhF/QT1PV/bLstX5dWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CoTbsLnOWOYFYAz6d6igGXUdSh1rT1dQZ4ONTknIZN06fgPUMaF/1U63s1RFzElFPX ZqsmF9jPOPfQup+pCEqu3lvKBRgRk03nbgalviG8duKSvRgg1+zlBGbNDEl3bLC4ZDKt eN5kKkusOEj5n9Tzt8ToxGTknMopnCrwRUpIA= MIME-Version: 1.0 Received: by 10.143.137.1 with SMTP id p1mr1584952wfn.281.1268981297647; Thu, 18 Mar 2010 23:48:17 -0700 (PDT) In-Reply-To: <99024f5f1003182333ra872d4bg56e60fdbcd6e474a@mail.gmail.com> References: <99024f5f1003182333ra872d4bg56e60fdbcd6e474a@mail.gmail.com> Date: Fri, 19 Mar 2010 13:48:17 +0700 Message-ID: <99024f5f1003182348u4461a045k6936087831f3b813@mail.gmail.com> Subject: Re: Postgesql and SSL From: Kiswono Prayogo To: pgsql-admin@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.431 tagged_above=-10 required=5 tests=AWL=0.168, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/132 X-Sequence-Number: 33931 oh yeah i forgot to show you that it's linked successfully: # sudo ldd /home/`whoami`/Software/PostgreSQL-9/bin/* | grep ssl libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00cc4000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00214000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00e9b000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00110000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00110000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x0044f000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x0061b000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00110000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x004fb000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00b1a000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00284000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00135000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x004b6000) libssl.so.0.9.8 =3D> /lib/i686/cmov/libssl.so.0.9.8 (0x00603000) On Fri, Mar 19, 2010 at 1:33 PM, Kiswono Prayogo wrote: > Hi, i had the same problem building using latest cvs, it works fine on > 64-bit ubuntu, but on 32-bit ubuntu (virtualbox) when i started the > postgres it shows: > # idir=3D/home/`whoami`/Software/PostgreSQL-9 > # sudo su -p postgres -c "$idir/bin/postgres -D $idir/data" ; > LOG: SSL is not supported by this build > FATAL: invalid value for parameter "ssl": 1 > > * normally on my 64-bit, it shows: > LOG: =C2=A0database system was shut down at 2010-03-19 12:02:00 WIT > LOG: =C2=A0autovacuum launcher started > LOG: =C2=A0database system is ready to accept connections > ... query errors goes here ...^C > LOG: =C2=A0received fast shutdown request > LOG: =C2=A0aborting any active transactions > LOG: =C2=A0autovacuum launcher shutting down > LOG: =C2=A0shutting down > LOG: =C2=A0database system is shut down > > * my configuration (32-bit and 64-bit differ only on shared_buffers value= ) > # idir=3D/home/`whoami`/Software/PostgreSQL-9 > # sudo cat $idir/data/postgresql.conf | egrep -v "^\s*(#|$)" > listen_addresses =3D 'localhost' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# what= IP address(es) to listen on; > port =3D 5432 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # (change requires restart) > max_connections =3D 100 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 # (change requires restart) > unix_socket_directory =3D '/tmp' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# (cha= nge requires restart) > ssl =3D true =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# (change requires restart) > password_encryption =3D on > shared_buffers =3D 28MB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 # min 128kB > datestyle =3D 'iso, mdy' > lc_messages =3D 'en_US.UTF-8' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 # locale for system > error message > lc_monetary =3D 'en_US.UTF-8' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 # locale for monetary formatting > lc_numeric =3D 'en_US.UTF-8' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# locale for number formatting > lc_time =3D 'en_US.UTF-8' =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # locale for time formatting > default_text_search_config =3D 'pg_catalog.english' > > * my build configuration: > # idir=3D/home/`whoami`/Software/PostgreSQL-9 > # ./configure --with-pam --with-openssl --with-libxml --with-libxslt > --prefix=3D$idir && make && make install > > * installed libraries (dpkg -l | grep ssl): > libssl-dev =C2=A0 =C2=A0 0.9.8g-16ubuntu3.1 > openssl =C2=A0 =C2=A0 =C2=A0 0.9.8g-16ubuntu3.1 > libssl0.9.8 =C2=A0 =C2=A00.9.8g-16ubuntu3.1 > > * full script for download, compile and configuring > http://pastebin.com/vmzryH82 > > -- > Regards, > Kiswono P > GB > --=20 Regards, Kiswono P GB