Pivotal Knowledge Base

Follow

Failed to start Pivotal Greenplum Command Center on DCA v1

Environment

Product Version
Pivotal Greenplum (GPDB) 4.3.x
Pivotal Greenplum Command Center 1.3.0.x
DCA 1.2.3.x

Symptom

User has failed to start Pivotal Greenplum Command Center on DCA v1 with the following error:

[gpadmin@mdw ~]$ gpcmdr --start test1
Starting instance test1...
Failed to start Command Center instance 'test1' - [INCONSISTENT: gpmonws.py not found; PORT: 28082]

Cause 

gpadmin does not have read permission for the file /opt/dca/etc/dca_setup/hostmapping.state

[gpadmin@mdw ~]$ ll /opt/dca/etc/dca_setup/hostmapping.state
-rw------- 1 root root 144 Oct 12 2015 /opt/dca/etc/dca_setup/hostmapping.state

Resolution

Grant read permission to gpadmin for /opt/dca/etc/dca_setup/hostmapping.state using root and restart Command Center.

[root@mdw ~]# chmod 644 /opt/dca/etc/dca_setup/hostmapping.state
[root@mdw ~]# ls -al /opt/dca/etc/dca_setup/hostmapping.state
-rw-r--r-- 1 root root 144 Oct 12 2015 /opt/dca/etc/dca_setup/hostmapping.state
[root@mdw ~]# su - gpadmin
[gpadmin@mdw ~]$ gpcmdr --stop test1
Stopping instance test1... killing pid 16684
Done.
[gpadmin@mdw ~]$ gpcmdr --start test1
Starting instance test1...
Greenplum Command Center UI for instance 'test1' - [RUNNING on PORT: 28082]

Comments

Powered by Zendesk