Ошибка установки MS SQL Server 2008 из командной строки

Roman Sharabura
Дата: 11.02.2010 19:44:15
Добрый день.

Установка MS SQL Server 2008 (из командной строки) заканчивается ошибкой. При этой же конфигурации (не из командной строки) - всё нормально. Причина ошибки в том, что setup, когда выполняется из командной строки, не верно назначает права на папку "...\Program Files\Microsoft SQL Server 2008\MSRS10.MSSQLSERVER\Reporting Services\ReportServer" для группы "Users". В результате сервис "ReportServer" (SQL Server Reporting Services (MSSQLSERVER)) не может быть запущен и настроен:

2010-02-01 02:05:44 Slp: Error: Action "SqlRSConfigAction_install_Startup_Cpu32" failed during execution.
2010-02-01 02:05:45 Slp: Action "ConfigEvent_RS_Server_Adv_sql_rs_Cpu32_Install_StartupFinalize_postmsi" will return false due to the following conditions:
2010-02-01 02:05:45 Slp: Condition "Feature dependency condition for action: ConfigEvent_RS_Server_Adv_sql_rs_Cpu32_Install_StartupFinalize_postmsi The condition tests feature: RS_Server_Adv_sql_rs_Cpu32. There are 6 dependant features. The feature is tested for results: ValidateResult, Result." did not pass as it returned false and true was expected.
2010-02-01 02:05:45 Slp: Condition is false because the required feature RS_Server_Adv_sql_rs_Cpu32 failed in result Result
2010-02-01 02:05:45 Slp: Error: Action "ConfigEvent_RS_Server_Adv_sql_rs_Cpu32_Install_StartupFinalize_postmsi" failed during execution.


Как можно это обойти?
Заранее всем благодарен.




Часть "Summary.txt" файла:


Overall summary:
Final result: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Exit code (Decimal): -2068643839
Exit facility code: 1203
Exit error code: 1
Exit message: SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
Start time: 2010-02-01 01:40:35
End time: 2010-02-01 02:05:46
Requested action: Install
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100201_013844\Detail.txt
Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.0.2531.0%26EvtType%3d0xB4A84AA1%400x92D13C14


...................

Detailed results:
Feature: Database Engine Services
Status: Passed
MSI status: Passed
Configuration status: Passed

Feature: Reporting Services
Status: Failed: see logs for details
MSI status: Passed
Configuration status: Failed: see details below
Configuration error code: 0x0A2FBD17@1211@1
Configuration error description: Attempted to perform an unauthorized operation.
Configuration log: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100201_013844\Detail.txt

Feature: Management Tools - Complete
Status: Passed
MSI status: Passed
Configuration status: Passed

Feature: Management Tools - Basic
Status: Passed
MSI status: Passed
Configuration status: Passed


Файл кофигурации "ConfigurationFile.ini":


;SQLSERVER2008 Configuration File
[SQLSERVER2008]

; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will reflect the instance ID of the SQL Server instance.

INSTANCEID="MSSQLSERVER"

; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.

ACTION="Install"

; Specifies features to install, uninstall, or upgrade. The list of top-level features include SQL, AS, RS, IS, and Tools. The SQL feature will install the database engine, replication, and full-text. The Tools feature will install Management Tools, Books online, Business Intelligence Development Studio, and other shared components.

FEATURES=SQLENGINE,RS,SSMS,ADV_SSMS

; Displays the command line parameters usage

HELP="False"

; Specifies that the detailed Setup log should be piped to the console.

INDICATEPROGRESS="False"

; Setup will not display any user interface.

QUIET="True"

; Setup will display progress only without any user interaction.

QUIETSIMPLE="False"

; Specifies that Setup should install into WOW64. This command line argument is not supported on an IA64 or a 32-bit system.

X86="False"

; The directory for the extracted service pack files used to update the setup media.

PCUSOURCE="%%%%%%\SQL2008WGEdition\SQLServer2008SP1"

