logo logo

Symantec Endpoint Manager sem5.log is huge

In this case it was 65gb. I found it using SpaceMonger.

  1. Stop the Symantec Endpoint Protection Manager and Symantec Embedded Database Service.
  2. Rename / Delete the current log
  3. Click Start, click on Run and Type CMD then click OK
  4. In the Command Prompt type: CD C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\ASA\win32\ and press Enter, this will change directories to the folder containing dbsrv11.exe.
  5. To force the recreation of sem5.log. Type: dbsrv11 -f "C:\Program Files (x86)\Symantec\Symantec Endpoint Protection Manager\dbsem5.db and press Enter
  6. Click Start, click on Run and Type services.msc then click OK and start the Symantec Embedded Database Service
  7. Start the Symantec Endpoint Protection Manager service.

If this is a recurring issue, create a batch file and put it in the task scheduler. It should contain the following:

net stop semsrv
net stop SQLANYs_sem5
attrib -r "C:\Program Files\Symantec\Symantec Endpoint Protection Manager\db\sem5.log"
del "C:\Program Files\Symantec\Symantec Endpoint Protection Manager\db\sem5.log"
net start SQLANYs_sem5
net start semsrv


Symantec recommends using it once a week where this issue exists.