gpmon: failed appending file /opt/connectemc/poll/GPMON_XXX
search cancel

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

book

Article ID: 295343

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Symptoms:

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)

 

Environment


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*