(OSM) SMTP packet inspection

2 posts Page 1 of 1
maxo-tt
Junior Member
Posts: 1
Joined: 12 Feb 2019, 20:53


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
Sarah
Moderator
Posts: 802
Joined: 09 Dec 2006, 22:49


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:
2 posts Page 1 of 1