ustat error line 165 too many arguments

book

Article ID: 207990

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

When I execute ustat or unifstat receiving error about WCC process not running, also its not listing all the services on same page.

I am able to open WCC page and can see WCC services running using ps -ef

but I get the below error from ustat.

/etc/init.d/CA-wcc: line 165: [: too many arguments
CA-wcc Server                               -  not active

 

 

Environment

Release : 12.0

Component : WORKLOAD CONTROL CENTER

Resolution

As of WCC R12.1 the product will source /etc/profile.CA instead of /etc/profile.

This will avoid the issue if are any "trap" entries in the /etc/profile which can impact the ustat command if WCC is installed.

As a workaround in WCC versions lower than 12.1 comment out any "trap" statements from /etc/profile