Error during new install of the Data Repository "Failed to prepare a host for database participation." in CA Performance Management


Article ID: 192471


Updated On:


CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps


Error during new install of the Data Repository 

"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. Permission Denied" 

Looking at the adminTools.log we see errors such as:

"Stack Trace from Executor follows
Traceback (most recent call last):
  File "/opt/vertica/share/eggs/vertica/engine/api/", line 60, in exec_module
    result = instance.execute(command)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/", line 190, in execute
    return self._execute_impl(cmd, result)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/", line 219, in _execute_impl
    self._make_all_db_dirs(node, result, depot_path, purpose)
  File "/opt/vertica/oss/python/lib/python2.7/site-packages/vertica/engine/api/", line 289, in _make_all_db_dirs
    "Access Denied. Message {0}".format(e))
ATDBPrepareError: Access Denied. Message [Errno 13] Permission denied: '/catalog/drdata'"

Where in this example, /catalog is the location specified in the for the catalog location.



The permissions on the directory location do not allow writing by the DR admin user.


Release : 3.7

Component : IM Reporting / Admin / Configuration


Make sure the location specified for the data and catalog directories can be written by the DR admin user.