OSM working fine, then breaks says no PCAP?

Post Reply
Serra
Junior Member
Posts: 25
Joined: 10 Dec 2006, 14:38
Location: Orange Park, FL
Contact:

OSM working fine, then breaks says no PCAP?

Post by Serra »

I've been using OSM for over a year and today I went in and it wasn't running saying it needs PCAP? I'm not sure what has happened, obviously, its been running for a while, so PCAP must have been installed. As I remember OSM isn't a self install, so I don't have the install documents.
Sarah
Moderator
Posts: 921
Joined: 09 Dec 2006, 22:49

Re: OSM working fine, then breaks says no PCAP?

Post by Sarah »

If you want to reinstall it, install instructions are in /etc/osm/install.txt. You could also try running this command:

Code: Select all

sh /etc/osm/osmpcap.sh
Then check the osmd log to ensure it installed correctly.

If you need us to take a look, please log a ticket on the helpdesk.
https://support.configserver.com/
Serra
Junior Member
Posts: 25
Joined: 10 Dec 2006, 14:38
Location: Orange Park, FL
Contact:

Re: OSM working fine, then breaks says no PCAP?

Post by Serra »

Sep 9 11:21:33 mag osmd[82629] [osmd]: daemon started
Sep 9 11:21:33 mag osmd[82629] [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/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /etc/osm/osmd.pl line 229.

Sep 9 11:21:33 mag osmd[82633] [logfile]: logfile/cwdcheck process started
Sep 9 11:21:33 mag osmd[82629] [osmd]: daemon stopped
Sep 9 11:21:54 mag osmd[82934] [osmd]: daemon started
Sep 9 11:21:54 mag osmd[82934] [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/532/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/532/lib/perl5/532 /opt/cpanel/perl5/532/site_lib/x86_64-linux-64int /opt/cpanel/perl5/532/site_lib) at /etc/osm/osmd.pl line 229.

Sep 9 11:21:54 mag osmd[82938] [logfile]: logfile/cwdcheck process started
Sep 9 11:21:54 mag osmd[82934] [osmd]: daemon stopped
Serra
Junior Member
Posts: 25
Joined: 10 Dec 2006, 14:38
Location: Orange Park, FL
Contact:

Re: OSM working fine, then breaks says no PCAP?

Post by Serra »

I did the script one line at a time and got this:

You appear to lack the pcap(3) library.
Sarah
Moderator
Posts: 921
Joined: 09 Dec 2006, 22:49

Re: OSM working fine, then breaks says no PCAP?

Post by Sarah »

You need to make sure you have installed all the rpms correctly as per the installation document. Try reinstalling by following the instructions are here:
https://www.configserver.com/cp/osminstaller.html

Pay close attention to any errors that come up.

If you have done that, there are no errors and it still does not work, we can't really help any further without taking a look at the server.
Post Reply