While restarting TDV repository we may encounter below error.( command to restart repository is "
./composite.sh repo restart ")
Error : Repository is not operational.The repository.log file gets updated with below error.
==================================================================
2018-11-12 10:39:50.243 PST [ 14747]LOG: received fast shutdown request
2018-11-12 10:39:50.243 PST [ 14747]LOG: aborting any active transactions
2018-11-12 10:39:50.243 PST [ 14753]LOG: autovacuum launcher shutting down
2018-11-12 10:39:50.243 PST [ 14750]LOG: shutting down
2018-11-12 10:39:50.261 PST [ 14747]LOG: database system is shut down
====================================================================
Root cause:If there is any modification in the permission of repository folder ( in TDV installation directory) , causes the mentioned error in article.
Because of security reason postgres ( default repository of TDV) , don't allow any changes in the permission.
Permissions on the
Data and
Data_cache directory need to be
700 i.e
u=rwx (Group and world should not have the access).
Note : The repository don't merely stops if the permissions have been changed. When we stop its service after the permissions have been changed then the service don't start hitting the error.