Sympl-php-configure error

Problem Description

This morning, and once before, a few months ago, I got a cron email with the error message below.

I’m running almost all sites on PHP8.3 via FPM, to make sure my own PHP code is reasonably future proof and to satisfy some CMS which sometimes complain that the current Debian PHP version is out of date.

Everything seems to be working normally. I have a modified configuration in /etc/sympl/php/8.3/include.d/default.conf, adjusting number of FPM server processes to balance performance vs. memory.

What does this message mean, and should I do anything about it?

Any Error Messages

/etc/cron.hourly/sympl-php-configure:
diff: /etc/sympl/php/8.3/pool.d/default.conf-old: No such file or directory
rm: cannot remove '/etc/sympl/php/8.3/pool.d/default.conf-old': No such file or directory
===== /etc/cron.hourly/sympl-php-configure:595 =====
592             _echo "  Pool configuration changed, will reload PHP $php_version\n"
593             changed_conf="${changed_conf}${php_version}\n"
594             # remove the old config
595  >>>        rm "$pool_file-old"
596         else
597             # move the 'old' config back over the newly created one to retain
timestamps
598             mv "$pool_file-old" "$pool_file"
===== exited 1 =====

Environment

  • Sympl Version: 12
  • Sympl Testing Version: no
  • Debian Version: 12
  • Hardware Type: VPS
  • Hosted With: Bitfolk

Speculative, at best, but looking at sympl-php-configure I’m wondering if all instances of $pool_file-old should be ${pool_file}-old.

Nothing to worry about from this.

Most likely it’s a race condition, and the file has already been removed (or moved, or didn’t exist) — I’ll log an issue to fix the reporting.

1 Like

Thanks!
I wasn’t unduly worried, as there was no evidence of malfunction…