Cannot access GPCC WebGUI
search cancel

Cannot access GPCC WebGUI

book

Article ID: 296449

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

After starting GPCC, the GUI is not accessible.

The "gpcc start" command reports no errors:

Starting the gpcc agents and webserver…
2020/05/22 10:43:23 Agent successfully started on 5/5 hosts
2020/05/22 10:43:23 View Greenplum Command Center at http://mdw:28080

 
The gpccws.log file shows:

2020/05/19 16:48:20.876 [I] [asm_amd64.s:2361] http server Running on http://:28080
2020/05/19 16:48:20.876 [C] [asm_amd64.s:2361] ListenAndServe:  listen tcp4 :28080: bind: address already in use



Environment

Product Version: 5.19

Resolution

The port is already in use, possibly by a connection from the master DB to one of the segments.

Solution 1:

Restart the Database to most of the used ports on the master host.
Then start gpcc as soon as the database is up and running.

Solution 2:

Check the kernel setting net.ipv4.ip_local_port_range:

# sysctl net.ipv4.ip_local_port_range
net.ipv4.ip_local_port_range = 10000 65535
Set the "httpport" in the /usr/local/greenplum-cc-web/conf/app.conf file to a free port that is not in the range of ports specified by net.ipv4.ip_local_port_range, for example port 8080.