|Applies To||RSA Product Set: ECAT|
RSA Product/Service Type: Opswat Metascan
RSA Version/Condition: 4.0.x, 4.1.x, 4.2.x
|Issue||ECAT 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.
|Cause||In order to enable the Metascan the RSA ECAT Server service requires responses in English (United States) date format (M/d/yyyy).|
|Resolution||Change 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
Format: English (United States)
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.
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.
Click OK, OK
3. Stop/start the Metascan services, and then the RSA ECAT services.
|Workaround||Should 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.