Support Questions
Find answers, ask questions, and share your expertise
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

/etc/cloudera-scm-agnet/config.ini: no such file or directory (CDH 5.7.0)

New Contributor

Hi team,


During installation of CDH 5.7.0,

I faced this issue and couldn't find out correct soltion.


BEGIN grep /etc/cloudera-scm-agent/config.ini
grep: /etc/cloudera-scm-agent/config.ini: No such file or directory
END (2)
BEGIN sed -e 's/\(server_host=\).*/\' -i /etc/cloudera-scm-agent/config.ini
sed: can't read /etc/cloudera-scm-agent/config.ini: No such file or directory
END (2)
scm agent could not be configured, giving up
waiting for rollback request


Anyone knows it?



Did u find the solution?

Can anyone repply on this


Super Guru

Hello @Sung and @tahan,


The install script that is run by the "Add new hosts" wizard expects that the installation of the cloudera-manager-agent package has already occurred by the time it gets to the point where it is updating the "config.ini".

Something must have gone wrong in the installation before this point.  I'd check the entire install log for clues.  The installation of the cloudera-manager-agent package will create /etc/cloudera-scm-agent/config.ini






Hi bgooley,


I went through this post

 and ran the below command


python -c "import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())"


and returns the correct ip and hostname.

Super Guru



When adding the host, there should be a detailed log you can view in the Cloudera Manager UI.  Please provide us with that output so we can review.  It is likley the package was not installed.