Page 1 of 1

(OSM) SMTP packet inspection

Posted: 12 Feb 2019, 20:58
by maxo-tt
hello guys,

when i enable Perform SMTP packet inspection osm daemon wont start

Code: Select all

Feb 13 00:56:18 server3 osmd[18423] [osmd]: daemon stopped
Feb 13 00:56:33 server3 osmd[18596] [osmd]: daemon started
Feb 13 00:56:33 server3 osmd[18596] [osmd]: Main Process: Can't locate Net/Pcap.pm in @INC (you may need to install the Net::Pcap module) (@INC contains: /etc/osm/Modules /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/526/lib64/perl5/5.26.0 /opt/cpanel/perl5/526/site_lib/x86_64-linux-64int /opt/cpanel/perl5/526/site_lib) at /etc/osm/osmd.pl line 229.

Feb 13 00:56:33 server3 osmd[18596] [osmd]: daemon stopped


vmware machine centos 7

p.s

i did yum install libpcap libpcap-devel already

Thanks

Re: (OSM) SMTP packet inspection

Posted: 13 Feb 2019, 17:35
by Sarah
Assuming you already installed PCAP on the server as per the installation instructions in install.txt, you need to reinstall the perl module mentioned in the errors by running this script:

Code: Select all

sh /etc/osm/osmpcap.sh
Then check the log (/etc/osm/osmpcap.log) to make sure it installed correctly: