Web application could not be started

Latest response

Hi Guys,

I keep on getting the error below every time i reboot my satellite :

I cant seem to find any solution online. Usually it fixes itself when you leave it for sometime, but this time its taking hours to switch to the login page. Any ideas?

===================================================
Web application could not be started
/usr/share/foreman/lib/foreman.rb:8: warning: already initialized constant Foreman::UUID_REGEXP
/usr/share/foreman/lib/foreman.rb:8: warning: previous definition of UUID_REGEXP was here
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-5.0.1.13/lib/foreman_theme_satellite/branded_words.rb:23: warning: invalid Unicode Property \p: /\b\perform various actions through those proxies\b(?!-)/
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_azure_rm-2.0.8/app/models/foreman_azure_rm/azure_rm_compute.rb:12: warning: circular argument reference - sdk
Application root
/usr/share/foreman
Environment (value of RAILS_ENV, RACK_ENV, WSGI_ENV and PASSENGER_ENV)
production
Ruby interpreter command
/usr/bin/tfm-ruby
User and groups

uid=994(foreman) gid=992(foreman) groups=992(foreman),995(qpidd) context=system_u:system_r:passenger_t:s0

I can also see the following lines on https error_log:

[ 2022-07-14 21:23:48.0113 1315/7f0b6b46e700 Pool2/Implementation.cpp:849 ]: Could not spawn process for group /usr/share/foreman#default: An error occurred while starting up the preloader: it did not write a startup response in time.
in 'void Passenger::ApplicationPool2::SmartSpawner::throwPreloaderSpawnException(const string&, Passenger::SpawnException::ErrorKind, Passenger::ApplicationPool2::Spawner::BackgroundIOCapturerPtr&, const DebugDirPtr&)' (SmartSpawner.h:150)
in 'std::string Passenger::ApplicationPool2::SmartSpawner::negotiatePreloaderStartup(Passenger::ApplicationPool2::SmartSpawner::StartupDetails&)' (SmartSpawner.h:558)
in 'void Passenger::ApplicationPool2::SmartSpawner::startPreloader()' (SmartSpawner.h:206)
in 'virtual Passenger::ApplicationPool2::ProcessPtr Passenger::ApplicationPool2::SmartSpawner::spawn(const Passenger::ApplicationPool2::Options&)' (SmartSpawner.h:744)
in 'void Passenger::ApplicationPool2::Group::spawnThreadRealMain(const SpawnerPtr&, const Passenger::ApplicationPool2::Options&, unsigned int)' (Implementation.cpp:782)

[ 2022-07-14 21:23:48.0117 1315/7f0b69548700 agents/HelperAgent/RequestHandler.h:1971 ]: [Client 20] Cannot checkout session. An error occurred while starting up the preloader: it did not write a startup response in time.

Responses