To resolve this issue, create a file to ensure the Management Pack installation/upgrade uses the root user.
Complete the following on all Analytics nodes (Primary, Replica (if present), and Data nodes)
simultaneously.
- Log into the Analytics node as root via SSH or Console.
- Run to following command to create the do_not_switch_to_mpuser file:
touch /storage/db/pakRepoLocal/do_not_switch_to_mpuser
- Run the following command to verify that the owner of the created file is root:
ls -l /storage/db/pakRepoLocal/do_not_switch_to_mpuser
Example: -rw-r----- 1 root root 0 Jul 3 19:45 /storage/db/pakRepoLocal/do_not_switch_to_mpuser
- Retry the installation or upgrade process.
- Once the installation or upgrade is complete, remove the created file by running the following command:
rm /storage/db/pakRepoLocal/do_not_switch_to_mpuser