Failed to run script 'RunAllScripts2Imp' while installing Enterprise Console or Sophos Control Center

  • ID dell'articolo: 64789
  • Aggiornato: 11 mar 2011

Issue
After removing the Sophos database instance and then attempting to re-install Sophos Enterprise Console 4 or Sophos Small Business Console with the database component, the following error message is shown:

Failed to run script: RunAllScripts2Imp: batch file returned error code 1

Once the error is acknowledged the installer rolls back. Checking the InstallDB.log shows the error:

Msg 1802, Level 16, State 4, Server serverName\SOPHOS, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Msg 5170, Level 16, State 1, Server serverName\SOPHOS, Line 1
Cannot create file 'C:\Program Files\Microsoft SQLServer\MSSQL.1\MSSQL\DATA\SOPHOS4.mdf' because it already exists.
Change the file path or the file name, and retry the operation.

NOTE: The error text may be slightly different.

Known to apply to the following Sophos products and versions
Enterprise Console 4
Sophos Control Center 4

Cause

The installer cannot create the files SOPHOS4.mdf and SOPHOS4_log.ldf because they already exist on the system.

What to do

1. Confirm the error
First you must confirm that the error shown in the InstallDB.log is as stated above. The instructions given here are only intended for this error.

To find the InstallDB.log file:

  1. Look in:
    • \Program Files (x86)\Sophos\SCC\DB\
      OR
    • C:\ (or the root of any system drive)
  2. Search ALL drives for "InstallDB.log"
  3. If the InstallDB.log cannot be found it may have been deleted when the install rolled back. Therefore perform step one below, and then search for the InstallDB.log file again.

2. Re-install the database

  1. Click OK to roll back the installation.
  2. Navigate to %programfiles%\microsoft SQL Server\MSSQL.1\MSSQL\Data\
  3. Add the extension .old to the following files:
    SOPHOS4.mdf
    SOPHOS4_log.ldf
  4. Re-run the installer, it should succeed without error.

NOTE: If you installed the database to a location other than the default location, you'll need to locate the path to SOPHOS4.mdf and SOPHOS4_ldf for the above procedure.

 
Per maggiori informazioni o per assistenza, vi preghiamo di contattare il supporto tecnico.

Valutate l'articolo

Molto scadente Eccellente

Commenti