Hi Martin,
Following on from your previous reply, I have taken the steps that you have
suggested. From here I have received two new errors. I have looked into
these and tried finding a solution and working through fixing them.
However, I have unfortunately had no success in doing so. I am
Best option is to completely remove the puppetdb service:
- stop puppetdb process
- uninstall puppetdb Package
- remove puppetdb conf dir /etc/puppetlabs/puppetdb
Now remove the puppetdb settings from puppet.conf file:
- storeconfigs = true
- storeconfigs_backend = puppetdb
- reports = puppetdb
Hi Martin,
I am trying to use puppetlabs-puppetdb. This is being installed via my
control repository. Unfortunately I am unable to start the service and
am running into the errors / issues that I have previously stated.
Thank you,
Kind regards,
Callum McCrorie
Junior Engineer/Project Management
Hi Callum,
in general we use Puppet to also manage the Puppet Server.
Usually we recommend using puppetlabs-puppetdb, which will take care on
postgresql and puppetdb and the required settings and even restart puppetserver
process.
Instead of trying to manually solve an issue, you should
Thank you Martin for your help with this.
I have tried implementing what you suggested above and moving the database
config to database.ini. Unfortunately there has been no change of outcome
when trying to start puppetdb or when running puppet agent. There is also
no new information / entries
Subname needs the PostgreSQL connection. Not the PuppetDB URL
Wrong:
subname = //localhost:8081/puppetdb
Right:
subname = //localhost:5432/puppetdb
In my config all the database config is not in config.ini but in database.ini
# /etc/puppetlabs/puppetdb/conf/database.ini
[database]
# The