Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Recovering a server from a corrupt ofcserver.ini file in OfficeScan (OSCE)

    • Updated:
    • 17 Oct 2016
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Platform:
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server Core
    • Windows 2008 Server R2 Enterprise
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2008 Web Server Edition
    • Windows 2008 Web Server Edition 64-bit
Summary

Learn how to restore a backup copy of ofcserver.ini in the event that the one in use by the server becomes corrupt. Corruption can happen if the server runs out of disk space or an error occurs while the ofcserver.ini file is being updated.

The symptoms of a corrupt ofcsever.ini file are as follows:

  • The file included in the console is unavailable.
  • The OfficeScan Master Service keeps crashing.
  • The file does not meet the preferred length, which is around 40 KB.
  • The file is usually much smaller or much larger in size.
Details
Public

Below are some options for recovering a server with a corrupted ofcserver.ini file:

Option I

Recover the ofcserver.ini file from your most recent backup.

Option II

Recover ofcserver.ini from a backup made during an upgrade deployment:

  1. Search for the location of the most recent ofcserver.ini file using the following command:

    \PCCSRV\Backup

  2. Stop the OfficeScan Master Service.
  3. Copy ofcserver.ini from the backup folder to \PCCSRV\Private. In this example, the backup copy is located in C:\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Backup\CP_4150\Private\ofcserver.ini.
  4. Restart the OfficeScan Master Service.

The console access should now be restored. If not, recreate the OSCE virtual directories of the IIS by following the instructions in the following KB: Recreating Virtual Directory for OfficeScan (OSCE).

 
If the database configuration has changed between the most recent version and the backup version of ofcserver.ini (e.g. the backup ofcserver.ini is configured to HTTPDB as the database), but the most current configuration was to use SQL, use the sqltxfer.exe tool to point the server back to the SQL database.

Option III

Install a replica of the OSCE server using the same settings (i.e. IP address/FQDN) and copy ofcserver.ini from the new replica server to the original server.

Option IV

Carry out the disaster recovery procedure for your OSCE server (fresh installation) by following the steps in this article: Files to back up before upgrading, migrating, or uninstalling the OfficeScan server.

Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1113642
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.