<p><br>
On Aug 30, 2012 3:21 PM, &quot;Andrei Vakhnin&quot; &lt;<a href="mailto:Andrey.A.Vakhnin@nasa.gov">Andrey.A.Vakhnin@nasa.gov</a>&gt; wrote:<br>
&gt;<br>
&gt; I&#39;ve installed Foreman v.1.0 to work with my Ovirt 3.1 install on rhel6 machines.<br>
&gt;<br>
&gt;<br>
&gt; foreman-ovirt-1.0.0-2.el6.noarch<br>
&gt; rubygem-foremancli-1.0-1.el6.noarch<br>
&gt; foreman-console-1.0.0-2.el6.noarch<br>
&gt; foreman-release-1.0.0-1.el6.noarch<br>
&gt; foreman-cli-1.0.0-2.el6.noarch<br>
&gt; foreman-vmware-1.0.0-2.el6.noarch<br>
&gt; foreman-sqlite-1.0.0-2.el6.noarch<br>
&gt; foreman-ec2-1.0.0-2.el6.noarch<br>
&gt; foreman-postgresql-1.0.0-2.el6.noarch<br>
&gt; foreman-libvirt-1.0.0-2.el6.noarch<br>
&gt; foreman-mysql-1.0.0-2.el6.noarch<br>
&gt; foreman-mysql2-1.0.0-2.el6.noarch<br>
&gt; foreman-proxy-1.0.0-2.el6.noarch<br>
&gt; foreman-1.0.0-2.el6.noarch<br>
&gt;<br>
&gt; When I attempt to start foreman I get following errors:<br>
&gt;<br>
&gt; [root@dsrvr130 avakhnin]# /etc/init.d/foreman start<br>
&gt; Starting foreman: /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10: warning: already initialized constant ENC_NONE<br>
&gt; /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11: warning: already initialized constant ENC_EUC<br>
&gt; /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12: warning: already initialized constant ENC_SJIS<br>
&gt; /usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13: warning: already initialized constant ENC_UTF8<br>
&gt; /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.15/lib/active_record/connection_adapters/abstract/connection_specification.rb:62:in `establish_connection&#39;: production database is not configured (ActiveRecord::AdapterNotSpecified)<br>

&gt;         from /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.15/lib/active_record/connection_adapters/abstract/connection_specification.rb:55:in `establish_connection&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.15/lib/active_record/railtie.rb:59<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/lazy_load_hooks.rb:26:in `on_load&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.15/lib/active_record/railtie.rb:57<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/initializable.rb:25:in `instance_exec&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/initializable.rb:25:in `run&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/initializable.rb:50:in `run_initializers&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/initializable.rb:49:in `each&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/initializable.rb:49:in `run_initializers&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/application.rb:134:in `initialize!&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/application.rb:77:in `send&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/railties-3.0.15/lib/rails/application.rb:77:in `method_missing&#39;<br>
&gt;         from /usr/share/foreman/config/environment.rb:5<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:242:in `require&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:242:in `require&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:225:in `load_dependency&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:597:in `new_constants_in&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:225:in `load_dependency&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:242:in `require&#39;<br>
&gt;         from /usr/share/foreman/<a href="http://config.ru:3">config.ru:3</a><br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `instance_eval&#39;<br>
&gt;         from /usr/lib/ruby/gems/1.8/gems/rack-1.2.5/lib/rack/builder.rb:46:in `initialize&#39;<br>
&gt;         from /usr/share/foreman/config.ru:1:in `new&#39;<br>
&gt;         from /usr/share/foreman/<a href="http://config.ru:1">config.ru:1</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></p>
<p>Did you define you databases in /usr/share/foreman/config/databases.yaml?  May be symlinked to /etc/foreman/databases.yaml.   error indicates no database adapter specified (sqlite, postgres, mysql, mysql2).</p>
<p>- Trey</p>