DXagent cannot start after upgrading Symantec Directory from 12.6 to 14.x on Windows.
The dxagent log does not contain any errors, just indicates dxagent start and immediate stop:
2021-03-18 16:43:38 [9992] [dxagent] [INFO] Python Version: 3.5.2
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE Bus STARTING
2021-03-18 16:43:38 [9992] [cherrypy.error] [ERROR] [18/Mar/2021:16:43:38] ENGINE Set handler for console events.
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE PID 9992 written to 'C:\\Program Files\\CA\\Directory\\dxserver\\pid\\dxagent.pid'.
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE Started monitor thread 'Autoreloader'.
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE Started monitor thread '_TimeoutMonitor'.
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE Serving on https://0.0.0.0:9443
2021-03-18 16:43:38 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:43:38] ENGINE Bus STARTED
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Bus STOPPING
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE HTTP Server cherrypy.wsgiserver.CherryPyWSGIServer(('0.0.0.0', 9443)) shut down
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Stopped thread '_TimeoutMonitor'.
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Stopped thread 'Autoreloader'.
2021-03-18 16:44:19 [9992] [cherrypy.error] [ERROR] [18/Mar/2021:16:44:19] ENGINE Removed handler for console events.
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Bus STOPPED
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Bus EXITING
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Waiting for child threads to terminate...
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE PID file removed: 'C:\\Program Files\\CA\\Directory\\dxserver\\pid\\dxagent.pid'.
2021-03-18 16:44:19 [9992] [cherrypy.error] [INFO] [18/Mar/2021:16:44:19] ENGINE Bus EXITED
Release : 14.x
Component : CA Admin
dxagent version for Windows uses embedded version of Python.
During start dxagent reported 'Python Version: 3.5.2'
For Symantec Directory 14.1.0 it must be 3.6.4
For Symantec Directory 14.1.01 and 14.1.02 it must be 3.8.2
To fix uninstall dxagent and install from scratch.
If this is not possible, install Symantec Directory 14.x on a separate Windows machine and copy python-embed-amd64 folder from the new installation to the installation where dxagent fails to start