Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

/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 server_host=sng-cdh2-1.ebc.cisco.com /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=\).*/\1sng-cdh2-1.ebc.cisco.com/' -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?

4 REPLIES 4

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

Explorer

Did u find the solution?

Can anyone repply on this

 

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

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

 

Regards,

 

Ben

Highlighted

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

Explorer

Hi bgooley,

 

I went through this post

 

https://community.cloudera.com/t5/Cloudera-Manager-Installation/Cannot-complete-install-on-Node-usin...

 and ran the below command

 

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

 

and returns the correct ip and hostname.

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

Super Guru

@tahan,

 

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.

 

Ben