Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * windows_package[Microsoft SQL Server 2017 (64-bit)] action install
- ================================================================================
- Error executing action `install` on resource 'windows_package[Microsoft SQL Server 2017 (64-bit)]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0, 42, 127, 3010], but received '-2061762559'
- ---- Begin output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- STDOUT:
- STDERR:
- ---- End output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- Ran start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% returned -2061762559
- Resource Declaration:
- ---------------------
- # In C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb
- 166: package install_name do
- 167: source package_url
- 168: checksum install_checksum
- 169: timeout new_resource.installer_timeout
- 170: installer_type :custom
- 171: options "/q /ConfigurationFile=#{config_file_path} #{passwords_options}"
- 172: action :install
- 173: notifies :reboot_now, 'reboot[sql server install]' if new_resource.sql_reboot
- 174: returns [0, 42, 127, 3010]
- 175: end
- 176:
- Compiled Resource:
- ------------------
- # Declared in C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb:166:in `block in class_from_file'
- windows_package("Microsoft SQL Server 2017 (64-bit)") do
- package_name "Microsoft SQL Server 2017 (64-bit)"
- action [:install]
- default_guard_interpreter :default
- declared_type :package
- cookbook_name "my_cookbook"
- checksum "6e6f9996b..2ae845f"
- source "x:\\setup.exe"
- installer_type :custom
- returns [0, 42, 127, 3010]
- options "/q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD=\"*********\" /SQLSVCPASSWORD=\"*********\""
- timeout 1500
- end
- System Info:
- ------------
- chef_version=17.1.35
- platform=windows
- platform_version=10.0.14393
- ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x64-mingw32]
- program_name=C:/opscode/chef/bin/chef-client
- executable=C:/opscode/chef/bin/chef-client
- ================================================================================
- Error executing action `install` on resource 'sql_server_install[Install SQL Server 2017 Enterprise]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- windows_package[Microsoft SQL Server 2017 (64-bit)] (C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb line 166) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 42, 127, 3010], but received '-2061762559'
- ---- Begin output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- STDOUT:
- STDERR:
- ---- End output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- Ran start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% returned -2061762559
- Resource Declaration:
- ---------------------
- # In C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/my_cookbook/recipes/db.rb
- 79: sql_server_install 'Install SQL Server 2017 Enterprise' do
- 80: accept_eula true
- 81: agent_account 'mydomain\\sqlagent'
- 82: agent_account_pwd '*********'
- 83: agent_startup 'Automatic'
- 84: feature %w(SQLENGINE FULLTEXT CONN BC)
- 85: install_dir 'S:\\Program Files\\Microsoft SQL Server'
- 86: instance_dir 'S:\\Program Files\\Microsoft SQL Server'
- 87: instance_name 'MSSQLSERVER'
- 88: netfx35_install false
- 89: package_checksum '6E6F9996..2AE845F'
- 90: product_key '*****-*****-*****-*****'
- 91: sa_password '*************'
- 92: security_mode 'Mixed Mode Authentication'
- 93: source_url 'X:\\setup.exe'
- 94: sql_account 'mydomain\\sqlsrvr'
- 95: sql_account_pwd '*********'
- 96: sql_backup_dir 'R:\\Backups'
- 97: sql_collation 'SQL_Latin1_General_CP1_CI_AS'
- 98: sql_temp_db_dir 'T:\\Data'
- 99: sql_temp_db_log_dir 'G:\\Logs'
- 100: sql_user_db_dir 'D:\\Data'
- 101: sql_user_db_log_dir 'G:\\Logs'
- 102: sysadmins ['mydomain\\dba', 'mydomain\\sqldm']
- 103: version '2017'
- 104: end
- 105:
- Compiled Resource:
- ------------------
- # Declared in C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/my_cookbook/recipes/db.rb:79:in `from_file'
- sql_server_install("Install SQL Server 2017 Enterprise") do
- action [:install]
- updated true
- updated_by_last_action true
- default_guard_interpreter :default
- declared_type :sql_server_install
- cookbook_name "my_cookbook"
- recipe_name "db"
- accept_eula true
- agent_account "mydomain\\sqlagent"
- agent_account_pwd "*********"
- agent_startup "Automatic"
- feature ["SQLENGINE", "FULLTEXT", "CONN", "BC"]
- install_dir "S:\\Program Files\\Microsoft SQL Server"
- instance_dir "S:\\Program Files\\Microsoft SQL Server"
- instance_name "MSSQLSERVER"
- netfx35_install false
- package_checksum "6E6F9996..2AE845F"
- product_key "*****-*****-*****-*****-*****"
- sa_password "*************"
- security_mode "Mixed Mode Authentication"
- source_url "X:\\setup.exe"
- sql_account "mydomain\\sqlsrvr"
- sql_account_pwd "*********"
- sql_backup_dir "R:\\Backups"
- sql_collation "SQL_Latin1_General_CP1_CI_AS"
- sql_temp_db_dir "T:\\Data"
- sql_temp_db_log_dir "G:\\Logs"
- sql_user_db_dir "D:\\Data"
- sql_user_db_log_dir "G:\\Logs"
- sysadmins ["mydomain\\dba", "mydomain\\sqldm"]
- version "2017"
- as_sysadmins ["Administrator"]
- dreplay_ctlr_admins ["Administrator"]
- update_source "MU"
- shared_wow_dir "S:\\Program Files (x86)\\Microsoft SQL Server"
- filestream_share_name "MSSQLSERVER"
- browser_startup "Disabled"
- rs_account "NT AUTHORITY\\NETWORK SERVICE"
- rs_startup "Automatic"
- rs_mode "FilesOnlyMode"
- polybase_port_range "16450-16460"
- is_master_port "8391"
- as_svc_account "NT Service\\MSSQLServerOLAPService"
- end
- System Info:
- ------------
- chef_version=17.1.35
- platform=windows
- platform_version=10.0.14393
- ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x64-mingw32]
- program_name=C:/opscode/chef/bin/chef-client
- executable=C:/opscode/chef/bin/chef-client
- Running handlers:
- [2021-05-21T23:27:44+00:00] ERROR: Running exception handlers
- Running handlers complete
- [2021-05-21T23:27:44+00:00] ERROR: Exception handlers complete
- Chef Infra Client failed. 21 resources updated in 05 minutes 34 seconds
- [2021-05-21T23:27:44+00:00] FATAL: Stacktrace dumped to C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
- [2021-05-21T23:27:44+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
- [2021-05-21T23:27:44+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: sql_server_install[Install SQL Server 2017 Enterprise] (my_cookbook::db line 79) had an error: Mixlib::ShellOut::ShellCommandFailed: windows_package[Microsoft SQL Server 2017 (64-bit)] (C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb line 166) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 42, 127, 3010], but received '-2061762559'
- ---- Begin output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- STDOUT:
- STDERR:
- ---- End output of start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% ----
- Ran start "" /wait "x:\setup.exe" /q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD="*******" /SQLSVCPASSWORD="******" & exit %%%%ERRORLEVEL%%%% returned -2061762559
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement