1

Я пытаюсь установить SQL Server 2016 на ядре Windows Server 2016. Поскольку он не имеет графического интерфейса, я делаю это из командной строки. Это команда, я использую:Не удается установить SQL Server 2016 на ядре Windows Server 2008 R2

setup.exe/ШК/ACTION = Установить/ОСОБЕННОСТИ = SQLEngine, репликация /INSTANCENAME = MSSQLSERVER/SQLSVCACCOUNT = "РАБОЧАЯ \ MyUser" /SQLSVCPASSWORD = "MySecretPass" /SQLSYSADMINACCOUNTS = "РАБОЧАЯ \ MyUser"/AGTSVCACCOUNT = "NT Service Network AUTHORITY \"/TCPENABLED = 1/IACCEPTSQLSERVERLICENSETERMS

И это файл журнала ошибок я получаю:

Overall summary: 
    Final result:     Failed: see details below 
    Exit code (Decimal):   -2068643838 
    Exit facility code:   1203 
    Exit error code:    2 
    Exit message:     No features were installed during the setup execution. The requested features may already be installed. Please review the summary.txt log for further details. 
    Start time:     2015-08-27 06:37:53 
    End time:      2015-08-27 06:41:39 
    Requested action:    Install 

Machine Properties: 
    Machine name:     WIN-4EPO0BFRBMJ 
    Machine processor count:  1 
    OS version:     Windows Server 2008 R2 - ServerCore 
    OS service pack:    Service Pack 1 
    OS region:      United States 
    OS language:     English (United States) 
    OS architecture:    x64 
    Process architecture:   64 Bit 
    OS clustered:     No 

Product features discovered: 
    Product    Instance    Instance ID     Feature         Language    Edition    Version   Clustered Configured 

Package properties: 
    Description:     Microsoft SQL Server 2016 Community Technology Preview 2.2 (CTP2.2) 
    ProductName:     SQL Server 2016 CTP2.2 
    Type:       CTP 
    Version:      13 
    SPLevel:      0 
    Installation location:   X:\Downloads\SQLServer2016CTP2.2-x64-ENU\x64\setup\ 
    Installation edition:   Evaluation 

Product Update Status: 
    None discovered. 

User Input Settings: 
    ACTION:      Install 
    ADDCURRENTUSERASSQLADMIN:  false 
    AGTSVCACCOUNT:     NT AUTHORITY\Network Service 
    AGTSVCPASSWORD:    <empty> 
    AGTSVCSTARTUPTYPE:    Manual 
    ASBACKUPDIR:     Backup 
    ASCOLLATION:     Latin1_General_CI_AS 
    ASCONFIGDIR:     Config 
    ASDATADIR:      Data 
    ASLOGDIR:      Log 
    ASPROVIDERMSOLAP:    1 
    ASSERVERMODE:     MULTIDIMENSIONAL 
    ASSVCACCOUNT:     <empty> 
    ASSVCPASSWORD:     <empty> 
    ASSVCSTARTUPTYPE:    Automatic 
    ASSYSADMINACCOUNTS:   <empty> 
    ASTEMPDIR:      Temp 
    BROWSERSVCSTARTUPTYPE:   Disabled 
    CLTCTLRNAME:     <empty> 
    CLTRESULTDIR:     <empty> 
    CLTSTARTUPTYPE:    0 
    CLTSVCACCOUNT:     <empty> 
    CLTSVCPASSWORD:    <empty> 
    CLTWORKINGDIR:     <empty> 
    COMMFABRICENCRYPTION:   0 
    COMMFABRICNETWORKLEVEL:  0 
    COMMFABRICPORT:    0 
    CONFIGURATIONFILE:    C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20150827_063736\ConfigurationFile.ini 
    CTLRSTARTUPTYPE:    0 
    CTLRSVCACCOUNT:    <empty> 
    CTLRSVCPASSWORD:    <empty> 
    CTLRUSERS:      <empty> 
    ENABLERANU:     false 
    ENU:       true 
    ERRORREPORTING:    true 
    FEATURES:      
    FILESTREAMLEVEL:    0 
    FILESTREAMSHARENAME:   <empty> 
    FTSVCACCOUNT:     <empty> 
    FTSVCPASSWORD:     <empty> 
    HELP:       false 
    INDICATEPROGRESS:    false 
    INSTALLSHAREDDIR:    C:\Program Files\Microsoft SQL Server\ 
    INSTALLSHAREDWOWDIR:   C:\Program Files (x86)\Microsoft SQL Server\ 
    INSTALLSQLDATADIR:    <empty> 
    INSTANCEDIR:     C:\Program Files\Microsoft SQL Server\ 
    INSTANCEID:     <empty> 
    INSTANCENAME:     MSSQLSERVER 
    ISSVCACCOUNT:     NT AUTHORITY\Network Service 
    ISSVCPASSWORD:     <empty> 
    ISSVCSTARTUPTYPE:    Automatic 
    MATRIXCMBRICKCOMMPORT:   0 
    MATRIXCMSERVERNAME:   <empty> 
    MATRIXNAME:     <empty> 
    NPENABLED:      0 
    PBDMSSVCACCOUNT:    <empty> 
    PBDMSSVCPASSWORD:    <empty> 
    PBDMSSVCSTARTUPTYPE:   0 
    PBENGSVCACCOUNT:    <empty> 
    PBENGSVCPASSWORD:    <empty> 
    PBENGSVCSTARTUPTYPE:   0 
    PID:       ***** 
    QUIET:       false 
    QUIETSIMPLE:     true 
    ROLE:       
    RSINSTALLMODE:     DefaultNativeMode 
    RSSHPINSTALLMODE:    DefaultSharePointMode 
    RSSVCACCOUNT:     <empty> 
    RSSVCPASSWORD:     <empty> 
    RSSVCSTARTUPTYPE:    Automatic 
    SAPWD:       <empty> 
    SECURITYMODE:     <empty> 
    SQLBACKUPDIR:     <empty> 
    SQLCOLLATION:     SQL_Latin1_General_CP1_CI_AS 
    SQLSVCACCOUNT:     WORKGROUP\MyUser 
    SQLSVCPASSWORD:    ***** 
    SQLSVCSTARTUPTYPE:    Automatic 
    SQLSYSADMINACCOUNTS:   WORKGROUP\MyUser> 
    SQLTEMPDBDIR:     <empty> 
    SQLTEMPDBFILECOUNT:   0 
    SQLTEMPDBLOGDIR:    <empty> 
    SQLUSERDBDIR:     <empty> 
    SQLUSERDBLOGDIR:    <empty> 
    SQMREPORTING:     true 
    TCPENABLED:     1 
    UIMODE:      Normal 
    UpdateEnabled:     true 
    UpdateSource:     MU 
    USEMICROSOFTUPDATE:   false 
    X86:       false 

    Configuration file:   C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20150827_063736\ConfigurationFile.ini 

