Network Management
"Error creating Log Manager database" or "Error while configuring component Orion.ConfigurePluginDatabaseComponents" when running configuration wizard
This article discusses an error on Configuration Wizard where Log Manager or OLV plugin was opted to install and the database for the plugin was not created correcly
First published date
Last published date
Overview
The Configuration Wizard will produce the following error message:
Error creating Log Manager database. Please check the ConfigurationWizard.log file for details
Error while configuring component Orion.ConfigurePluginDatabaseComponents.
The configuration Wizard log will generate this error:
2020-02-17 17:51:49,451 [18] ERROR DBStructureProcessor - Error reported during database creation MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\SolarWindsOrionLog.mdf'. CREATE DATABASE failed. Some file names listed could not be created. Check related errors. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. System.Data.SqlClient.SqlException (0x80131904): MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\SolarWindsOrionLog.mdf'. CREATE DATABASE failed. Some file names listed could not be created. Check related errors. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at SolarWinds.Orion.Core.Database.Setup.SqlProcessorBase.ExecuteNonQuery(String query, IEnumerable`1 parameters) at SolarWinds.Orion.Core.Database.Setup.SqlProcessorBase.ExecuteNonQuery(String query) at SolarWinds.Orion.Core.Database.Setup.OrionDatabaseSetup.CreateDatabaseStructure(String server, String databaseName, String user, String password, SqlServerAuthenticationType authenticationType, String dbStructureFile) ClientConnectionId:c592553a-0d9e-4e5e-89bb-87b2e5410b3b Error Number:5149,State:3,Class:16 2020-02-17 17:51:49,466 [18] ERROR LogStorageConfigurator - Error Creating Database. Error reported during database creation MODIFY FILE encountered operating system error 112(There is not enough space on the disk.) while attempting to expand the physical file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\SolarWindsOrionLog.mdf'. CREATE DATABASE failed. Some file names listed could not be created. Check related errors. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed. User does not have permission to alter database 'SolarWindsOrionLog', the database does not exist, or the database is not in a state that allows access checks. ALTER DATABASE statement failed.
Product section
Cause
- The account used for SQL configuration does not have dbcreator server roles.
- Failed upgrade/installation from a higher Orion Log Analyzer version
Resolution
- The installation ask for a SQL profile/AD profile that ha SQL server roles on the initial phase of the Configuration Wizard.
- We would recommend for you to use the profile that has dbcreator server roles to create the database table for Orion Log Manager/Orion Log Viewer.
- If the DBA denies this server role, then we would need to request them to create the database manually and assign DBO role to the SolarWinds database user.
- Remove the higher version of Log Manager DB then re-run the Configuration Wizard