Advertisement
JHBoricua

chef-sql-install-failure

May 21st, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 10.60 KB | None | 0 0
  1.            * windows_package[Microsoft SQL Server 2017 (64-bit)] action install
  2.        
  3.              ================================================================================
  4.              Error executing action `install` on resource 'windows_package[Microsoft SQL Server 2017 (64-bit)]'
  5.              ================================================================================
  6.        
  7.              Mixlib::ShellOut::ShellCommandFailed
  8.              ------------------------------------
  9.              Expected process to exit with [0, 42, 127, 3010], but received '-2061762559'
  10.              ---- 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%%%% ----
  11.              STDOUT:
  12.              STDERR:
  13.              ---- 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%%%% ----
  14.              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
  15.        
  16.              Resource Declaration:
  17.              ---------------------
  18.              # In C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb
  19.        
  20.              166:   package install_name do
  21.              167:     source package_url
  22.              168:     checksum install_checksum
  23.              169:     timeout new_resource.installer_timeout
  24.              170:     installer_type :custom
  25.              171:     options "/q /ConfigurationFile=#{config_file_path} #{passwords_options}"
  26.              172:     action :install
  27.              173:     notifies :reboot_now, 'reboot[sql server install]' if new_resource.sql_reboot
  28.              174:     returns [0, 42, 127, 3010]
  29.              175:   end
  30.              176:
  31.        
  32.              Compiled Resource:
  33.              ------------------
  34.              # Declared in C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/sql_server/resources/install.rb:166:in `block in class_from_file'
  35.        
  36.              windows_package("Microsoft SQL Server 2017 (64-bit)") do
  37.         package_name "Microsoft SQL Server 2017 (64-bit)"
  38.         action [:install]
  39.         default_guard_interpreter :default
  40.         declared_type :package
  41.         cookbook_name "my_cookbook"
  42.         checksum "6e6f9996b..2ae845f"
  43.         source "x:\\setup.exe"
  44.         installer_type :custom
  45.         returns [0, 42, 127, 3010]
  46.         options "/q /ConfigurationFile=C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/ConfigurationFile.ini /AGTSVCPASSWORD=\"*********\" /SQLSVCPASSWORD=\"*********\""
  47.         timeout 1500
  48.              end
  49.        
  50.              System Info:
  51.              ------------
  52.              chef_version=17.1.35
  53.              platform=windows
  54.              platform_version=10.0.14393
  55.              ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x64-mingw32]
  56.              program_name=C:/opscode/chef/bin/chef-client
  57.              executable=C:/opscode/chef/bin/chef-client
  58.        
  59.        
  60.            ================================================================================
  61.            Error executing action `install` on resource 'sql_server_install[Install SQL Server 2017 Enterprise]'
  62.            ================================================================================
  63.        
  64.            Mixlib::ShellOut::ShellCommandFailed
  65.            ------------------------------------
  66.            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'
  67.            ---- 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%%%% ----
  68.            STDOUT:
  69.            STDERR:
  70.            ---- 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%%%% ----
  71.            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
  72.        
  73.            Resource Declaration:
  74.            ---------------------
  75.            # In C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/my_cookbook/recipes/db.rb
  76.        
  77.             79: sql_server_install 'Install SQL Server 2017 Enterprise' do
  78.             80:   accept_eula true
  79.             81:   agent_account 'mydomain\\sqlagent'
  80.             82:   agent_account_pwd '*********'
  81.             83:   agent_startup 'Automatic'
  82.             84:   feature %w(SQLENGINE FULLTEXT CONN BC)
  83.             85:   install_dir 'S:\\Program Files\\Microsoft SQL Server'
  84.             86:   instance_dir 'S:\\Program Files\\Microsoft SQL Server'
  85.             87:   instance_name 'MSSQLSERVER'
  86.             88:   netfx35_install false
  87.             89:   package_checksum '6E6F9996..2AE845F'
  88.             90:   product_key '*****-*****-*****-*****'
  89.             91:   sa_password '*************'
  90.             92:   security_mode 'Mixed Mode Authentication'
  91.             93:   source_url 'X:\\setup.exe'
  92.             94:   sql_account 'mydomain\\sqlsrvr'
  93.             95:   sql_account_pwd '*********'
  94.             96:   sql_backup_dir 'R:\\Backups'
  95.             97:   sql_collation 'SQL_Latin1_General_CP1_CI_AS'
  96.             98:   sql_temp_db_dir 'T:\\Data'
  97.             99:   sql_temp_db_log_dir 'G:\\Logs'
  98.            100:   sql_user_db_dir 'D:\\Data'
  99.            101:   sql_user_db_log_dir 'G:\\Logs'
  100.            102:   sysadmins ['mydomain\\dba', 'mydomain\\sqldm']
  101.            103:   version '2017'
  102.            104: end
  103.            105:
  104.        
  105.            Compiled Resource:
  106.            ------------------
  107.            # Declared in C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/cookbooks/my_cookbook/recipes/db.rb:79:in `from_file'
  108.        
  109.            sql_server_install("Install SQL Server 2017 Enterprise") do
  110.              action [:install]
  111.              updated true
  112.              updated_by_last_action true
  113.              default_guard_interpreter :default
  114.              declared_type :sql_server_install
  115.              cookbook_name "my_cookbook"
  116.              recipe_name "db"
  117.              accept_eula true
  118.              agent_account "mydomain\\sqlagent"
  119.              agent_account_pwd "*********"
  120.              agent_startup "Automatic"
  121.              feature ["SQLENGINE", "FULLTEXT", "CONN", "BC"]
  122.              install_dir "S:\\Program Files\\Microsoft SQL Server"
  123.              instance_dir "S:\\Program Files\\Microsoft SQL Server"
  124.              instance_name "MSSQLSERVER"
  125.              netfx35_install false
  126.              package_checksum "6E6F9996..2AE845F"
  127.              product_key "*****-*****-*****-*****-*****"
  128.              sa_password "*************"
  129.              security_mode "Mixed Mode Authentication"
  130.              source_url "X:\\setup.exe"
  131.              sql_account "mydomain\\sqlsrvr"
  132.              sql_account_pwd "*********"
  133.              sql_backup_dir "R:\\Backups"
  134.              sql_collation "SQL_Latin1_General_CP1_CI_AS"
  135.              sql_temp_db_dir "T:\\Data"
  136.              sql_temp_db_log_dir "G:\\Logs"
  137.              sql_user_db_dir "D:\\Data"
  138.              sql_user_db_log_dir "G:\\Logs"
  139.              sysadmins ["mydomain\\dba", "mydomain\\sqldm"]
  140.              version "2017"
  141.              as_sysadmins ["Administrator"]
  142.              dreplay_ctlr_admins ["Administrator"]
  143.              update_source "MU"
  144.              shared_wow_dir "S:\\Program Files (x86)\\Microsoft SQL Server"
  145.              filestream_share_name "MSSQLSERVER"
  146.              browser_startup "Disabled"
  147.              rs_account "NT AUTHORITY\\NETWORK SERVICE"
  148.              rs_startup "Automatic"
  149.              rs_mode "FilesOnlyMode"
  150.              polybase_port_range "16450-16460"
  151.              is_master_port "8391"
  152.              as_svc_account "NT Service\\MSSQLServerOLAPService"
  153.            end
  154.        
  155.            System Info:
  156.            ------------
  157.            chef_version=17.1.35
  158.            platform=windows
  159.            platform_version=10.0.14393
  160.            ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x64-mingw32]
  161.            program_name=C:/opscode/chef/bin/chef-client
  162.            executable=C:/opscode/chef/bin/chef-client
  163.        
  164.        
  165.        Running handlers:
  166.        [2021-05-21T23:27:44+00:00] ERROR: Running exception handlers
  167.        Running handlers complete
  168.        [2021-05-21T23:27:44+00:00] ERROR: Exception handlers complete
  169.        Chef Infra Client failed. 21 resources updated in 05 minutes 34 seconds
  170.        [2021-05-21T23:27:44+00:00] FATAL: Stacktrace dumped to C:/Users/ADMINI~1/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
  171.        [2021-05-21T23:27:44+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
  172.        [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'
  173.        ---- 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%%%% ----
  174.        STDOUT:
  175.        STDERR:
  176.        ---- 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%%%% ----
  177.        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