From dmishra@vt.edu Wed May 21 10:41:59 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 98A7C9250A3 for ; Wed, 21 May 2003 06:41:59 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 95656-01 for ; Wed, 21 May 2003 06:41:55 -0400 (EDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by developer.postgresql.org (Postfix) with ESMTP id 8AFF892509A for ; Wed, 21 May 2003 06:41:54 -0400 (EDT) Received: from zidane.cc.vt.edu (IDENT:mirapoint@zidane-lb.cc.vt.edu [10.1.1.13]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h4LAfsqW165959 for ; Wed, 21 May 2003 06:41:54 -0400 (EDT) Received: from simon (pse.cs.vt.edu [128.173.40.166]) by zidane.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.2-CR) with SMTP id BKV26545; Wed, 21 May 2003 06:41:50 -0400 (EDT) Message-ID: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu> Reply-To: "Dhananjay Mishra" From: "Dhananjay Mishra" To: Subject: TCP/IP connection Date: Wed, 21 May 2003 06:42:07 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B7_01C31F64.1912F7D0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/273 X-Sequence-Number: 8835 This is a multi-part message in MIME format. ------=_NextPart_000_00B7_01C31F64.1912F7D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to open the server for TCP/IP connection. My server is RedHat = 7.2(postgresql-7.1.3).My question is - Is it necessary to edit etc/rc.d/in= it.d/postgresql and appened -i and -o options in postgres start script lin= e.=20 I am trying to acheive this by changing the tcp-connaction flag in postgres= ql.conf file in data directory. But it does not seem to be working on this = platform. But I used to do the same on Solaris and it perfectly worked.=20 Please suggest/comment! Thanks and Best Regards, ---------------------------------------------------------------------------= -------- Dhananjay Mishra (dmishra@vt.edu) Graduate Student, Department Of Computer Science Virginia Tech ---------------------------------------------------------------------------= -------- "This one step -- choosing a goal and sticking to it -- changes everything.= "=20 -Scott Reed=20 ------=_NextPart_000_00B7_01C31F64.1912F7D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 I am trying to open the se= rver for=20 TCP/IP connection. My server is RedHat 7.2(postgresql-7.1.3).My question is= - Is=20 it necessary to edit =20 etc/rc.d/init.d/postgresql  and appened -i and -o options in postgres = start=20 script line.
 
I am=20 trying to acheive this by changing the tcp-connaction flag in postgresql.co= nf=20 file in data directory. But it does not seem to be working on this platform= . But=20 I used to do the same on Solaris and it perfectly worked.
 
Please suggest/comment!
 
Thanks and Best Regards,
------------------------------------------------------------------= -----------------
Dhananjay=20 Mishra (dmishra@vt.edu)
Graduate S= tudent,=20 Department Of Computer Science
Virginia=20 Tech
-------------------------------------------------------------------= ----------------
"This=20 one step -- choosing a goal and sticking to it -- changes everything."=20
-Scott Reed
------=_NextPart_000_00B7_01C31F64.1912F7D0-- From nickf@ontko.com Wed May 21 22:27:33 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 91628924DEB for ; Wed, 21 May 2003 18:27:33 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 02983-06 for ; Wed, 21 May 2003 18:26:48 -0400 (EDT) Received: from shire.ontko.com (unknown [199.164.165.1]) by developer.postgresql.org (Postfix) with ESMTP id 16B9C9257EA for ; Wed, 21 May 2003 15:17:31 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.12.3/8.12.3/Debian-6.4) with SMTP id h4LJFs7x015331; Wed, 21 May 2003 14:15:54 -0500 Reply-To: From: "Nick Fankhauser" To: "Dhananjay Mishra" , Subject: Re: TCP/IP connection Date: Wed, 21 May 2003 14:13:56 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu> Importance: Normal X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/278 X-Sequence-Number: 8840 A few thoughts: Setting tcpip_socket = 1 on postgresql.conf should do the job. Is there any chance that a link from the data directory is making your postamaster look in a different location for the file? For instance, in most debian installs, postgresql.conf lives in /etc/postgresql, with a link to it form the data dir. I'm unfamiliar with rehat, bu perhaps something similar is occuring. Also, are you sure it isn't working? perhaps there is an auth problem in pg_hba.conf that causes it to deny access or some network-related issue if you're connecting from another box. Have you tried connecting from the same box using psql -h ? -Nick -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Dhananjay Mishra Sent: Wednesday, May 21, 2003 5:42 AM To: pgsql-admin@postgresql.org Subject: [ADMIN] TCP/IP connection I am trying to open the server for TCP/IP connection. My server is RedHat 7.2(postgresql-7.1.3).My question is - Is it necessary to edit etc/rc.d/init.d/postgresql and appened -i and -o options in postgres start script line. I am trying to acheive this by changing the tcp-connaction flag in postgresql.conf file in data directory. But it does not seem to be working on this platform. But I used to do the same on Solaris and it perfectly worked. Please suggest/comment! Thanks and Best Regards, ---------------------------------------------------------------------------- ------- Dhananjay Mishra (dmishra@vt.edu) Graduate Student, Department Of Computer Science Virginia Tech ---------------------------------------------------------------------------- ------- "This one step -- choosing a goal and sticking to it -- changes everything." -Scott Reed From dmishra@vt.edu Wed May 21 22:38:22 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id D4388924EBE for ; Wed, 21 May 2003 18:38:22 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 05578-10 for ; Wed, 21 May 2003 18:37:37 -0400 (EDT) Received: from lennier.cc.vt.edu (unknown [198.82.162.213]) by developer.postgresql.org (Postfix) with ESMTP id 3BC5C925842 for ; Wed, 21 May 2003 16:15:42 -0400 (EDT) Received: from vivi.cc.vt.edu (IDENT:mirapoint@vivi-lb.cc.vt.edu [10.1.1.12]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h4LKEJqY313466; Wed, 21 May 2003 16:14:19 -0400 (EDT) Received: from zathras (zathras.cc.vt.edu [198.82.162.117]) by vivi.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.2-CR) with ESMTP id BEI22924; Wed, 21 May 2003 16:14:18 -0400 (EDT) X-WebMail-UserID: dmishra Date: Wed, 21 May 2003 16:14:18 -0400 From: Dhananjay Mishra To: bhuvan@symonds.net, nickf@ontko.com, pgsql-admin X-EXP32-SerialNo: 00002964 Subject: Re: TCP/IP connection Message-ID: <3EDD7938@zathras> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.61.08 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/279 X-Sequence-Number: 8841 Thanks for the response. I have all the client IPs added in hba.conf. Also postgresql.conf and hba.conf both reside inside pgdata(data) directory. which is used with -D option as data directory while starting the postmaster. So I do not think it's a problem with authentication. As its giving error " Is the postmaster running with -i option and accepting TCP/IP connection at port 5432? " And ofcourse I am restarting the postmaster after each of the changes tried. Moreover please note that, I have tried setting tcpip_socket= true in postgresl.conf on Solaris and it works just fine. I am having problem with RedHat only. comments /suggestions invited. Thanks Dhananjay >===== Original Message From nickf@ontko.com ===== >A few thoughts: > >Setting tcpip_socket = 1 on postgresql.conf should do the job. > >Is there any chance that a link from the data directory is making your >postamaster look in a different location for the file? For instance, in most >debian installs, postgresql.conf lives in /etc/postgresql, with a link to it >form the data dir. I'm unfamiliar with rehat, bu perhaps something similar >is occuring. > >Also, are you sure it isn't working? perhaps there is an auth problem in >pg_hba.conf that causes it to deny access or some network-related issue if >you're connecting from another box. > >Have you tried connecting from the same box using psql -h ? > >-Nick > > > >-----Original Message----- >From: pgsql-admin-owner@postgresql.org >[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Dhananjay Mishra >Sent: Wednesday, May 21, 2003 5:42 AM >To: pgsql-admin@postgresql.org >Subject: [ADMIN] TCP/IP connection > > > I am trying to open the server for TCP/IP connection. My server is RedHat >7.2(postgresql-7.1.3).My question is - Is it necessary to edit >etc/rc.d/init.d/postgresql and appened -i and -o options in postgres start >script line. > >I am trying to acheive this by changing the tcp-connaction flag in >postgresql.conf file in data directory. But it does not seem to be working >on this platform. But I used to do the same on Solaris and it perfectly >worked. > >Please suggest/comment! > >Thanks and Best Regards, >---------------------------------------------------------------------------- >------- >Dhananjay Mishra (dmishra@vt.edu) >Graduate Student, Department Of Computer Science >Virginia Tech >---------------------------------------------------------------------------- >------- >"This one step -- choosing a goal and sticking to it -- changes everything." >-Scott Reed From xzilla@users.sourceforge.net Wed May 21 22:50:46 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 5268F9250CA for ; Wed, 21 May 2003 18:50:46 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 09633-04 for ; Wed, 21 May 2003 18:50:00 -0400 (EDT) Received: from localhost.localdomain (unknown [65.217.53.66]) by developer.postgresql.org (Postfix) with ESMTP id 456E192585E for ; Wed, 21 May 2003 17:01:56 -0400 (EDT) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h4LLmxM3031653; Wed, 21 May 2003 17:48:59 -0400 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h4LL0ZL29681; Wed, 21 May 2003 17:00:35 -0400 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 2YCPZ5SN; Wed, 21 May 2003 17:00:33 -0400 Subject: Re: TCP/IP connection From: Robert Treat To: Dhananjay Mishra Cc: pgsql-admin@postgresql.org In-Reply-To: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu> References: <00ba01c31f85$a24b4860$a628ad80@cs.vt.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 21 May 2003 17:00:34 -0400 Message-Id: <1053550834.2203.310.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/281 X-Sequence-Number: 8843 On Wed, 2003-05-21 at 06:42, Dhananjay Mishra wrote: > I am trying to open the server for TCP/IP connection. My server is > RedHat 7.2(postgresql-7.1.3).My question is - Is it necessary to edit > etc/rc.d/init.d/postgresql and appened -i and -o options in postgres > start script line. > > I am trying to acheive this by changing the tcp-connaction flag in > postgresql.conf file in data directory. But it does not seem to be > working on this platform. But I used to do the same on Solaris and it > perfectly worked. > That should work ok, but make sure you restart your postmaster after making the change. Robert Treat From tgl@sss.pgh.pa.us Thu May 22 04:45:09 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id 0317F925337 for ; Thu, 22 May 2003 00:45:09 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 32425-10 for ; Thu, 22 May 2003 00:44:23 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by developer.postgresql.org (Postfix) with ESMTP id 88A89925A18 for ; Wed, 21 May 2003 22:22:35 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h4M2MZU6013545; Wed, 21 May 2003 22:22:35 -0400 (EDT) To: Dhananjay Mishra Cc: bhuvan@symonds.net, nickf@ontko.com, pgsql-admin Subject: Re: TCP/IP connection In-reply-to: <3EDD7938@zathras> References: <3EDD7938@zathras> Comments: In-reply-to Dhananjay Mishra message dated "Wed, 21 May 2003 16:14:18 -0400" Date: Wed, 21 May 2003 22:22:35 -0400 Message-ID: <13544.1053570155@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/283 X-Sequence-Number: 8845 Dhananjay Mishra writes: >> I am trying to open the server for TCP/IP connection. My server is RedHat >> 7.2(postgresql-7.1. Recent versions of Red Hat (I think as far back as 7.2) have fairly draconian packet filtering installed by default. Are you getting a "connection refused" error, rather than a Postgres-ish "no pg_hba entry" error? If the former, your problem is probably that the kernel is configured not to allow any traffic to port 5432. You'll need to poke a hole in the filtering rules. regards, tom lane From dmishra@vt.edu Thu May 22 04:54:40 2003 X-Original-To: pgsql-admin@postgresql.org Received: from localhost (unknown [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id C6704925424 for ; Thu, 22 May 2003 00:54:40 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 34210-08 for ; Thu, 22 May 2003 00:53:55 -0400 (EDT) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by developer.postgresql.org (Postfix) with ESMTP id 7934392544D for ; Wed, 21 May 2003 22:28:18 -0400 (EDT) Received: from dagger.cc.vt.edu (IDENT:mirapoint@dagger-lb.cc.vt.edu [10.1.1.11]) by lennier.cc.vt.edu (8.12.8/8.12.8) with ESMTP id h4M2SIqW390921; Wed, 21 May 2003 22:28:18 -0400 (EDT) Received: from simon (pse.cs.vt.edu [128.173.40.166]) by dagger.cc.vt.edu (Mirapoint Messaging Server MOS 3.3.2-CR) with SMTP id BLK07435; Wed, 21 May 2003 22:28:14 -0400 (EDT) Message-ID: <001801c32009$d861d2f0$a628ad80@cs.vt.edu> Reply-To: "Dhananjay Mishra" From: "Dhananjay Mishra" To: "Tom Lane" Cc: , , "pgsql-admin" References: <3EDD7938@zathras> <13544.1053570155@sss.pgh.pa.us> Subject: Re: TCP/IP connection Date: Wed, 21 May 2003 22:28:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/284 X-Sequence-Number: 8846 I am able to track down the problem now. But still I need some help. The host machine has a firewall and it accepts only ssh (not rsh) connections. I was wondering if I could use ssh tunneling somehow. I tried tunneling ; but still it waits for server to respond. Please help ! Thanks and best regards, Dhananjay > Dhananjay Mishra writes: > >> I am trying to open the server for TCP/IP connection. My server is RedHat > >> 7.2(postgresql-7.1. > > Recent versions of Red Hat (I think as far back as 7.2) have fairly > draconian packet filtering installed by default. Are you getting a > "connection refused" error, rather than a Postgres-ish "no pg_hba entry" > error? If the former, your problem is probably that the kernel is > configured not to allow any traffic to port 5432. You'll need to poke > a hole in the filtering rules. > > regards, tom lane From ashok@kalculate.com Fri Dec 5 12:45:33 2003 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 022D8D1B457 for ; Fri, 5 Dec 2003 12:45:33 +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 43597-07 for ; Fri, 5 Dec 2003 08:45:04 -0400 (AST) Received: from chi.greatindianproducts.com (unknown [61.16.132.195]) by svr1.postgresql.org (Postfix) with ESMTP id 0FC67D1B459 for ; Fri, 5 Dec 2003 08:39:28 -0400 (AST) Received: from chi.greatindianproducts.com (chi.greatindianproducts.com [127.0.0.1]) by chi.greatindianproducts.com (8.12.5/8.12.5) with ESMTP id hB5Cm5UU015397 for ; Fri, 5 Dec 2003 18:18:05 +0530 Received: (from ashok@localhost) by chi.greatindianproducts.com (8.12.5/8.12.5/Submit) id hB5BquoR006487; Fri, 5 Dec 2003 17:22:56 +0530 X-Authentication-Warning: chi.greatindianproducts.com: ashok set sender to ashok@kalculate.com using -f Subject: TCP/IP connection From: Ashok Chauhan To: pgsql-admin@postgresql.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 05 Dec 2003 17:22:55 +0530 Message-Id: <1070625176.1364.10.camel@chi> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/52 X-Sequence-Number: 11560 hi i want to accsess my postgresql data base from network it is only possible when i start postgresql by following command:- postmaster -i -D /var/lib/pgsql/data after rebooting the system it does not listen for TCP/IP connection. how can i configure it for listening TCP/IP connection after rebooting. plz help me. From devrim@gunduz.org Fri Dec 5 12:53:36 2003 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 2ADDBD1B460 for ; Fri, 5 Dec 2003 12:53:36 +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 46319-05 for ; Fri, 5 Dec 2003 08:53:11 -0400 (AST) Received: from emo.org.tr (emo.org.tr [195.142.105.9]) by svr1.postgresql.org (Postfix) with ESMTP id D594CD1B4A8 for ; Fri, 5 Dec 2003 08:53:07 -0400 (AST) Received: by emo.org.tr (Postfix, from userid 41643) id 18BEBEE83A; Fri, 5 Dec 2003 14:53:07 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by emo.org.tr (Postfix) with ESMTP id 08214EE822; Fri, 5 Dec 2003 14:53:07 +0200 (EET) Date: Fri, 5 Dec 2003 14:53:05 +0200 (EET) From: Devrim GUNDUZ X-X-Sender: devrim2@emo.org.tr To: Ashok Chauhan Cc: pgsql-admin@postgresql.org Subject: Re: TCP/IP connection In-Reply-To: <1070625176.1364.10.camel@chi> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/53 X-Sequence-Number: 11561 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On 5 Dec 2003, Ashok Chauhan wrote: > i want to accsess my postgresql data base from network it is only > possible when i start postgresql by following command:- > postmaster -i -D /var/lib/pgsql/data > after rebooting the system it does not listen for TCP/IP connection. > how can i configure it for listening TCP/IP connection after rebooting. edit /var/lib/pgsql/data/postgresql.conf . Uncomment tcpip_socket option and set it to true. tcpip_socket = true Then PostgreSQL will listen to 5432, its default port. If you need to change it, edit port option. You need to restart PostgreSQL for the changes to take effect when you edit the conf file. Regards, - -- Devrim GUNDUZ devrim@gunduz.org devrim.gunduz@linux.org.tr http://www.TDMSoft.com http://www.gunduz.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/0H+ytl86P3SPfQ4RAk4jAKDJnSM1LpyRDrsr7sYAl5wEPhKXHgCeI17v W0nWFKNJcHk8g1eK8cCByJ4= =xYyw -----END PGP SIGNATURE----- From postgresql@finner.de Fri Dec 5 12:55:27 2003 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 2E8C1D1B496; Fri, 5 Dec 2003 12:55:27 +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 43338-10; Fri, 5 Dec 2003 08:54:59 -0400 (AST) Received: from mail.ezi.de (unknown [194.115.2.181]) by svr1.postgresql.org (Postfix) with ESMTP id 0D2EAD1B4A3; Fri, 5 Dec 2003 08:54:55 -0400 (AST) Received: from notes1.ezi.de (unknown [192.168.150.15]) by mail.ezi.de (Primary Mailpath Linux) with ESMTP id 2188B2A044; Fri, 5 Dec 2003 13:50:42 +0100 (CET) Received: from dv-08.intern.ezi.de ([192.168.150.109]) by notes1.ezi.de (Lotus Domino Release 5.0.6a) with ESMTP id 2003120513543274:11794 ; Fri, 5 Dec 2003 13:54:32 +0100 Received: by dv-08.intern.ezi.de (Frank sein lokaler Mehlserbe #Postfix on SuSE Linux 8.0 (i386), from userid 578) id B82763BC277; Fri, 5 Dec 2003 13:54:55 +0100 (CET) Date: Fri, 5 Dec 2003 13:54:55 +0100 From: Frank Finner To: pgsql-admin-owner@postgresql.org Cc: pgsql-admin@postgresql.org Subject: Re: TCP/IP connection Message-Id: <20031205135455.32d1e575.postgresql@finner.de> In-Reply-To: <1070625176.1364.10.camel@chi> References: <1070625176.1364.10.camel@chi> Organization: EZI GmbH X-Mailer: Sylpheed version 0.8.10claws72 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Prod1/SRV/Haiger/EZI/DE(Release 5.0.6a |January 17, 2001) at 05.12.2003 13:54:32, Serialize by Router on Prod1/SRV/Haiger/EZI/DE(Release 5.0.6a |January 17, 2001) at 05.12.2003 13:54:34, Serialize complete at 05.12.2003 13:54:34 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/54 X-Sequence-Number: 11562 On Fri, 5 Dec 2003 17:22:55 +0530 pgsql-admin-owner@postgresql.org wrote: > hi > > i want to accsess my postgresql data base from network it is only > possible when i start postgresql by following command:- > postmaster -i -D /var/lib/pgsql/data > after rebooting the system it does not listen for TCP/IP connection. > how can i configure it for listening TCP/IP connection after > rebooting. plz help me. > In postgresql.conf, set tcpip_socket = true. Regards, Frank