unable to start cloudera-scm-server-db.service on Linux in Azure
hi
I created a CentOS 7.7 Linux machine (but also happens with RHEL 7.4) on Azure.
I installed the cloudera-manager RPM packages via yum
When i try to start the cloudera-scm-server-db service I get "permission denied" on /var/lib/cloudera-scm-server-db/data
I added -x flag to the /usr/share/cmf/bin/initialize_embedded_db.sh, and added the "strace" command before the initdb command.
I see that the command is running as cloudera-scm user (in the /var/log/messages file)
and Is see in the strace output, that it fails on "chmod("/var/lib/cloudera-scm-server-db/data", 0700) = -1 EACCES (Permission denied)"
When I run the command from Linux CLI as user cloudera-scm it runs OK.
Does the Linux behave differently on Azure (i.e. more security features)
I don't think it relates to firewall
I see in the /var/log/messages the following messages:
Oct 22 12:53:14 cdh-doxi-1 systemd: Created slice User Slice of cloudera-scm.
Oct 22 12:53:14 cdh-doxi-1 systemd: Started Session c1 of user cloudera-scm.
Oct 22 12:53:16 cdh-doxi-1 systemd: Removed slice User Slice of cloudera-scm.
could this slices are doing the damage?
I see it relates to cgroups (but I'm not sure what it actually means) - can I turn this off somewhere?
do i need to reinstall the Linux with different flags?
TIA
Doron

