X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0A5633A64AE for ; Sat, 11 Dec 2004 02:27:53 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 75527-01 for ; Sat, 11 Dec 2004 02:27:09 +0000 (GMT) Received: from web51507.mail.yahoo.com (web51507.mail.yahoo.com [206.190.38.199]) by svr1.postgresql.org (Postfix) with SMTP id 2D4B93A9BBA for ; Sat, 11 Dec 2004 01:08:26 +0000 (GMT) Received: (qmail 25741 invoked by uid 60001); 11 Dec 2004 01:08:26 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=6syU6CmM7asR5HRI92N0t6K6cj88706x8lYSP2n8rZ5mzqXbODFPmZK82NxQ2BHpCKJfCas6W08jLVKEQ5m0J/MnA1i1Glje2tN3llm3Y49GNslnL7qCeenr5BFKH/II6TPoGmDUC3SxD5DyfFEyXu+vEYteEQ3RinhVNTUZIXI= ; Message-ID: <20041211010826.25739.qmail@web51507.mail.yahoo.com> Received: from [137.30.122.184] by web51507.mail.yahoo.com via HTTP; Fri, 10 Dec 2004 17:08:26 PST Date: Fri, 10 Dec 2004 17:08:26 -0800 (PST) From: gayatri ganpaa Subject: Problem with JDBC Connection To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2131104121-1102727306=:25628" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.879 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, HTML_20_30, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200412/96 X-Sequence-Number: 15682 --0-2131104121-1102727306=:25628 Content-Type: text/plain; charset=us-ascii HI, I am working on a project, in which a part of it deals with creating a table on different nodes of a Beowulf cluster. Each of the nodes in the cluster is running a postmaster on different cluster. There is one master node in this cluster. I am trying to run the postmaster on the port 9010 on these different nodes, I changed the postgresql.conf file on all nodes so that it accepts tcp-ip connection and changed the port number, also added an ip entry in pg_hba.conf file. On the main node thats the master node, there is no problem it connects tot he database I want to. But on the other nodes, to login onto other nodes of a cluster I would do a 'rlogin nodename'. On these nodes too I changed both the files I had to change but it gives me a connection refused error. I do not understand what is this about, I checked many mailing lists where they say changing these files would make it work, but it doesn't. Heres my code snippet which actually connects to the database: Class.forName("org.postgresql.Driver"); String url = "jdbc:postgresql://plundar.cs.uno.edu:9020/gayathkash34"; conn = DriverManager.getConnection(url, "kashif", "password"); I do not underdtand Y isn't this working. Could you help me with this??? Thanks, gayatri. --------------------------------- Do you Yahoo!? Yahoo! Mail - You care about security. So do we. --0-2131104121-1102727306=:25628 Content-Type: text/html; charset=us-ascii
HI,
 
I am working on a project, in which a part of it deals with creating a table on different nodes of a Beowulf cluster.
 
Each of the nodes in the cluster is running a postmaster on different cluster. There is one master node in this cluster.
 
I am trying to run the postmaster on the port 9010 on these different nodes, I changed the postgresql.conf file on all nodes so that it accepts tcp-ip connection and changed the port number, also added an ip entry in pg_hba.conf file.
 
On the main node thats the master node, there is no problem it connects tot he database I want to.
 
But on the other nodes, to login onto other nodes of a cluster I would do a 'rlogin nodename'.
On these nodes too I changed both the files I had to change but it gives me a connection refused error. I do not understand what is this about, I checked many mailing lists where they say changing these files would make it work, but it doesn't.
 
Heres my code snippet which actually connects to the database:
 
Class.forName("org.postgresql.Driver");
String url = "jdbc:postgresql://plundar.cs.uno.edu:9020/gayathkash34";
conn = DriverManager.getConnection(url, "kashif", "password");
I do not underdtand Y isn't this working. Could you help me with this???
 
Thanks,
 
gayatri.
 


Do you Yahoo!?
Yahoo! Mail - You care about security. So do we. --0-2131104121-1102727306=:25628--