Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord

file for specific os question
(8 lines)
Dec 21, 2011
Joehillen
Joehillen
I'm trying to setup a new puppet setup (master and clients). I installed 
puppet v2.7.9 from the apt.puppetlabs.com repo. I setup async_storeconfigs 
with mysql and stompserver.

When I try to run, puppet agent --test --noop, on the client I get this 
message.

err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Could not autoload active_record: uninitialized constant ActiveRecord

There are on actual storeconfigs written yet.

I saw a similar error to this on the mailing list, but that was from 
someone who installed from gems.

Thanks,

-Joe





Reply
Tags: nooppuppet
Stored config error "Could not autoload active_record: uninitialized constant ActiveRecord"
November 14, 2011 08:56:23 AM
Hi, Attempting to get Puppet, Ruby Ent, Foreman, and Passenger working on Centos 6 but ran into this problem with stored configs. Tried getting stored configs working through MySQL but when I run = >puppet agent --test --debug --no-daemonize…
Could not autoload inventory_active_record: uninitialized constant ActiveRecord
April 30, 2011 02:04:07 AM
Trying to set up the inventory service on puppet 2.6.8, pretty sure I've met all the dependencies but puppetmaster logs Could not autoload inventory_active_record: uninitialized constant ActiveRecord When clients attempt to connect. local gems: …
The error: uninitialized constant MongoMapper::Plugins::Persistence::ClassMethods::NotSupported
October 8, 2011 05:34:51 AM
I get an error when i switch my rails app from development to production. Name error uninitialized constant MongoMapper::Plugins::Persistence::ClassMethods::NotSupported the app works well in development environment ruby version 1.8.7…
NameError: uninitialized constant Project::Plugins
August 1, 2011 07:07:23 PM
Does MongoMapper work with ruby 1.9.1? I get this error: Error message: uninitialized constant Project::Plugins Exception class: NameError /local/ruby/lib/ruby/gems/1.9.1/gems/mongo_mapper-0.9.1/lib/ mongo_mapper/document.rb 38 in `block in '…
NameError: uninitialized constant MongoMapper::Plugins::Caching::ClassMethods
October 10, 2010 09:55:25 AM
I worked through the problems in my previous thread but am now encountering new issues. I receive the error below when trying to create a new object from the Project model, which is using mongo_mapper. ==== Console Output ==== irb(main):001:0>…
Created] (DTACLOUD-31) NameError - uninitialized constant Deltacloud::Drivers::YAML
April 1, 2011 07:13:07 PM
NameError - uninitialized constant Deltacloud::Drivers::YAML
NameError: uninitialized constant MongoMapper::Plugins::Persistence::ClassMethods::NotSupported
December 24, 2010 03:18:45 AM
Hi folks I've had a model working for some time, but now I suddenly get an error if I do this from Heroku console: >> LaserSystem.first NameError: uninitialized constant MongoMapper::Plugins::Persistence::ClassMethods::NotSupported …
Created] (DTACLOUD-104) Deltcloud API throws "uninitialized constant Net::HTTP::GET" when
November 15, 2011 04:26:37 AM
Deltcloud API throws "uninitialized constant Net::HTTP::GET" when clicking on the Buckets module
Created] (DTACLOUD-60) "uninitialized constant Deltacloud::BackendError" when RHEV-M backe
July 15, 2011 01:00:23 PM
"uninitialized constant Deltacloud::BackendError" when RHEV-M backend is down
ActiveRecord/Puppet error? Missing mysql2 gem.
April 11, 2011 02:43:25 PM
Hi, Building a new 2.7+storeconfigs+passenger puppetmaster and running into a problem: $ puppetd --server <puppetmaster> --verbose --waitforcert 60 -- environment=blah --test notice: Ignoring --listen on onetime run err: Could not retrieve…
MongoDB v1.8.2, Server Crash - Constant Socket Exceptions
July 21, 2011 09:21:08 AM
Hi, Last night, the server started to raise the following exception: DBException in process: socket exception Each time that any query is sent, we get this error. We can only get partial information back from the likes of running…
Error in mogadm check? Use of uninitialized value $data{"available"}
March 31, 2011 05:08:45 AM
Hi there, Here is my error: Use of uninitialized value $data{"available"} in division (/) at /usr/local/bin/mogadm line 491, <Sock_foo.bar.com:6001> line 2. Illegal division by zero at /usr/local/bin/mogadm line 493,…
Constant error when putting large data into HBase
December 1, 2011 02:49:43 AM
Hi, I've had a problem that has been killing for some days now. I am using CDH3 update2 version of Hadoop and Hbase. When I do a large amount of bulk loading into Hbase, some node always die. It's not just one particular node. But one of many nodes…
Created: (PIG-1619) Bad error message when a double constant is incorrectly specified
September 17, 2010 12:07:15 PM
Bad error message when a double constant is incorrectly specified
Servlet 3.0 Specific Error: Invalid byte tag in constant pool
July 19, 2011 09:56:40 PM
Hey guys, tomcat 7.0.19 Java 1.6.0_22 CentOS 5.6 I just switched the web.xml to servlet 3.0 (from a app running servlet 2.4 previously without issue) and now I'm seeing the following error (turned on fine logging in the util class): FINE:…
Resolved: (PIG-1619) Bad error message when a double constant is incorrectly specified
March 10, 2011 12:42:26 PM
[ https://issues.apache.org/jira/browse/PIG-1619?page=com.atlassian.jira .plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang resolved PIG-1619.
DO NOT REPLY New: Servlet 3.0 Specific Error: Invalid byte tag in constant pool
July 20, 2011 01:54:42 PM
https://issues.apache.org/bugzilla/show_bug.cgi?id=51536 Bug #: 51536 Summary: Servlet 3.0 Specific Error: Invalid byte tag in constant pool Product: Tomcat 7 Version: 7.0.19 …
Created] (THRIFT-1446) Compile error with Delphi 2009 in constant initializer
December 2, 2011 09:56:03 AM
Compile error with Delphi 2009 in constant initializer
New: sa-compile fails with re2c: error: line 207, column 2: unterminated string constant (missing &q
August 15, 2011 10:54:04 AM
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6649 Bug #: 6649 Summary: sa-compile fails with re2c: error: line 207, column 2: unterminated string constant (missing ") Product:…
Created] (THRIFT-1209) PHP compiler generates syntax error when for enums containing constant "
June 16, 2011 04:50:09 AM
PHP compiler generates syntax error when for enums containing constant "GLOBAL"
Heroku db:push error uninitialized constant Sequel::Postgres::PGError
January 3, 2011
I have a problem running the heroku db:pull and db:push commands. My app is running Rails 3 on the bamboo-ree-1.8.7 stack . I am new to Sequel and…
"uninitialized constant MongoMapper::Base" error when doing rake mongo:mongrate
January 30, 2011
I got the following error during my "rake mongo:mongrate" attempt: $ rake mongo:mongrate --trace (in /home/mei/Jobfully) ** Invoke mongo:mongrate…
Using Ruby Pony to send emails on RHEL4 I get error NameError - uninitialized constant Net::SMTP::OpenSSL:
April 1, 2011
I have a Ruby sinatra application am using Pony to send emails. It works fine from my windows box. But after deploying to RHEL4 server I get…
Uninitialized constant MysqlCompat::MysqlRes
March 13, 2011
I am getting uninitialized constant MysqlCompat::MysqlRes when I run rake db:migrate. So here is my story. I upgraded my system to snow leopard and…
Uninitialized constant MysqlCompat::MysqlRes
February 6, 2011
Trying to get a Rails app running on Snow Leopard. Downloaded mysql-5.5.8-osx10.6-x86_64.dmg and ran installer Ruby 1.8.7 (Default OS X version)…
Uninitialized constant MysqlCompat::MysqlRes with RubyMine
March 21, 2011
I'm getting this error when running the development environment through RubyMine 3.1. The mysql gem is attached, it's running off of Bundler.…
Rake aborted! uninitialized constant Mysql2
January 14, 2011
Mysql is working fine with PHP but somehow I couldnt connect to my DBs with ruby. Any idea? This is the error: Goksel-Mac-mini:blog geryit$ rake…
Problem installing mysql gem on Snow Leopard: uninitialized constant MysqlCompat::MysqlRes
December 22, 2009
Hi All I've got a problem trying to install the Ruby mysql gem driver. I recently upgraded to Snow Leopard and did the Hivelogic manual install of…
"NameError: uninitialized constant User::MongoMapper" trying to MongoMapper 'Getting Started'
May 12, 2011
Here's my irb session: irb(main):001:0> class User irb(main):002:1> include MongoMapper::Document irb(main):003:1> key :name, String…
ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away: using Parallel gem
March 11, 2011
I am using the Parallel gem with Rails3 and getting issues with mysql threads, even with a simple line like: Parallel.each(User.all, :in_processes…
Heroku Postgres Error: PGError: ERROR: relation "organizations" does not exist (ActiveRecord::StatementInvalid)
March 27, 2011
I'm having a problem deploying my Rails app to Heroku, where this error is thrown when trying to access the app: PGError: ERROR: relation…
Trying to use MAX(): "Fatal error: Undefined class constant"
January 9, 2011
Hi, $c = new Criteria(); $c->addSelectColumn('MAX('.Moto::matricula.')'); But i get this error: Fatal error: Undefined class constant 'matricula'…
Autoload php classes from multiple locations with subfolders from a mod_rewrite URL
April 6, 2011
I have an MVC style folder structure and I'm using subfolders in the filesystem. - an example would be 'view/classes/subfolder/classname.php' I'm…
Querying MySQL via ActiveRecord error
May 2, 2011
I am new to RoR. I am trying to see if my MySQL connection got set up correctly. I have this code in my controller: require 'rubygems' # Only if…
ActiveRecord "Mysql::Error: Lock wait timeout exceeded" with no apparent locks
January 24, 2011
Rails version: 2.3.8 Many times thoughout the day, my application will seemingly randomly return a 500 error with a corresponding entry in the…
Http error 500 :Internal Server error when trying to download .jad file from some particular location on server in Blackberry browser
April 6, 2011
I uploaded a blackberry app(.cod & .jad file) in some paricular location on server.Now when I am trying to downlaod the .jad file from my…
Uninitialized proxy passed to persist()
June 24, 2011
I am getting "uninitialized proxy passed to persist()" during persist of an object. What does this mean ? org.hibernate.PersistentObjectException:…
Getting a constant DNS for my EC2 instance
January 18, 2011
I have an EC2 instance. Every time I stop and start it, Amazon gives it a new IP and a new DNS. This is annoying because then I have to reconfigure…
I'd like to remove a constant from a URL with htaccess
January 25, 2011
Hello! I have a site with URL's like this: http://website.com/browse/wedding-service-providers/bridal-wear-and-accessories/ I'd like to remove…
Add constant value to numeric XML attribute
January 14, 2011
Background Add a constant value to numbers matched with a regular expression, using vim (gvim). Problem The following regular expression will match…