If ctdbd was started with the --socket option then we also set the CTDB_SOCKET variab...
drwxr-xr-x - ctdb