[Postgres-xl-general] Failed to start the pgxc_ctl command.
Eason Yi
11719668 at qq.com
Wed Dec 10 05:54:16 PST 2014
Thanks Mason.
I've tried it but still failed.
Is there any easy demo for XL cluster illustration? I want it so much.
postgres at debian-zine:~/pgxc_ctl$ pgxc_ctl prepare
Installing pgxc_ctl_bash script as /home/postgres/pgxc_ctl/pgxc_ctl_bash.
ERROR: File "/home/postgres/pgxc_ctl/pgxc_ctl.conf" not found or not a regular file. No such file or directory
Installing pgxc_ctl_bash script as /home/postgres/pgxc_ctl/pgxc_ctl_bash.
Reading configuration using /home/postgres/pgxc_ctl/pgxc_ctl_bash --home /home/postgres/pgxc_ctl --configuration /home/postgres/pgxc_ctl/pgxc_ctl.conf
Finished to read configuration.
ERROR: gtmName is not configured.
ERROR: gtmMasterServer is not configured.
ERROR: gtmMasterPort is not configured.
ERROR: gtmMasterDir is not configured.
ERROR: Found fundamental configuration error.
ERROR: Conflict in names between coordNames and datanodeNames variable.
ERROR: Conflict in directory names in coordNames and datanodeNames variable.
ERROR: Found conflicts among resources. Exiting.
postgres at debian-zine:~/pgxc_ctl$ ls -al
总用量 12
drwxr-xr-x 3 postgres postgres 4096 12月 10 21:46 .
drwxr-xr-x 22 postgres postgres 4096 12月 10 21:44 ..
drwxr-xr-x 2 postgres postgres 4096 12月 10 21:46 pgxc_log
postgres at debian-zine:~/pgxc_ctl$
------------------
Regards,
Eason
------------------ Original ------------------
From: "Mason Sharp";<msharp at translattice.com>;
Date: Wed, Dec 10, 2014 07:40 PM
To: "Eason Yi"<11719668 at qq.com>;
Cc: "postgres-xl-general"<postgres-xl-general at lists.sourceforge.net>;
Subject: Re: [Postgres-xl-general] Failed to start the pgxc_ctl command.
On Wed, Dec 10, 2014 at 4:31 AM, Eason Yi <11719668 at qq.com> wrote:
Hi everybody,
I failed to start the pgxc_ctl command as below, and what should I do to solve it?
Thanks.
postgres at debian-zine:~$ pgxc_ctl
Installing pgxc_ctl_bash script as /usr/local/pgsql/pgxc_ctl/pgxc_ctl_bash.
ERROR: File "/usr/local/pgsql/pgxc_ctl/pgxc_ctl.conf" not found or not a regular file. No such file or directory
It looks like it is looking for the file there. Normally it checks ~/pgxc_ctl.
Try mkdir ~/pgxc_ctl
cd ~/pgxc_ctl
pgxc_ctl prepare
and then edit the file.
Regards,
Mason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/pipermail/postgres-xl-general-postgres-xl.org/attachments/20141210/fd45b4ea/attachment.htm>
More information about the postgres-xl-general
mailing list