Hi,
Please check the below points
1) double check you r trying to install as a root user .
2) please uninstall and install again hana DB one more time .At that time check hostagent is uninstalled or not. If not please uninstall hostagent
--Thanks
Aneesh