[Postgres-xl-general] Installation Problem

Pavan Deolasee pavan.deolasee at gmail.com
Fri Dec 2 05:37:51 PST 2016


Hi,

pgxc_ctl requires "bash" shell for correct working. Can you check your
default shell, especially for ssh?

Thanks,
Pavan

On Thu, Dec 1, 2016 at 10:21 PM, Faysal Ali <unix.co at gmail.com> wrote:

> Hello I am trying to setup postgres-xl cluster on my 4 nodes
>
> pg1 = gtm
> pg2 = cord1 and data1
> pg2 = cord2 and data2
> pg2 = cord2 and data3
>
> but i am getting error on this
>
> pgxc_ctl init all
>
> Current directory: /home/postgres/pgxc_ctl
> Initialize GTM master
> ERROR: could not open file (null)/STDIN_16045_0 for write, No such file or
> directory
> Done.
> Start GTM master
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at pg1 touch (null)/pg1_STDOUT_16045_2) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_1) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at pg1:(null)/pg1_STDOUT_16045_2
> (null)/STDOUT_16045_1; ssh postgres at pg1 rm -rf (null)/pg1_STDOUT_16045_2)
> < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_1" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_1) < /dev/null > /dev/null'
> ssh: connect to host pg1 port 22: Connection refused
> Initialize all the coordinator masters.
> Initialize coordinator master cord1.
> ERROR: could not open file (null)/STDIN_16045_3 for write, No such file or
> directory
> Initialize coordinator master cord2.
> ERROR: could not open file (null)/STDIN_16045_4 for write, No such file or
> directory
> Initialize coordinator master cord3.
> ERROR: could not open file (null)/STDIN_16045_5 for write, No such file or
> directory
> Done.
> Starting coordinator master.
> Starting coordinator master cord1
> Starting coordinator master cord2
> Starting coordinator master cord3
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at cord4 touch (null)/pg1_STDOUT_16045_9) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_8) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at cord4:(null)/pg1_STDOUT_16045_9
> (null)/STDOUT_16045_8; ssh postgres at cord4 rm -rf
> (null)/pg1_STDOUT_16045_9) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at cord3 touch (null)/pg1_STDOUT_16045_11) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_10) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at cord3:(null)/pg1_STDOUT_16045_11
> (null)/STDOUT_16045_10; ssh postgres at cord3 rm -rf
> (null)/pg1_STDOUT_16045_11) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at cord1 touch (null)/pg1_STDOUT_16045_7) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_6) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at cord1:(null)/pg1_STDOUT_16045_7
> (null)/STDOUT_16045_6; ssh postgres at cord1 rm -rf
> (null)/pg1_STDOUT_16045_7) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_6" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_6) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_8" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_8) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_10" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_10) < /dev/null > /dev/null'
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rm -f (null)/pg1_STDOUT_16045_7 > /dev/null 2>&1'
> ssh: connect to host cord4 port 22: Connection refused
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rm -f (null)/pg1_STDOUT_16045_11 > /dev/null 2>&1'
> Done.
> Initialize all the datanode masters.
> Initialize the datanode master data1.
> ERROR: could not open file (null)/STDIN_16045_12 for write, No such file
> or directory
> Initialize the datanode master data2.
> ERROR: could not open file (null)/STDIN_16045_13 for write, No such file
> or directory
> Initialize the datanode master data3.
> ERROR: could not open file (null)/STDIN_16045_14 for write, No such file
> or directory
> Done.
> Starting all the datanode masters.
> Starting datanode master data1.
> Starting datanode master data2.
> Starting datanode master data3.
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at daa2 touch (null)/pg1_STDOUT_16045_18) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_17) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at daa2:(null)/pg1_STDOUT_16045_18
> (null)/STDOUT_16045_17; ssh postgres at daa2 rm -rf
> (null)/pg1_STDOUT_16045_18) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at data3 touch (null)/pg1_STDOUT_16045_20) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_19) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at data3:(null)/pg1_STDOUT_16045_20
> (null)/STDOUT_16045_19; ssh postgres at data3 rm -rf
> (null)/pg1_STDOUT_16045_20) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(ssh postgres at data1 touch (null)/pg1_STDOUT_16045_16) <
> /dev/null > /dev/null 2>&1'
> sh: -c: line 0: syntax error near unexpected token `null'
> sh: -c: line 0: `(touch (null)/STDOUT_16045_15) < /dev/null > /dev/null'
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(scp postgres at data1:(null)/pg1_STDOUT_16045_16
> (null)/STDOUT_16045_15; ssh postgres at data1 rm -rf
> (null)/pg1_STDOUT_16045_16) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_15" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_15) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_17" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_17) < /dev/null > /dev/null'
> ERROR: Cannot open "(null)/STDOUT_16045_19" for read, No such file or
> directory
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `(rm -f (null)/STDOUT_16045_19) < /dev/null > /dev/null'
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rm -f (null)/pg1_STDOUT_16045_16 > /dev/null 2>&1'
> ssh: connect to host daa2 port 22: Connection refused
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rm -f (null)/pg1_STDOUT_16045_20 > /dev/null 2>&1'
> Done.
> ERROR: could not open file (null)/STDIN_16045_21 for write, No such file
> or directory
> ERROR: could not open file (null)/STDIN_16045_22 for write, No such file
> or directory
> ERROR: could not open file (null)/STDIN_16045_23 for write, No such file
> or directory
> Done.
> ERROR: failed to find any running coordinatorERROR: failed to find any
> running coordinatorERROR: failed to find any running coordinatorDone.
>
>
> Would you please help regarding this issue
>
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Postgres-xl-general mailing list
> Postgres-xl-general at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/postgres-xl-general
>
>


-- 
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/pipermail/postgres-xl-general-postgres-xl.org/attachments/20161202/b269bd91/attachment.htm>


More information about the postgres-xl-general mailing list