[Satellite 6] Unable to access Red Hat Satellite Web UI, `Not a directory @ dir_initialize - /bin/false/.facter/facts.d (Errno::ENOTDIR)`

Solution Verified - Updated -

Issue

  • Unable to access Red Hat Satellite Web UI as the following error appears on the web browser:
Not a directory @ dir_initialize - /bin/false/.facter/facts.d (Errno::ENOTDIR)
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/directory_loader.rb:80:in `open'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/directory_loader.rb:80:in `entries'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/directory_loader.rb:80:in `entries'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/directory_loader.rb:60:in `load'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/composite_loader.rb:10:in `block in load'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/composite_loader.rb:10:in `each'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/composite_loader.rb:10:in `load'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/collection.rb:158:in `load_external_facts'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/collection.rb:99:in `load'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/collection.rb:73:in `fact'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter/util/collection.rb:129:in `value'
  /opt/theforeman/tfm/root/usr/share/gems/gems/facter-2.4.0/lib/facter.rb:117:in `value'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.47/app/models/concerns/settings_branding.rb:12:in `branded_settings'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.47/app/models/concerns/settings_branding.rb:29:in `create_with_theme!'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.14/app/models/setting/foreman_tasks.rb:15:in `block (2 levels) in load_defaults'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.14/app/models/setting/foreman_tasks.rb:15:in `each'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.14/app/models/setting/foreman_tasks.rb:15:in `block in load_defaults'
  /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
  /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
  /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
  /opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/transactions.rb:208:in `transaction'
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.14/app/models/setting/foreman_tasks.rb:7:in `load_defaults'

Environment

Red Hat Satellite 6.2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content