Rules with failures: 

Global rules: 

Scenario specific rules: 

Rules report file:    C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20150827_063736\SystemConfigurationCheck_Report.htm 

Exception summary: 
The following is an exception stack listing the exceptions in outermost to innermost order 
Inner exceptions are being indented 

Exception type: Microsoft.SqlServer.Setup.Chainer.Workflow.NoopWorkflowException 
    Message: 
     No features were installed during the setup execution. The requested features may already be installed. Please review the summary.txt log for further details. 
    HResult : 0x84b30002 
     FacilityCode : 1203 (4b3) 
     ErrorCode : 2 (0002) 

ОБНОВЛЕНО: попробовал установку с ядром Windows Server 2012 ошибки одинаковы, но есть Summary.txt

Overall summary: 
    Final result:     Failed: see details below 
    Exit code (Decimal):   -2061762559 
    Exit facility code:   1308 
    Exit error code:    1 
    Exit message:     Account 'WORKGROUP\Administrator' provided for service 'SQLSERVERAGENT' does not exist. Provide an existing account name for the service. 
    Start time:     2015-08-28 11:58:53 
    End time:      2015-08-28 12:00:50 
    Requested action:    Install 

Setup completed with required actions for features. 
Troubleshooting information for those features: 
    Next step for SQLEngine:  SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for AS:    SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for IS:    SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for Conn:   SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for ComponentUpdate: SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for SNAC:   SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for SNAC_SDK:  SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for Writer:   SQL Server Setup was canceled before completing the operation. Try the setup process again. 
    Next step for Browser:   SQL Server Setup was canceled before completing the operation. Try the setup process again. 


Machine Properties: 
    Machine name:     SQL-PC 
    Machine processor count:  1 
    OS version:     Windows Server 2012 - ServerCore 
    OS service pack:    
    OS region:      United States 
    OS language:     English (United States) 
    OS architecture:    x64 
    Process architecture:   64 Bit 
    OS clustered:     No 

Product features discovered: 
    Product    Instance    Instance ID     Feature         Language    Edition    Version   Clustered Configured 

Package properties: 
    Description:     Microsoft SQL Server 2016 Community Technology Preview 2.2 (CTP2.2) 
    ProductName:     SQL Server 2016 CTP2.2 
    Type:       CTP 
    Version:      13 
    SPLevel:      0 
    Installation location:   X:\Downloads\SQLServer2016CTP2.2-x64-ENU\x64\setup\ 
    Installation edition:   Evaluation 

