ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CA Performance Management (CAPM) DA or DC not starting properly after removal of Karaf data directory

book

Article ID: 236901

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

When attempting to start the dcmd, it fails with:

service dcmd status

Redirecting to /bin/systemctl status  dcmd.service

● dcmd.service - Data Collector

   Loaded: loaded (/etc/systemd/system/dcmd.service; enabled; vendor preset: disabled)

   Active: active (running) since Thu 2022-01-27 15:47:01 SGT; 7s ago

  Process: 24274 ExecStop=/opt/CA/IMDataCollector/scripts/dcmd stop sysd (code=exited, status=0/SUCCESS)

  Process: 24486 ExecStart=/opt/CA/IMDataCollector/scripts/dcmd start sysd (code=exited, status=0/SUCCESS)

 Main PID: 24519 (IcmpDaemon)

   CGroup: /system.slice/dcmd.service

       └─24519 /opt/CA/IMDataCollector/ICMPD/IcmpDaemon --start

 

Jan 27 15:47:01 rms-pm-dcol-2 runuser[24501]: pam_unix(runuser:session): session opened for user caadmin by (uid=0)

Jan 27 15:47:01 rms-pm-dcol-2 runuser[24501]: pam_unix(runuser:session): session closed for user caadmin

Jan 27 15:47:01 rms-pm-dcol-2 dcmd[24486]: Starting the ICMPD

Jan 27 15:47:01 rms-pm-dcol-2 IcmpDaemon[24519]: ICMP Daemon: service started

Jan 27 15:47:01 rms-pm-dcol-2 dcmd[24486]: Starting IM Data Collector

Jan 27 15:47:01 rms-pm-dcol-2 runuser[24530]: pam_unix(runuser:session): session opened for user caadmin by (uid=0)

Jan 27 15:47:01 rms-pm-dcol-2 dcmd[24486]: start: Redirecting Karaf output to /opt/CA/IMDataCollector/apache-karaf-4.2.6/data/karaf.out

Jan 27 15:47:01 rms-pm-dcol-2 runuser[24530]: pam_unix(runuser:session): session closed for user caadmin

Jan 27 15:47:01 rms-pm-dcol-2 dcmd[24486]: /opt/CA/IMDataCollector/apache-karaf-4.2.6/bin/start: line 95: /opt/CA/IMDataCollector/apache-karaf-4.2.6/data/karaf.out: No such file or directory

Jan 27 15:47:01 rms-pm-dcol-2 systemd[1]: Started Data Collector.

Environment

DX NetOps CAPM 20.2 or later

Resolution

The issue is actually with the permissions profile of the user account or the ownership of the <IMDataCollector_Install> directory tree.

Ensure permissions of the directory are correct and that the group or owner has not been changed from that of the CAPM install user account.