The Data Collector dcmd service fails to start after DX NetOps 25․4․5 upgrade
search cancel

The Data Collector dcmd service fails to start after DX NetOps 25․4․5 upgrade

book

Article ID: 432446

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

The Data Collector 'dcmd' service fails to start after upgrading to version 25․4․5 when using an alternative temporary directory․​​​​​​​‍

The install is run as the root user. The Data Collector services are run and owned by a sudo root user.

The alternative tmp directory used in this scenario was /opt/ca/media, the same location used to store the upgrade install files.

The following error was seen in the (default install home) /opt/IMDataCollector/data/logs/netops-data-collector.log file.

2026-03-07T10:46:01,973 | ERROR | main | SpringApplication | framework.boot.SpringApplication 857 | - - | | Application run failed
org.springframework.context.ApplicationContextException: Unable to start web server
<<<at messages>>>
Caused by: org.springframework.boot.web.server.WebServerException: Unable to create tempDir. java.io.tmpdir is set to /opt/ca/media
<<<at messages>>>
Caused by: java.nio.file.AccessDeniedException: /opt/ca/media/tomcat-docbase.8681.7577911786231998372

Environment

DX NetOps Classic 25․4․5

Could be observed from Portal, DA and DC systems

Cause

Incorrect permissions on the alternative tmp directory for the sudo root user. The directory has 700 permissions set, preventing read or write access by the sudo root user (other = 0 permissions).

Resolution

Change the permissions on the alternative tmp directory to 775 allowing read/write access to the sudo root user.