dr_install.sh fails complaining about permission denied across the cluster
search cancel

dr_install.sh fails complaining about permission denied across the cluster

book

Article ID: 371411

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

The full error syntax seen is:

Distributing changes to cluster.

Error: The following nodes(s) could not be prepared:

Failed to prepare a host for database participation.

See /opt/vertica/log/adminTools.log for details. Host hints follow.

<IP_Address> Permission Denied

<IP_Address> Permission Denied

<IP_Address> Permission Denied


Creating Vertica database failed ........................................[FAIL]

Environment

All supported releases of DX NetOps Performance Management

Cause

The permissions either on or before the catalog and data directories are impeding the installation.

The following may be noted in the admintools.log:

<ERROR> An exception was encountered during mkdir: [Errno 13] Permission denied: '/database/catalog', target was /database/catalog/drdata/v_drdata_node0001_catalog
<ERROR> command got exception: Access Denied. Message [Errno 13] Permission denied: '/database/catalog'

Resolution

If having the installer create the catalog and data directories, ensure that it can.  For example, if trying to have /database/catalog and /database/data directories created, if /database has 755 permissions and owned by root, the installer cannot write to /database to create data and catalog.  Ex:

drwxr-xr-x 4 root root