Matt Zagrabelny
09/04/2026, 2:45 PMAug 29 12:23:12 puppet-7-2 puppet-agent[2136111]: Unable to fetch my node definition, but the agent run will continue:
Aug 29 12:23:12 puppet-7-2 puppet-agent[2136111]: Error 500 on SERVER: Server Error: Exception while executing '/opt/bin/puppet-enc': Cannot run program "/opt/bin/puppet-enc" (in directory "."): error=0, Failed to exec spawn helper: pid: 2136113, exit value: 1
Aug 29 12:23:15 puppet-7-2 java[2136247]: Incorrect Java version: 17.0.20+8-1-deb12u1-Debian
Aug 29 12:23:15 puppet-7-2 java[2136247]: jspawnhelper version 17.0.20.1+1-1-deb12u1-Debian
Aug 29 12:23:15 puppet-7-2 java[2136247]: This command is not for general use and should only be run as the result of a call to
Aug 29 12:23:15 puppet-7-2 java[2136247]: ProcessBuilder.start() or Runtime.exec() in a java application
Aug 29 12:23:15 puppet-7-2 puppet-agent[2136111]: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Failed when searching for node <http://puppet-7-2.example.com|puppet-7-2.example.com>: Exception while executing '/opt/bin/puppet-enc': Cannot run program "/opt/bin/puppet-enc" (in directory "."): error=0, Failed to exec spawn helper: pid: 2136247, exit value: 1
A simple restart of puppetserver (systemctl restart puppetserver) fixes
things. I know I can configure apt to restart puppetserver upon package
upgrades. Is that the correct solution from the puppetserver's point of view
or am I missing a config option that I should be looking at?
Thanks for the help!