MPP dpkg - Permission denied
search cancel

MPP dpkg - Permission denied

book

Article ID: 368721

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When applying the MPP, the installation fails with error messages such as the below:

Output from patch install: dpkg (subprocess): unable to execute.....Permission denied

One of the example complete message is here:

INFO: Output from patch install: dpkg (subprocess): unable to execute old <package_name>:amd64 package pre-removal script (/var/lib/dpkg/info/<package_name>:amd64.prerm): Permission denied

Environment

All supported API Gateway versions.

Cause

The problem is caused due to modification of the out-of-the box filesystem permissions for the "/var" filesystem.

We utilize the /var file system during the deployment of the MPP.

Resolution

Undo the modified filesystem permissions for installation of the MPP and reboot the server as per the mandatory requirement.

Make sure that 'noexec' permission is not set to the /var, else the MPP deployment fails with 'permission deined' message in the logfile.

After the verification of the services you can modify the filesystem permissions as required by your organization policy.