Hi Christoph, it's most likely caused by systemd settings for the monit service. For more details and a solution, see here: https://bitbucket.org/tildeslash/monit/issues/1109/unable-to-monitor-php-fpm-unixsockets-on
Best regards, Martin > On 23. 11. 2025, at 13:38, Christoph Wagner <[email protected]> wrote: > > Hi, > > I have a issue when trying to run bash scripts from monit on Trixie that work > just fine on Bookworm. > The script configuration is really simple: > > check program backup path /srv/service/monit/check-backup.sh > with timeout 1800 seconds > every "0-5 15,17 * * *" > if status != 0 then alert > > The script is accessing some ressources from /root which seems to be > impossible when being executed by monit: > > /srv/service/monit/check-backup.sh: line 5: /root/.local/bin/borgmatic: No > such file or directory > > Running the script from a ssh session works just fine. > I am probably missing something really stupid but I cannot figure out what's > wrong and would appreciate any hint what I am doing wrong. > > > Kind regards, > Christoph > >
