Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The command:
- foreman-installer --foreman-admin-email={{ rootemail }} --foreman-admin-password={{ foreman_admin_pass }}
- --foreman-admin-username={{ foreman_user }} --foreman-db-adapter={{ foreman_db_adapter }}
- --foreman-db-database={{ foreman_database }} --foreman-db-host=localhost
- --foreman-db-manage=false --foreman-db-password={{ foreman_db_pass }}
- --foreman-foreman-url {{ foreman_url }} --foreman-servername={{ foreman_servername }}
- --foreman-client-ssl-key="{{ ssl_certificate_info.ssl_dir }}{{ ssl_certificate_info.privatekey_dir }}/{{ cert_hostname }}{{ ssl_certificate_info.privatekey_ext }}"
- --foreman-client-ssl-cert="{{ ssl_certificate_info.ssl_dir }}{{ ssl_certificate_info.certificate_dir }}/{{ cert_hostname }}{{ ssl_certificate_info.certificate_ext }}"
- The error:
- /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.dev.mydomain.com]: Could not evaluate: Proxy foreman.dev.mydomain.com cannot be retrieved: unknown error (response 401)
- /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.dev.mydomain.com]: Failed to call refresh: Proxy foreman.dev.mydomain.com cannot be retrieved: unknown error (response 401)
- /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman.dev.mydomain.com]: Proxy foreman.dev.mydomain.com cannot be retrieved: unknown error (response 401)
- Installing Done [100%] [.........................................................................................................]
- Something went wrong! Check the log for ERROR-level output
- The apache error_log:
- [ 2016-08-17 16:26:11.6314 8145/7f1de72c0700 Pool2/Implementation.cpp:883 ]: Could not spawn process for group /usr/share/foreman#default: An error occured while starting up the preloader.
- in 'void Passenger::ApplicationPool2::SmartSpawner::handleErrorResponse(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:455)
- in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:566)
- in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:206)
- in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:752)
- in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:804)
- [ 2016-08-17 16:26:11.6315 8145/7f1de4f8a700 agents/HelperAgent/RequestHandler.h:2088 ]: [Client 20] Cannot checkout session.
- Error page:
- <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p>
- <pre class="commands">bundle install</pre>
- <p>If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:</p>
- <ol>
- <li>Is this app supposed to be run as the <code>nobody</code> user?</li>
- <li>Is this app being run on the correct Ruby interpreter? Below you will
- see which Ruby interpreter Phusion Passenger attempted to use.</li>
- </ol>
- <p>-------- The exception is as follows: -------</p>
- Could not find gem 'rails (= 4.2.6) ruby' in the gems available on this machine. (Bundler::GemNotFound)
- <pre> /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:296:in `resolve'
- /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:168:in `start'
- /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:129:in `block in resolve'
- /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:128:in `catch'
- /usr/lib/ruby/vendor_ruby/bundler/resolver.rb:128:in `resolve'
- /usr/lib/ruby/vendor_ruby/bundler/definition.rb:179:in `resolve'
- /usr/lib/ruby/vendor_ruby/bundler/definition.rb:114:in `specs'
- /usr/lib/ruby/vendor_ruby/bundler/definition.rb:159:in `specs_for'
- /usr/lib/ruby/vendor_ruby/bundler/definition.rb:148:in `requested_specs'
- /usr/lib/ruby/vendor_ruby/bundler/environment.rb:18:in `requested_specs'
- /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:13:in `setup'
- /usr/lib/ruby/vendor_ruby/bundler.rb:120:in `setup'
- /usr/lib/ruby/vendor_ruby/bundler/setup.rb:17:in `<top (required)>'
- /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
- /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
- /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:245:in `block in run_load_path_setup_code'
- /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:348:in `running_bundler'
- /usr/lib/ruby/vendor_ruby/phusion_passenger/loader_shared_helpers.rb:243:in `run_load_path_setup_code'
- /usr/share/passenger/helper-scripts/rack-preloader.rb:100:in `preload_app'
- /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
- /usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
- /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'</pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement