You may experience a problem of DXagent not able to start after upgrading to 14.1.07 version from a previous Service Pack on Windows.
1. Either get error message pop up-
Can't create output file:
C:\.\..\dxserver\dxagent\python-embed-amd64\lib\site-packages\win32\servicemanager.pyd
2. Or the dxagent process fails to terminate after the install is done until manually killed. This can be seen in Windows Task Manager.
Reviewing the log, you may see:
Python could not import the service's module
Traceback (most recent call last):
File "C:\Program Files\CA\Directory\dxserver\dxagent\DxagentService.py", line 23, in <module>
import win32serviceutil
File "C:\Program Files\CA\Directory\dxserver\dxagent\python-embed-amd64\lib\site-packages\win32\lib\win32serviceutil.py", line 9, in <module>
import win32service, win32api, win32con, winerror
ImportError: No module named 'win32service'
Release : 14.x
Component : CA Directory
The DXagent component in the Environment might be corrupted.
The DXagent component in your Environment might be corrupted. To update the DXagent files, follow the manual steps outlined below.
First is to manually extract the missing files from the DATA1.cab in the installer. This file is located under the location where you extracted the zip file (usually under temp folder).
Copy to data1.cab to a separate folder and extract the content using WinZip or equivalent software.
The Data1.cab contains a file which starts with ca_dxagent_static.exe (e.g. something like ca_dxagent_static.exe.B5FA3F68_D6E0_4F16_9C6F_B0C63D712195). This file holds the DXagent related files. Once you have it, follow the steps below.
Note: Some files need to be replaced. Select yes to replace the files.
Note: If there is any issue with the certificates, run the setup_dxagent.bat file to create new certificates.