Pivotal Knowledge Base

Follow

GPMON: failed appending file /opt/connectemc/poll/GPMON_XXX

Environment

Product Version
Pivotal Greenplum (GPDB) 4.3.x
OS RHEL 6.x
DCA  v2.1 and above

Symptom

The log file $MASTER_DATA_DIRECTORY/gpperfmon/logs/gpmmon.YYYY.MM.DD_HHMMSS.log file is populated with errors such as the following:

WARNING: [gpmon_snmp.c:2298] failed appending file /opt/connectemc/poll/GPMON_CKM00133123456_030615_120728000_6_41590_0001.txt to /data/master/gpseg-1/gpperfmon/data/_emcconnect_tail.dat error 13 (Permission denied)

Cause

The umask on the DCA was changed from 022 to 077 on the newer DCAs. The connecthome feature creates the files in the /opt/connectemc/poll/ directory with ownership root:service and default permissions 600. This means that gpadmin cannot read the files and process the data.

Resolution

The workaround is listed below, follow these steps to resolve this issue:

  1. Log on to the master host as root user
  2. Change directory to /opt/connectemc/poll/
    cd /opt/connectemc/poll
  3. change permissions on the files to 664
    chmod 664 GPMON*

Additional Information

An SR has been opened with DCA support to ensure that the files are created with the correct permissions. 

 

 

Comments

Powered by Zendesk