Delete cm-5.13.2 directory error

# rm -rf cm-5.13.2/
rm: cannot remove ‘cm-5.13.2/run/cloudera-scm-agent/process’: Device or resource busy

Solution:

Because it is common for a user to use this directory before:

useradd --system --home=/opt/cm-5.13.2/run/cloudera-scm-server/ --no-create-home --shell=/bin/false --comment "Cloudera SCM User" cloudera-scm

Then I deleted this directory, but it still didn't work. After Baidu, I found a solution, restarted the machine, and then executed:

rm -rf cm-5.13.2/

can be deleted.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325287687&siteId=291194637