Ask Your Question

Cannot load such file -- sqlite3

asked 2013-09-23 19:40:18 -0500

theillien gravatar image

I'm trying to connect an OSS agent (v3.0.2) to a PE master (3.2.4). I've worked through a few errors, but have hit one that I can't find much information on:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: cannot load such file -- sqlite3
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I'm running PuppetDB which is connected to PostgreSQL. I don't know what the sqlite3 thing is. I'm not trying to push sqlite3 to any agents via classes. What might ... (more)

edit retag flag offensive close merge delete


Why aren't you using a PE client to connect to a PE master?

ken gravatar imageken ( 2013-09-24 05:59:24 -0500 )edit

Because it isn't necessary to do so. The OSS agent is compatible with the PE master as long as the agent isn't newer than the master.

theillien gravatar imagetheillien ( 2013-09-24 11:12:07 -0500 )edit

I'm aware of the compatibility, just curious as to the 'why' as this makes it harder for our support people to support your PE installation. Anyway, the problem sounds ...(more)

ken gravatar imageken ( 2013-09-24 14:36:48 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-24 00:26:11 -0500

rahul khengare gravatar image

SQLite is a SQL database engine used for database purpose.

Puppet uses a technique called stored configuration, enabled with the storeconfigs configuration option, to store data in a database. This technique makes use of the Ruby on Rails framework and one of three database back-ends: SQLite (the default; not suitable for production use), MySQL or PostgreSQL.

I think in your machine puppet uses sqlite3 database for storing data into database default. cannot load such file -- sqlite3 error is occurred due to sqlite3 gem is not present on your machine and puppet trying to use sqlite database.

Check whether puppetDB is ... (more)

edit flag offensive delete link more


I have PuppetDB running. It is installed by default when installing PE. Also by default, it is configured to utilize a PostgreSQL database (the OSS version might be different, but ...(more)

theillien gravatar imagetheillien ( 2013-09-24 11:14:10 -0500 )edit

Rahul is spot on, it's trying to fall back to sqlite3 for stored configs or inventory services. I don't think the answer is to install the gem however ...(more)

ken gravatar imageken ( 2013-09-24 14:39:37 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-09-23 19:40:18 -0500

Seen: 788 times

Last updated: Sep 24 '13