Webserver error

Last post 07-23-2019, 2:41 AM by rba76. 5 replies.
Sort Posts: Previous Next
  • Webserver error
    Posted: 06-28-2019, 6:49 AM
    Dear all,
    my commvault adminconsole does not work anymory. Maybe after a resent hotfixupdate. I found an error in the WebServerCore.log:
    ShouldRouteBeHandledByWebServerCore - Error in reading routing config file: System.IO.FileNotFoundException: Could not find file 'C:\Program Files\CommVault\Simpana\Base\WebServerCoreRouting.conf'.
    File name: 'C:\Program Files\CommVault\Simpana\Base\WebServerCoreRouting.conf'
    Can I create the file WebServerCoreRouting.conf again? What is the content of this file?
    best regards
  • Re: Webserver error
    Posted: 06-28-2019, 11:03 AM

    Hi,

    What service pack+hot fix pack are you at?

  • Re: Webserver error
    Posted: 06-28-2019, 12:36 PM

    Also can you try restarting iis by running iisreset command from the command promp?

  • Re: Webserver error
    Posted: 07-01-2019, 2:58 PM

    I have SP 15 with the latest hotfixes installed. Sorry but iisreset didn't help.

    This is from the log WebServerCore.log:

    568   6     07/01 20:53:41 ### ### ShouldRouteBeHandledByWebServerCore - Error in reading routing config file: System.IO.FileNotFoundException: Could not find file 'C:\Program Files\CommVault\Simpana\Base\WebServerCoreRouting.conf'.
    File name: 'C:\Program Files\CommVault\Simpana\Base\WebServerCoreRouting.conf'
    at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
    at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
    at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
    at System.IO.StreamReader..ctor(String path, Encoding encoding)
    at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
    at System.IO.File.ReadAllLines(String path)
    at CV.WebServer.Middleware.MasterWebServerRouting.ShouldRouteBeHandledByWebServerCore(String httpMethod, String restAPIUrl)
    568 6 07/01 20:53:41 ### ### ShouldRouteBeHandledByWebServerCore - WebServerCore will route all requests to the master webserver
    568 6 07/01 20:55:21 ### ### <reqreslog> - unexpected error. request processing failed with error : One or more errors occurred. (A task was canceled.)
     
    WebServer.log:
    7480  8     07/01 20:57:16 ### ### CVWebServiceHostFactory::SetMaxConnections - INFO: Updating throttling behavior: Maximum web service connections is updated to 1000
    7480 19bc 07/01 20:57:16 ### Cvcl::init() - CVCL: Running in FIPS Mode
    2508 3 07/01 20:57:20 ### ### dmConf::GetMongoConnectionString - Exception Message [A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
    2508 3 07/01 20:57:20 ### ### dmConf::GetMongoConnectionString - Exception Source [.Net SqlClient Data Provider]
    2508 3 07/01 20:57:20 ### ### dmConf::GetMongoConnectionString - Exception StackTrace [ at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
    at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
    at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
    at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
    at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
    at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
    at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
    at System.Data.SqlClient.SqlConnection.Open()
    at DM2WebLib.dmConf.GetMongoConnectionStringFromCS(UInt32 clientId, String instanceName)
    at DM2WebLib.dmConf.GetMongoConnectionString(UInt32 clientId, String instanceName)]
  • Re: Webserver error
    Posted: 07-22-2019, 11:58 AM

    Any luck finding a solution? I have this problem as well. 

  • Re: Webserver error
    Posted: 07-23-2019, 2:41 AM

    Hello, yes. The problem was, that the sqlserver on the commcell host, didn't allow remote connections. You can configure it in the SQL server configuration manager -> SQL Server Network Configuration -> Protocolls for commvault -> IP Addresses. Here set Enable to yes.

The content of the forums, threads and posts reflects the thoughts and opinions of each author, and does not represent the thoughts, opinions, plans or strategies of Commvault Systems, Inc. ("Commvault") and Commvault undertakes no obligation to update, correct or modify any statements made in this forum. Any and all third party links, statements, comments, or feedback posted to, or otherwise provided by this forum, thread or post are not affiliated with, nor endorsed by, Commvault.
Commvault, Commvault and logo, the “CV” logo, Commvault Systems, Solving Forward, SIM, Singular Information Management, Simpana, Commvault Galaxy, Unified Data Management, QiNetix, Quick Recovery, QR, CommNet, GridStor, Vault Tracker, InnerVault, QuickSnap, QSnap, Recovery Director, CommServe, CommCell, SnapProtect, ROMS, and CommValue, are trademarks or registered trademarks of Commvault Systems, Inc. All other third party brands, products, service names, trademarks, or registered service marks are the property of and used to identify the products or services of their respective owners. All specifications are subject to change without notice.
Close
Copyright © 2019 Commvault | All Rights Reserved. | Legal | Privacy Policy