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
DX NetOps Classic 25․4․5
Could be observed from Portal, DA and DC systems
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).
Change the permissions on the alternative tmp directory to 775 allowing read/write access to the sudo root user.