This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Enterprise console will not load

One of our Enterprise console stations will no longer load Management Console.  Yesterday morning I was able to get it to load but when I tried any function within, even a sort, it would crash out and give error, "Management server connnection failed"  This server is where the databases are stored, there is not another server it needs to talk to.

Further investigation showed:

Sophos Management Service was setup to LocalSystem login and was stopped.  I can start without errors, but now when I try to load console it crashes with same error and the service is stopped.  System events shows connect is available and service is stopped.

I discovered that there is a predictive failure on one of the drives on this server and we plan to resolve this issue with new drive today or tomorrow.

Server configuration:

Windows server 2003 SP2 with latest updates

Enterprise Console version 3.0

Sophos EM Library version 1.3.2 (build23)

:5300


This thread was automatically locked due to age.
  • Rebooted again and was able to load management console.  However when I try to do any clean up (ack. errors and warnings) it crashes again.  Then I have to reboot again to get back in.

    Any database utilities that I can download and run?

    :5301
  • Hi,

    Am I correct in saying that if you start the management service with the Enterprise Console closed, the service starts and runs fine (process mgntsvc.exe stays in taskmanager with the same PID) until you start Enterprise Console and try and perform an operation?

    If so I would be interested to see the logs generated by doing the following:

    1. Create the registry "key":

    [HKEY_LOCAL_MACHINE\SOFTWARE\Sophos\Trace]   if 32-bit or

    [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Sophos\Trace] if 64-bit

    There are no values in the key, just the key Trace under the Sophos key.

    2. Start up DebugView (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx)

    From the capture Menu, check "Capture Win32" and "Capture Global Win32"

    This will log errors to to the tool as they are written to OutputDebugString.

    3. Once logging, if you start SEC and generate the error, then stop the trace in DebugView, what errors are thrown, can you paste them here?

    Thanks,

    Jak

    :5304
  • i have same problem, but i have SEC 4.5

    this log DebugViewer:

    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Warning     [0x00000A6C] Database stored procedure returned error: SP Error: 22 (ErrorNotFound)
    [4872] Error       [0x00000884] Caught Obscurity::ObscurityException, failed reason : Obscure:Invalid algorithm ident=168
    [4872] Error       [0x00000884] Caught Obscurity::ObscurityException, failed reason : Obscure:Invalid algorithm ident=104
    [4872] Warning     [0x00000884] Failed to read the size of registry value: DatabaseConnectionGUI (error: 2)
    [4872] Warning     [0x00000884] Failed to read registry value: UpToDateLatencyMins (error: 2)
    [4872] Warning     [0x00000884] Failed to read registry value: DBPurgeIntervalInMinutes (error: 2)
    [3548] Error       [0x00000DD8] ---> Throwing exception (class AL::SECRuntimeError) : Unexpected error while trying to open a connection.
    [3548] Error       [0x00000DD8] <--- Caught exception (class AL::SECRuntimeError)

    :11965
  • Hello cescbimo,

    the messages from MgntSvc [PID 4872] look normal. The exception comes from another process - I assume it is EnterpriseConsole.exe. Did you get an error pop up?

    Christian

    :11969
  • Sophos.Management.GeneralException: Unexpected error while trying to open a connection. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The system cannot find the file specified.
    File name: 'System.EnterpriseServices.Wrapper.dll' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)


       at System.EnterpriseServices.ContextUtil.get_IsInTransaction()
       at System.Transactions.Transaction.JitSafeGetContextTransaction(ContextData contextData)
       at System.Transactions.Transaction.FastGetTransaction(TransactionScope currentScope, ContextData contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.GetCurrentTransactionAndScope(Transaction& current, TransactionScope& currentScope, ContextData& contextData, Transaction& contextTransaction)
       at System.Transactions.Transaction.get_Current()
       at System.Data.ProviderBase.DbConnectionPool.GetFromTransactedPool(Transaction& transaction)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Sophos.Management.Data.SqlConnectionContext.OpenConnection()


       --- End of inner exception stack trace ---
       at Sophos.Management.Data.SqlConnectionContext.OpenConnection()
       at Sophos.Management.Data.OpenConnectionScope..ctor(IConnectionOpener opener)
       at Sophos.Management.Data.SqlConnectionContext.CreateOpenConnectionScope()
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTableImpl()
       at Sophos.Management.Data.Utils.ExecuteAndHandleTransientErrors(ISqlConnectionContext scc, MethodThatMayThrowTransientError methodToCall)
       at Sophos.Management.Data.GeneralCommand.ExecuteAndReturnDataTable()
       at Sophos.Management.Data.CrudPersister.ExecuteAndReturnDataTable(GeneralCommandMetadata commandMetadata)
       at Sophos.Management.Data.Common.PolicySql.FetchAllByType(Int32 type)
       at Sophos.Management.Data.Common.Dali.PolicyDao.FetchAllByType(Int32 type)
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.GetAll()
       at Sophos.Management.Services.Sddma.SubscriptionPolicyRepository.<GetAllSubscriptionPolicies>d__6.MoveNext()
       at System.Runtime.InteropServices.CustomMarshalers.EnumVariantViewOfEnumerator.Next(Int32 celt, Object[] rgvar, IntPtr pceltFetched)

    ----- [outer exception] -----
       -- error: 0x80040300
       -- facility: Custom (Defined by the interface)

    :12587
  • I find incarnations of this dll in the \Windows\SxS\ and \Windows\Microsoft.Net\ (2.0 and 4.0) directories. Did you try to Repair or reinstall? If this doesn't help you should contact Support as suggested.

    Christian

    :12591
  • it works..thanks for your attention and support :smileyhappy:

    :12655
  • I experience the same problem with console error. I reinstalled  to latest version and it corrected issue.

    :26767