Skip to content
Advertisement

gpinitsystem unknown host mdw

I am sure that there are no extra spaces before or after your hostname(S) in the host file, and using ssh mdw can connect to mdw. The /etc/hosts is like this:

JavaScript

The error log:

JavaScript

please.

Advertisement

Answer

How many hosts there are in your greenplum. Your /etc/hosts doesn’t contain any information about mdw and sdw.

Assume you have two hosts named mdw and sdw1 in your greenplum, both of the /etc/hosts files should be like this:

JavaScript

Replace the ip and host name with your own. Before try gpinitsystem again, you’d make sure you have performed gpssh-exkeys succesfully.

UPDATE:

I helped him with this issue using Skype. The answer is that his gpadmin account had no privilege to call ping utility, cause gpinitsystem calls ping to ensure any host in the DBMS exists.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement