we are using arcgis 10.1, oracle 11g database and using direct connection, there is no service.
the commands (sdeconfig, sdedbtune, sdelog, sdemon) works fine for me.
the commands (sdegdbrepair, sdesetup) does not work and gives error.
sdegdbrepair -o diagnose_metadata -d ORACLE11G -u sde -p xyz -i sde:oracle11g:orcl3
ESRI ArcSDE Server Repair Utility Thu Feb 22 09:11:47 2018
----------------------------------------------------------------
Error: Underlying DBMS error (-51).
Error: Unable to list inconsistent metadata.