<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic " gs-createdb.sh problem "]]></title>
		<link>http://forums.enterprisedb.com/posts/list/8.page</link>
		<description><![CDATA[Latest messages posted in the topic " gs-createdb.sh problem "]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title> gs-createdb.sh problem </title>
				<description><![CDATA[ hi<br /> ive configured my gridSql according to its documentations. i have two nodes , node one(IP = 192.168.1.3) and node two(192.168.1.2) , according to the documentation i checked following command from nodes one postgresql :<br /> createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres xxxx <br /> and it worked successfully , so my connection and other things are ok, but while running this command from gridSql <br /> gs-createdb.sh -d xxxx -u postgres -p mypass -n 1,2 <br /> i got exception . it created xxxx db in my localhost db but when it wants to create db in node two (192.168.1.2) it fails due to :<br /> ERROR: Failed to execute command "createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres hahaN2": exit code was 1<br /> <br /> and in my console.log i got : <br /> <br /> [code]2010-11-30 19:37:09,334 - ERROR Catching throwable: <br /> java.io.IOException: Failed to execute command "createdb -h 192.168.1.2 -p 5433 -U postgres -O postgres xxxx": exit code was 1<br /> 	at com.edb.gridsql.util.DbGateway.executeList(Unknown Source)<br /> 	at com.edb.gridsql.util.DbGateway.executeTemplateOnNodes(Unknown Source)<br /> 	at com.edb.gridsql.util.DbGateway.createDbOnNodes(Unknown Source)<br /> 	at com.edb.gridsql.parser.SqlCreateDatabase.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.ExecutableRequest.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.XDBSessionContext.executeRequest(Unknown Source)<br /> 	at com.edb.gridsql.engine.ServerStatement.execute(Unknown Source)<br /> 	at com.edb.gridsql.engine.ServerStatement.describe(Unknown Source)<br /> 	at com.edb.gridsql.engine.XDBSessionContext.describeStatement(Unknown Source)<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.run(Unknown Source)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:90<img src="http://forums.enterprisedb.com//images/smilies/b2eb59423fbf5fa39342041237025880.gif"  /><br /> 	at java.lang.Thread.run(Thread.java:619)<br /> 2010-11-30 19:37:09,366 - ERROR Catching throwable: <br /> java.io.IOException: Connection is broken<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.readRequest(Unknown Source)<br /> 	at com.edb.gridsql.protocol.PgProtocolSession.run(Unknown Source)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br /> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:90<img src="http://forums.enterprisedb.com//images/smilies/b2eb59423fbf5fa39342041237025880.gif"  /><br /> 	at java.lang.Thread.run(Thread.java:619)<br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9454.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9454.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 11:37:24]]> GMT</pubDate>
				<author><![CDATA[ amir_hoshangi]]></author>
			</item>
			<item>
				<title>Re: gs-createdb.sh problem </title>
				<description><![CDATA[ please make sure the user who runs gs-server can create backend databases<br /> please make sure environment is correct when you launching gs-server, in particular createdb is on the PATH]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9455.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9455.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 12:55:41]]> GMT</pubDate>
				<author><![CDATA[ Andrei_M]]></author>
			</item>
			<item>
				<title>Re: gs-createdb.sh problem </title>
				<description><![CDATA[ as i said it can make db in local db , the problem is when it wants to create db on a node on a lan. and im confused because i can create db on that node (192.168.2 on lan) with postgresql <br /> createdb command !! gs-createdb uses that command , so how its not possible to do ... !<br /> ]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9456.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9456.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 13:55:54]]> GMT</pubDate>
				<author><![CDATA[ amir_hoshangi]]></author>
			</item>
			<item>
				<title>Re: gs-createdb.sh problem </title>
				<description><![CDATA[ thats greate  <img src="http://forums.enterprisedb.com//images/smilies/283a16da79f3aa23fe1025c96295f04f.gif" />  . i found the reason and maybe its good to sharing it .<br /> thats because gridSql uses .pgpass file in my home for connecting to other nodes.<br /> i added this line :<br /> 192.168.1.2:5433:*:postgres:mypass<br /> any way im still consfused about the exception that i got , it could have better logging or better hint to what i did wrong !]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9457.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9457.page</link>
				<pubDate><![CDATA[Tue, 30 Nov 2010 14:09:59]]> GMT</pubDate>
				<author><![CDATA[ amir_hoshangi]]></author>
			</item>
			<item>
				<title>Re: gs-createdb.sh problem </title>
				<description><![CDATA[ probably you had to enter password when ran it from the command line<br /> GridSQL can not enter passwords]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/9459.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/9459.page</link>
				<pubDate><![CDATA[Wed, 1 Dec 2010 01:57:58]]> GMT</pubDate>
				<author><![CDATA[ Andrei_M]]></author>
			</item>
			<item>
				<title>Re: gs-createdb.sh problem </title>
				<description><![CDATA[ Hi,<br /> <br /> <br /> I want to create 4 nodes in co-ordinator & 4 nodes in agent server.<br /> <br /> After given the gs-createdb.sh, i am able to create co-ordinator nodes and facing problem while creating agent nodes as shown below.<br /> <br /> i have entered credentials belonging to agent server in .pgpass, but again i got the same error..<br /> <br /> and please tell me whether i need to create XDBSYS in agent server (gs-createmddb.sh)<br /> <br /> Pls help me out.............<br /> <br /> <br /> [postgres@DBServer1 bin]$ ./gs-createdb.sh -d test -u xxxxx -p xxxxx -n 1 2 3 4 5 6 7 8<br /> ERROR: Failed to execute command "createdb -h 192.168.0.45 -p 5432 -U pgdba -O pgdba testN5": exit code was 1<br /> Parameters:  &lt;connect&gt; -d &lt;database&gt; [-o &lt;owner&gt;] -n &lt;nodelist&gt; [-m]<br />         where &lt;connect&gt; is -j jdbc:edb://&lt;host&gt;:&lt;port&gt;/xdbadmin?user=&lt;username&gt;&password=&lt;password&gt;<br />         or [-h &lt;host&gt;] [-s &lt;port&gt;] -u &lt;user&gt; [-p &lt;password&gt;]<br />         -h &lt;host&gt; : Host name or IP address where XDBServer is running. Default is localhost<br />         -s &lt;port&gt; : XDBServer's port. Default is 6453<br />         -u &lt;user&gt;, -p &lt;password&gt; : Login to the database<br />         -d &lt;database&gt; : Name of database to create.<br />         -o &lt;owner&gt; : Name of database owner.<br />         -n &lt;nodelist&gt; : Comma or space separated list of numbers of nodes where the database will be created. Nodes must be up and running.<br />         -m : Manual mode. Do not create node databases. Databases must exist if -m is specified.<br /> <br /> Thanks & regards,<br /> Srinivas Davuluri]]></description>
				<guid isPermaLink="true">http://forums.enterprisedb.com/posts/preList/2513/11696.page</guid>
				<link>http://forums.enterprisedb.com/posts/preList/2513/11696.page</link>
				<pubDate><![CDATA[Tue, 20 Mar 2012 06:55:42]]> GMT</pubDate>
				<author><![CDATA[ vas3255]]></author>
			</item>
	</channel>
</rss>