puppetdb.conf. / puppetserver problem

43 views
Skip to first unread message

Scott Hazelhurst

unread,
Dec 5, 2023, 12:20:46 PM12/5/23
to Puppet Users

Dear all

I've been running puppet 8 for a while successfully. Today when I tried to run it, something went wrong and when I restarted I found this

-- puppetdb restart -- seems to work fine
-- puppetserver restart -- fails 

journalctl doesn't provide any useful info but in the syslog there's a line 

Dec  5 13:32:45 puppet8 puppetserver[2934]: /etc/puppetlabs/puppetserver/conf.d/puppetdb.conf: 3: Document has trailing tokens after first object or array: 'server_urls'

This file /etc/puppetlabs/puppetserver/conf.d/puppetdb.conf contains


This has been fine and has not (consciously) been changed. I've checked that there are no funny white space characters and I've tried having and end of line and not having an end of line and seems consistent with https://www.puppet.com/docs/puppetdb/8/puppetdb_connection.html

I was running puppet 8 on Ubuntu 20.04 -- there was in the logs a complaint about running postgresql 12. So I upgraded to 22.04 so I could easily upgrade Postgres and updated puppet. But the same problems occur. The versions I am running are puppetserver    8.3.0-1jammy and puppetdb        8.2.0-1jammy 

I'd be very grateful for any help

Thanks

Scott


Reply all
Reply to author
Forward
0 new messages