Hello,I may recommend to check existing files and permissions.
1. Check if the file exist.
Example:
# ls -lrth /opt/cloudera/cm/bin | grep ipa
-rwxr-xr-x 1 root root 1.4K Feb 22 2021 import_credentials_ipa.sh <<<<<<<
-rwxr-xr-x 1 root root 1.9K Feb 22 2021 generate_intermediate_ca_ipa.sh
-rwxr-xr-x 1 root root 3.7K Feb 22 2021 gen_credentials_ipa.sh
-rwxr-xr-x 1 root root 1.1K Feb 22 2021 delete_credentials_ipa.sh
!! This file comes from the package "Cloudera-manager-daemons"
2. Check the packages installed
For Centos
#rpm -ql cloudera-manager-daemons | grep -i import_credentials
For Deb
# dpkg --contents cloudera-manager-daemons | grep -i import_credentials
# rpm -qf /opt/cloudera/cm/bin/import_credentials_ipa.sh
cloudera-manager-daemons-6.3.4-6763501.el7.x86_64 <<<<<<<<<
3. Where this file comes from ?
!! From daemon package.
# rpm -ql cloudera-manager-daemons | grep -i import_credentials
/opt/cloudera/cm/bin/import_credentials.sh
/opt/cloudera/cm/bin/import_credentials_ipa.sh <<<<<<<<<
Make sure the package is consistent or reinstall it
> package: cloudera-manager-daemons
* Check if the OS is compatible with CM and CDP version also
https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#c6...
Hope it helps,
Felipe G