amavisd: 无法识别的字符 \xBB;

amavisd: 无法识别的字符 \xBB;

我在启动 amavisd 时遇到问题。当我尝试开始时,/etc/init.d/amavis start 出现以下错误:

Starting amavisd: Problem in Amavis::DKIM code: Unrecognized character \xBB; marked by <-- HERE after <-- HERE near column 1 at /usr/lib/perl5/Net/DNS/RR/Unknown.pm line 1. Compilation failed in require at /usr/lib/perl5/Net/DNS/RR.pm line 15. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS/RR.pm line 15. Compilation failed in require at /usr/lib/perl5/Net/DNS/Packet.pm line 16. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS/Packet.pm line 16. Compilation failed in require at /usr/lib/perl5/Net/DNS/Resolver/Base.pm line 25. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS/Resolver/Base.pm line 25. Compilation failed in require at /usr/lib/perl5/Net/DNS/Resolver/UNIX.pm line 9. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS/Resolver/UNIX.pm line 9. Compilation failed in require at /usr/lib/perl5/Net/DNS/Resolver.pm line 19. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS/Resolver.pm line 22. Compilation failed in require at /usr/lib/perl5/Net/DNS.pm line 91. BEGIN failed--compilation aborted at /usr/lib/perl5/Net/DNS.pm line 91. Compilation failed in require at /usr/share/perl5/Mail/DKIM/DNS.pm line 14. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/DKIM/DNS.pm line 14. Compilation failed in require at /usr/share/perl5/Mail/DKIM/PublicKey.pm line 18. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/DKIM/PublicKey.pm line 18. Compilation failed in require at /usr/share/perl5/Mail/DKIM/Signature.pm line 13. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/DKIM/Signature.pm line 13. Compilation failed in require at /usr/share/perl5/Mail/DKIM/Verifier.pm line 13. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/DKIM/Verifier.pm line 13. Compilation failed in require at (eval 95) line 47. BEGIN failed--compilation aborted at (eval 95) line 47. (failed).

我认为任何文件中都有类似 BOM 的东西。但我在哪里可以找到它呢?我尝试通过搜索来查找错误,\xBB但没有成功。

答案1

我解决了这个问题。有很多 perl 模块我忘记安装了。我检查了依赖关系并安装了模块。现在运行得很好

相关内容