Unable to start Repo due to invalid permission

Unable to start Repo due to invalid permission

book

Article ID: KB0080251

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization TDV All Versions

Description

During upgrade of TDV repository was unable to start as the permission were changed for “data” directory.After analyzing logs, we could not find the cause due to which repository was not starting.When there are repository startup issues, you can run below command to check the status on repository.

Issue/Introduction

During upgrade of TDV repository was unable to start as the permission were changed for “data” directory.

Resolution

Example when repo directory permissions are changed

[cis@dev-cisdv-0 repository]$ ./bin/pg_ctl -w -Ddata start

waiting for server to start....2018-09-27 13:21:27.642 UTC [  23400]FATAL:  data directory "/opt/Cisco_Systems/CIS_7.0/repository/data" has group or world access

2018-09-27 13:21:27.642 UTC [  23400]DETAIL:  Permissions should be u=rwx (0700).

.... stopped waiting

pg_ctl: could not start server

Later verifying it was found that the permission for “data” directory was changed

Once he permissions were set correctly (u=rwx) repository started successfully.