Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Install SCOM via commandline failed: Error opening SQL connection

$
0
0

In an existing managementgroup i try to add a new managementserver to scom 2019.
The new server is running core edition of windows server 2019.
I connect via remote powershell under my own admin account, which is also a scom admin.

I start the installation via this command:

Start-Process -FilePath "C:\install\SCOM2019\setup.exe" -ArgumentList '/Install /InstallPath:"C:\Program Files\Microsoft System Center\Operations Manager" /components:OMServer /ManagementGroupName:GRP01 /SqlServerInstance:SQLSERVER\SCOM /SqlInstancePort:1433 /DatabaseName:OperationsManager /DWSqlServerInstance:SQLSERVER\SCOMDW /DwSqlInstancePort:1434 /DWDatabaseName:OperationsManagerDW /ActionAccountUser:DOMAIN\svc-msaa /ActionAccountPassword:"mypwd" /DASAccountUser:DOMAIN\svc-sdk /DASAccountPassword:"mypwd" /DataWriterUser:DOMAIN\svc-dwwa /DataWriterPassword:"mypwd" /EnableErrorReporting:Never /SendCEIPReports:0 /UseMicrosoftUpdate:0 /AcceptEndUserLicenseAgreement:1 /silent'

In the logfile created i get this:
[15:12:55]:    Error:    :ValidateEssentialsAdministratorAccount() failed with error = 5
[15:12:55]:    Warn:    :Warning:Current user doesn't have enough permissions to force Sql service to start state. We will still continue and try to connect to Sql Server
[15:12:55]:    Debug:    :Connection was not open.  We will try to open it.
[15:12:55]:    Error:    :Error opening SQL connection.: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

I don't understand the anonymous login part since i provide all the accounts. I tested the network connectivity to both sql listeners and they are fine. My admin account is also admin in both databases.

Any idea what i miss?


Ronald


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>