运行 nfsen 时,我的日志显示:
nfsen[24213]: ERROR: Can't locate PHP/Serialization.pm in @INC (you may need to install the PHP::Serialization module) (@INC contains: /usr/local/nfsen/plugins /usr/local/nfsen/libexec /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/local/nfsen/plugins/Events.pm line 84.#012BEGIN failed--compilation aborted at /usr/local/nfsen/plugins/Events.pm line 84.#012Compilation failed in require at /usr/local/nfsen/libexec/Nfcomm.pm line 514.
有没有简单的方法可以单独安装序列化模块?
答案1
该文件PHP/Serialization.pm
或更好的文件/usr/share/perl5/PHP/Serialization.pm
是该包的一部分libphp-serialization-perl
。
因此通过安装
sudo apt-get install libphp-serialization-perl