Date: Wed, 11 Jun 2014 08:09:30 -0500 From: dweimer <dweimer@dweimer.net> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Perl 5.18 to 5.20 Broke Bacula Database Backup Script Message-ID: <1dec5abd12c78e689c8914a8ec7e05db@dweimer.net>
next in thread | raw e-mail | index | archive | help
I upgraded my FreeBSD 10 Bacula server's Perl installation from 5.18 to 5.20 yesterday. This morning I discovered that the the Bacula Catalog backup script failed. 2014-06-11 07:37:35 bacula-dir JobId 1809: shell command: run BeforeJob "/usr/local/share/bacula/make_catalog_backup.pl MyCatalog" 2014-06-11 07:37:35 bacula-dir JobId 1809: BeforeJob: env: perl: No such file or directory 2014-06-11 07:37:35 bacula-dir JobId 1809: Error: Runscript: BeforeJob returned non-zero status=127. ERR=Child exited with code 127 Examining the script file fond the first line of: #!/usr/bin/env perl Modifying it to: #!/usr/bin/env /usr/local/bin/perl Resolves the issue. It appears from looking at one of my FreeBSD 10 systems that I haven't made the upgrade to 5.20 yet, that the perl link was created as /usr/bin/perl instead of /usr/local/bin/perl Was this change intentional? Shouldn't there be a note in /ust/ports/UPDATING or the like pointing this out? I am guessing its likely that other ports / scripts could be effected by this. -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1dec5abd12c78e689c8914a8ec7e05db>