ERROR - User does not have permission to start/stop CA-wcc-services

Document ID : KB000031652
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

unisrvcntr stop CA-wcc-services
ERROR - User does not have permission to start/stop CA-wcc-services

 

Reason:

As per the Workload Control Center product specific you may not run the services as non-root user , you will not be authorized to run the services by root.

unisrvcntr {start|stop|restart|status} service_name

  • The unisrvcntr command must be run as a root user.

 - It is Mandatory that you run the services as root user as it access /etc/init.d/wcc-services

  • The service_name is optional when you run the command with the status argument. With no service name specified, the status of each service managed by unisrvcntr is displayed.

 - You could see the status of the service as read only but no access to execute as non-root user.

 

Reference Link:

https://wiki.ca.com/display/AE1136SP2p/CA+WCC+Default+Ports+and+Services

 

Workaround:

You could use 'sudo' to non-root users to copy the root access to start or stop the services.