000031340 - RSA ECAT 4.x Metascan disabled with "String was not recognized as a valid DateTime"

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 4Show Document
  • View in full screen mode

Article Content

Article Number000031340
Applies ToRSA Product Set: ECAT
RSA Product/Service Type: Opswat Metascan
RSA Version/Condition: 4.0.x, 4.1.x, 4.2.x
Platform: Windows
IssueECAT 4.0.x / 4.1.x / 4.2.x Metascan is disabled with warning "String was not recognized as a valid DateTime".
When starting the RSA ECAT Console Server service, the ECAT ServerOutput  program shows the following warnings:
Starting anti-virus engine...
WARNING: String was not recognized as a valid DateTime.
WARNING: OPSWAT Metascan: Disabled.
User-added image
CauseIn order to enable the Metascan the RSA ECAT Server service requires responses in English (United States) date format (M/d/yyyy).
ResolutionChange on the ECAT ConsoleServer appliance in the operating system to use the date format (M/d/yyyy).
Change the date format also on the Opswat Metascan appliance if it is running on a different server from the ECAT Server.
1. On the Windows Server(s) run,
Start -> Control Panel -> Region and Language, Formats tab
Change to
Format: English (United States)
User-added image
2. The Metascan services will generally be installed to run as "Local System", and if the Windows Server was originally built not with US date format then this service will still use the other date format.
User-added image
To change the date format for "Local System" do this additional step:
Start -> Control Panel -> Region and Language, Administrative tab
Click "Copy settings" in the "Welcome screen and new user accounts" section.
Note the Current user format should be showing "English (United States)", and Welcome screen will not be showing "English (United States)".
Under "Copy your current settings to:" tick the "Welcome screen and system account".
Now the format should show "English (United States)" for both Current user and Welcome screen.
User-added image
Click OK, OK
3. Stop/start the Metascan services, and then the RSA ECAT services.
WorkaroundShould the change to US date format not be allowed on the Windows Servers, and the problem date format is set to (d/M/yyyy).
Then wait to start the RSA ECAT service on the 1st to 12th of each month.