· 6 years ago · Jan 20, 2020, 06:02 PM
1[gpadmin@gp-master ~]$ ./gpdb download -v 6.1.0 --github --install
2INFO[2020-01-20 17:53:38] Starting the program to download the product
3INFO[2020-01-20 17:53:38] Requesting data from open source API
4INFO[2020-01-20 17:53:38] Found the GPDB version "6.1.0" on PivNet, continuing..
5INFO[2020-01-20 17:53:38] Starting downloading of file: greenplum-db-6.1.0-rhel7-x86_64.rpm
6WARN[2020-01-20 17:53:38] RPM File src/gpdbinstall/download/greenplum-db-6.1.0-rhel7-x86_64.rpm found, skipping download...
7WARN[2020-01-20 17:53:38] To force re-download of the file, use -a flag
8INFO[2020-01-20 17:53:38] Downloaded file available at: src/gpdbinstall/download/greenplum-db-6.1.0-rhel7-x86_64.rpm
9INFO[2020-01-20 17:53:38] Installation the gpdb version 6.1.0, that was just downloaded
10INFO[2020-01-20 17:53:38] Running the installation for the product: gpdb
11INFO[2020-01-20 17:53:38] Found host file at location: /home/gpadmin/hostfile
12INFO[2020-01-20 17:53:38] Starting the program to install GPDB version: 6.1.0
13INFO[2020-01-20 17:53:38] Running precheck before installing the gpdb version: 6.1.0
14INFO[2020-01-20 17:53:38] Running Installation of gpdb version: 6.1.0
15INFO[2020-01-20 17:53:38] Found a rpm binary for the version 6.1.0: src/gpdbinstall/download/greenplum-db-6.1.0-rhel7-x86_64.rpm
16INFO[2020-01-20 17:53:38] Using the rpm file to install the GPDB Product: src/gpdbinstall/download/greenplum-db-6.1.0-rhel7-x86_64.rpm, this might take several minutes....
17Error: Nothing to do
18INFO[2020-01-20 17:53:39] Setting up & Checking if the host is reachable
19INFO[2020-01-20 17:53:39] Running gpssh-exkeys to enable keyless access on this server
20/home/gpadmin/.ssh/id_rsa already exists.
21Overwrite (y/n)? INFO[2020-01-20 17:53:39] Setting up the ssh Copy ID for all the host(s)
22[STEP 1 of 5] create local ID and authorize on local host
23 ... /home/gpadmin/.ssh/id_rsa file exists ... key generation skipped
24
25[STEP 2 of 5] keyscan all hosts and update known_hosts file
26
27[STEP 3 of 5] retrieving credentials from remote hosts
28 ... send to gp-reserve-master
29 ... send to gp-slave-1
30 ... send to gp-slave-2
31 ... send to gp-slave-3
32
33[STEP 4 of 5] determine common authentication file content
34
35[STEP 5 of 5] copy authentication files to all remote hosts
36 ... finished key exchange with gp-reserve-master
37 ... finished key exchange with gp-slave-1
38 ... finished key exchange with gp-slave-2
39 ... finished key exchange with gp-slave-3
40
41[INFO] completed successfully
42INFO[2020-01-20 17:53:45] Building and executing the gpinitsystem...
43INFO[2020-01-20 17:53:45] Searching & Generating the port to be used for database installation
44INFO[2020-01-20 17:53:45] Obtaining ports to be set for PRIMARY_PORT
45WARN[2020-01-20 17:53:45] Didn't find PRIMARY_PORT in the file, setting it to default value: 30000
46INFO[2020-01-20 17:53:45] Obtaining ports to be set for MASTER_PORT
47WARN[2020-01-20 17:53:45] Didn't find MASTER_PORT in the file, setting it to default value: 3000
48INFO[2020-01-20 17:53:45] Creating the gpinitsystem config file at: src/gpdbinstall/temp/gpinitsystemconfig_6.1.0_20200120175345
49INFO[2020-01-20 17:53:45] Finalizing the gpinitsystem for the single mode database installation
50INFO[2020-01-20 17:53:45] Stopping all the database running on this host, to free up semaphore for this installation
51INFO[2020-01-20 17:53:45] Cleaning up gpcc process is found any
52INFO[2020-01-20 17:53:45] All Postgres process are stopped on this server
53INFO[2020-01-20 17:53:45] Executing the gpinitsystem to initialize the database
5420200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Checking configuration parameters, please wait...
5520200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Reading Greenplum configuration file src/gpdbinstall/temp/gpinitsystemconfig_6.1.0_20200120175345
5620200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Locale has not been set in src/gpdbinstall/temp/gpinitsystemconfig_6.1.0_20200120175345, will set to default value
5720200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Locale set to en_US.utf8
5820200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[WARN]:-CHECK_POINT_SEGMENTS variable not set, will set to default value
5920200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[WARN]:-ENCODING variable not set, will set to default UTF-8
6020200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-MASTER_MAX_CONNECT not set, will set to default value 250
6120200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[WARN]:-Master open file limit is 1024 should be >= 65535
6220200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Checking configuration parameters, Completed
6320200120:17:53:45:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Commencing multi-home checks, please wait...
64....
6520200120:17:53:47:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Configuring build for standard array
6620200120:17:53:47:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Commencing multi-home checks, Completed
6720200120:17:53:47:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Building primary segment instance array, please wait...
68........
6920200120:17:53:53:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Checking Master host
7020200120:17:53:53:022543 gpinitsystem:gp-master:gpadmin-[INFO]:-Checking new segment hosts, please wait...
7120200120:17:53:54:022543 gpinitsystem:gp-master:gpadmin-[WARN]:-Host gp-master open files limit is 1024 should be >= 65535
7220200120:17:53:56:022543 gpinitsystem:gp-master:gpadmin-[WARN]:-Host gp-master open files limit is 1024 should be >= 65535
7320200120:17:53:57:022543 gpinitsystem:gp-master:gpadmin-[FATAL]:-No /usr/local/greenplum-db-6.1.0/lib on segment instance gp-slave-1 Script Exiting!
74FATA[2020-01-20 17:53:57] Failed while waiting for the command /usr/local/greenplum-db-6.1.0/bin/gpinitsystem err: exit status 2