Perl 5.18 to 5.20 Broke Bacula Database Backup Script

看板FB_questions作者時間11年前 (2014/06/11 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Jc5fJru (FB_questions)