Sophos

Online support

Product maintenance

Contact support

Support services

Sophos Anti-Virus for Linux version 5: you cannot see the savlog through the command line utility or the GUI

Note: This article only applies if you were using Japanese encoding on your Linux system with Sophos Anti-Virus for Linux, version 5 and you've upgraded to Sophos Anti-Virus for Linux, version 6.

Issue
When running Sophos Anti-Virus for Linux, version 6, using eucJP encoding, you cannot see the savlog through the command line utility or the Graphical User Interface (GUI). The following errors are displayed when you try to view savlog:

Error message shown in the GUI:

not well-formed (invalid token): line 1, column 165

Text displayed in the command line:

not well-formed (invalid token): line 1, column 165
EUC-JP
savlog ¤Ï¼ºÇ"¤·¤Þ¤·¤¿: not well-formed (invalid token): line 1, column 165
Traceback (most recent call last):
File "savlog.py", line 882, in ?
File "savlog.py", line 51, in main
File "savlog.py", line 135, in run
File "savlog.py", line 159, in executeToString
File "savlog.py", line 417, in __lastN
File "savlog.py", line 451, in getAppropriateLogEntries
File "savlog.py", line 792, in __generateLogEntries
File "savlog.py", line 783, in __generateLogNodes
File "/opt/sophos-av/lib/python2.4/xml/dom/minidom.py", line 1925, in parseString
File "/opt/sophos-av/lib/python2.4/xml/dom/expatbuilder.py", line 940, in parseString
File "/opt/sophos-av/lib/python2.4/xml/dom/expatbuilder.py", line 223, in parseString
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 165

This issue is caused when both of the following conditions apply:

Note: If savd is stopped, the on-access scanner does not run.

What to do

To resolve the issue, delete the file <install_directory>/log/savd.log.

Reinstalling Sophos Anti-Virus for Linux would also work.

If you need more information or guidance, then please contact technical support.