Symantec Directory : Upgrade via automation script (Windows)
search cancel

Symantec Directory : Upgrade via automation script (Windows)


Article ID: 139898


Updated On:


CA Directory


You may experience an error while upgrading CA Directory via automation script while it works just fine when you perform a manual upgrade. i.e. executing 'dxsetup.exe' from command prompt.

1. Either get error message pop up-

Can't create output file:


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\", line 23, in <module>

import win32serviceutil

File "C:\Program Files\CA\Directory\dxserver\dxagent\python-embed-amd64\lib\site-packages\win32\lib\", line 9, in <module>

import win32service, win32api, win32con, winerror

ImportError: No module named 'win32service'


Release : 12.6, 14.x

Component : CA Directory


Most probably, there is a file that might be locked by a Windows service (C:\Program Files\CA\Directory\dxserver\dxagent\python-embed-amd64\lib\site-packages\win32\servicemanager.pyd). That can prevent the installation to extract the python files.

Try rebooting the server, which should remove the lock on the file.

Next is to manually extract the missing files from the .cab in the installer.

Next is to copy those files to it's location.

Now you should be able to start services successfully.