Operation not permitted error while starting Clarity services
search cancel

Operation not permitted error while starting Clarity services

book

Article ID: 214504

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

After a recent ownership change of the OS service user the Clarity Services are not starting. 

$ service stop all
/sbin/runuser: cannot set groups: Operation not permitted
/sbin/runuser: cannot set groups: Operation not permitted
...

Environment

Clarity Release : Any Supported Releases with Linux

 

Cause

The error "/sbin/runuser: cannot set groups: Operation not permitted" indicates a UNIX OS permission error and not generally a problem with the clarity code.

Resolution

First step is to check clarity properties.xml and look at the rootUser property of the <os element.>.

For example-  If "clarityadmin" is the non-root OS user name and "staff" is the OS group then OS and rootUser to be specified with "clarityadmin".

i.e. (in your properties.xml you would want your os element to look something like the following)

<os user="clarityadmin" group="staff" dbUser="oracle" dbGroup="staff" rootUser="clarityadmin" commandPrefix="" />.

Along with this also validate if the non Clarity admin user is having read/write permissions to the Clarity Home.

e.g. chown -hR clarityadmin:staff /Clarity_Home

If there is still the same error then the next recommendation is to redeploy clarity services.

Additional Information

For Hints on Deploying clarity services and related commands visit Techdocs