Product Update Status: 
    None discovered. 

User Input Settings: 
    ACTION:      Install 
    ADDCURRENTUSERASSQLADMIN:  false 
    AGTSVCACCOUNT:     WORKGROUP\Administrator 
    AGTSVCPASSWORD:    <empty> 
    AGTSVCSTARTUPTYPE:    Manual 
    ASBACKUPDIR:     C:\Program Files\Microsoft SQL Server\MSAS13.MSSQLSERVER\OLAP\Backup 
    ASCOLLATION:     Latin1_General_CI_AS 
    ASCONFIGDIR:     C:\Program Files\Microsoft SQL Server\MSAS13.MSSQLSERVER\OLAP\Config 
    ASDATADIR:      C:\Program Files\Microsoft SQL Server\MSAS13.MSSQLSERVER\OLAP\Data 
    ASLOGDIR:      C:\Program Files\Microsoft SQL Server\MSAS13.MSSQLSERVER\OLAP\Log 
    ASPROVIDERMSOLAP:    1 
    ASSERVERMODE:     MULTIDIMENSIONAL 
    ASSVCACCOUNT:     NT Service\MSSQLServerOLAPService 
    ASSVCPASSWORD:     <empty> 
    ASSVCSTARTUPTYPE:    Automatic 
    ASSYSADMINACCOUNTS:   WORKGROUP\Administrator /ASSERVERMODE=TABULAR /TCPENABLED=1 /ACTION=Install 
    ASTEMPDIR:      C:\Program Files\Microsoft SQL Server\MSAS13.MSSQLSERVER\OLAP\Temp 
    BROWSERSVCSTARTUPTYPE:   Disabled 
    CLTCTLRNAME:     <empty> 
    CLTRESULTDIR:     <empty> 
    CLTSTARTUPTYPE:    0 
    CLTSVCACCOUNT:     <empty> 
    CLTSVCPASSWORD:    <empty> 
    CLTWORKINGDIR:     <empty> 
    COMMFABRICENCRYPTION:   0 
    COMMFABRICNETWORKLEVEL:  0 
    COMMFABRICPORT:    0 
    CONFIGURATIONFILE:    
    CTLRSTARTUPTYPE:    0 
    CTLRSVCACCOUNT:    <empty> 
    CTLRSVCPASSWORD:    <empty> 
    CTLRUSERS:      <empty> 
    ENABLERANU:     false 
    ENU:       true 
    ERRORREPORTING:    true 
    FEATURES:      SQLENGINE, AS, CONN, IS 
    FILESTREAMLEVEL:    0 
    FILESTREAMSHARENAME:   <empty> 
    FTSVCACCOUNT:     <empty> 
    FTSVCPASSWORD:     <empty> 
    HELP:       false 
    INDICATEPROGRESS:    false 
    INSTALLSHAREDDIR:    C:\Program Files\Microsoft SQL Server\ 
    INSTALLSHAREDWOWDIR:   C:\Program Files (x86)\Microsoft SQL Server\ 
    INSTALLSQLDATADIR:    <empty> 
    INSTANCEDIR:     C:\Program Files\Microsoft SQL Server\ 
    INSTANCEID:     MSSQLSERVER 
    INSTANCENAME:     MSSQLSERVER 
    ISSVCACCOUNT:     NT Service\MsDtsServer130 
    ISSVCPASSWORD:     <empty> 
    ISSVCSTARTUPTYPE:    Automatic 
    MATRIXCMBRICKCOMMPORT:   0 
    MATRIXCMSERVERNAME:   <empty> 
    MATRIXNAME:     <empty> 
    NPENABLED:      0 
    PBDMSSVCACCOUNT:    <empty> 
    PBDMSSVCPASSWORD:    <empty> 
    PBDMSSVCSTARTUPTYPE:   0 
    PBENGSVCACCOUNT:    <empty> 
    PBENGSVCPASSWORD:    <empty> 
    PBENGSVCSTARTUPTYPE:   0 
    PID:       ***** 
    QUIET:       false 
    QUIETSIMPLE:     true 
    ROLE:       
    RSINSTALLMODE:     DefaultNativeMode 
    RSSHPINSTALLMODE:    DefaultSharePointMode 
    RSSVCACCOUNT:     <empty> 
    RSSVCPASSWORD:     <empty> 
    RSSVCSTARTUPTYPE:    Automatic 
    SAPWD:       <empty> 
    SECURITYMODE:     <empty> 
    SQLBACKUPDIR:     <empty> 
    SQLCOLLATION:     SQL_Latin1_General_CP1_CI_AS 
    SQLSVCACCOUNT:     WORKGROUP\Administrator 
    SQLSVCPASSWORD:    ***** 
    SQLSVCSTARTUPTYPE:    Automatic 
    SQLSYSADMINACCOUNTS:   WORKGROUP\Administrator 
    SQLTEMPDBDIR:     <empty> 
    SQLTEMPDBFILECOUNT:   1 
    SQLTEMPDBLOGDIR:    <empty> 
    SQLUSERDBDIR:     <empty> 
    SQLUSERDBLOGDIR:    <empty> 
    SQMREPORTING:     true 
    TCPENABLED:     1 
    UIMODE:      Normal 
    UpdateEnabled:     true 
    UpdateSource:     MU 
    USEMICROSOFTUPDATE:   false 
    X86:       false 

    Configuration file:   C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20150828_115850\ConfigurationFile.ini 