; Specify if errors can be reported to Microsoft to improve future SQL Server releases. Specify 1 or True to enable and 0 or False to disable this feature.

ERRORREPORTING="False"

; Specify the root installation directory for native shared components.

INSTALLSHAREDDIR="D:\Program Files\Microsoft SQL Server 2008"

; Specify the installation directory.

INSTANCEDIR="D:\Program Files\Microsoft SQL Server 2008"

; Specify that SQL Server feature usage data can be collected and sent to Microsoft. Specify 1 or True to enable and 0 or False to disable this feature.

SQMREPORTING="False"

; Specify a default or named instance. MSSQLSERVER is the default instance for non-Express editions and SQLExpress for Express editions. This parameter is required when installing the SQL Server Database Engine (SQL), Analysis Services (AS), or Reporting Services (RS).

INSTANCENAME="MSSQLSERVER"

; Agent account name

AGTSVCACCOUNT="username"

; Auto-start service after installation.

AGTSVCSTARTUPTYPE="Automatic"

; Startup type for Integration Services.

ISSVCSTARTUPTYPE="Automatic"

; Account for Integration Services: Domain\User or system account.

ISSVCACCOUNT="NT AUTHORITY\NetworkService"

; Controls the service startup type setting after the service has been created.

ASSVCSTARTUPTYPE="Automatic"

; The collation to be used by Analysis Services.

ASCOLLATION="Latin1_General_CI_AS"

; The location for the Analysis Services data files.

ASDATADIR="Data"

; The location for the Analysis Services log files.

ASLOGDIR="Log"

; The location for the Analysis Services backup files.

ASBACKUPDIR="Backup"

; The location for the Analysis Services temporary files.

ASTEMPDIR="Temp"

; The location for the Analysis Services configuration files.

ASCONFIGDIR="Config"

; Specifies whether or not the MSOLAP provider is allowed to run in process.

ASPROVIDERMSOLAP="1"

; Startup type for the SQL Server service.

SQLSVCSTARTUPTYPE="Automatic"

; Level to enable FILESTREAM feature at (0, 1, 2 or 3).

FILESTREAMLEVEL="0"

; Set to "1" to enable RANU for SQL Server Express.

ENABLERANU="False"

; Specifies a Windows collation or an SQL collation to use for the Database Engine.

SQLCOLLATION="SQL_Latin1_General_CP850_CI_AI"

; Account for SQL Server service: Domain\User or system account.

SQLSVCACCOUNT="computername\username"

; Windows account(s) to provision as SQL Server system administrators.

SQLSYSADMINACCOUNTS="BUILTIN\Administrators"

; Default directory for the Database Engine user databases.

SQLUSERDBDIR="D:\Program Files\Microsoft SQL Server 2008"

; Default directory for the Database Engine user database logs.

SQLUSERDBLOGDIR="D:\Program Files\Microsoft SQL Server 2008"

; Provision current user as a Database Engine system administrator for SQL Server 2008 Express.

ADDCURRENTUSERASSQLADMIN="False"

; Specify 0 to disable or 1 to enable the TCP/IP protocol.

TCPENABLED="1"

; Specify 0 to disable or 1 to enable the Named Pipes protocol.

NPENABLED="0"

; Startup type for Browser Service.

BROWSERSVCSTARTUPTYPE="Automatic"

; Specifies which account the report server NT service should execute under. When omitted or when the value is empty string, the default built-in account for the current operating system.
The username part of RSSVCACCOUNT is a maximum of 20 characters long and
The domain part of RSSVCACCOUNT is a maximum of 254 characters long.

RSSVCACCOUNT="NT AUTHORITY\NETWORK SERVICE"

; Specifies how the startup mode of the report server NT service. When
Manual - Service startup is manual mode (default).
Automatic - Service startup is automatic mode.
Disabled - Service is disabled

RSSVCSTARTUPTYPE="Automatic"

; Specifies which mode report server is installed in.
Default value: “FilesOnly”

RSINSTALLMODE="DefaultNativeMode"