Detailed results: 
    Feature:      Database Engine Services 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      Analysis Services 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      Integration Services 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      Client Tools Connectivity 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      Setup Support Files 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      SQL Client Connectivity 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      SQL Client Connectivity SDK 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      SQL Writer 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

    Feature:      SQL Browser 
    Status:      Failed: see logs for details 
    Reason for failure:   Setup was canceled for the feature. 
    Next Step:      SQL Server Setup was canceled before completing the operation. Try the setup process again. 

Rules with failures: 

Global rules: 

Scenario specific rules: 

Rules report file:    C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20150828_115850\SystemConfigurationCheck_Report.htm 

Exception summary: 
The following is an exception stack listing the exceptions in outermost to innermost order 
Inner exceptions are being indented 

Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException 
    Message: 
     Account 'WORKGROUP\Administrator' provided for service 'SQLSERVERAGENT' does not exist. Provide an existing account name for the service. 
    HResult : 0x851c0001 
     FacilityCode : 1308 (51c) 
     ErrorCode : 1 (0001) 
    Data: 
     SQL.Setup.FailureCategory = InputSettingValidationFailure 
     DisableWatson = true 
    Stack: 
     at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.LogAllValidationErrorsAndThrowFirstOne(ValidationState vs) 
     at Microsoft.SqlServer.Configuration.SetupExtension.ValidateFeatureSettingsAction.ExecuteAction(String actionId) 
     at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream) 
     at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b() 
     at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate) 
    Inner exception type: Microsoft.SqlServer.Configuration.Agent.InputValidationException 
     Message: 
       Account 'WORKGROUP\Administrator' provided for service 'SQLSERVERAGENT' does not exist. Provide an existing account name for the service. 
     HResult : 0x851c0001 
       FacilityCode : 1308 (51c) 
       ErrorCode : 1 (0001) 
+0

Для начала Win2008 OS даже не поддерживается. Не говорю, что это проблема, но сначала я попробую другую ОС. https://msdn.microsoft.com/en-us/library/ms143506(v=sql.130).aspx#pmosr – Greg

+0

пробовал с windows 2012. Это то же самое. Насколько я понимаю, я перепутал что-то с пользователями в командной строке ... –

+0

Что в файле summary.txt? – Greg

ответ

1

Хорошо, я отвечу на свой вопрос. Проблема была в домене. Поскольку у меня не было домена, мне нужно было использовать имя компьютера вместо WORKGROUP.

ОБНОВЛЕНО: Я также нашел более простой способ, чтобы установить его:

setup.exe/UIMODE = EnableUIOnServerCore/Action = установить /INDICATEPROGRESS = True

+0

это своего рода поражение в целях использования командной строки. Если вы собираетесь вручную использовать графический интерфейс, просто запустите setup.exe без параметров. Если вы хотите упростить/стандартизировать конфигурацию установки, используйте только значения для параметров REQUIRED и параметров, которые вы хотите настроить. Подробные сведения о том, что доступно и какие параметры требуются, и опционально, находятся здесь: https://msdn.microsoft.com/en-us/library/ms144259.aspx – SQLmojoe

+0

Запуск setup.exe без параметров не работает в Windows Server CORE. –

0

При установке с помощью локальной учетной записи, тогда вам нужно указать имя учетной записи как MACHINE NAME \ ACCOUNT, как вы указали в своем последнем сообщении. Даже если ваш компьютер находится в домене, вам придется придерживаться одного и того же соглашения об именах. Чтобы получить более подробный вывод для устранения неполадок во время установки, вы можете использовать параметр настройки INDICATEPROGRESS без необходимости переключения в режим пользовательского интерфейса.