Error instaling fprobe on linux server

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

The yum command does not say that it's already installed:
No package libpcap-devel available.
Error: Nothing to do
We need to figure out how to install the above package on your box. You may need to talk to whoever manages Satellite.

Could you run a repolist for us?

Code: Select all

yum repolist
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Error instaling fprobe on linux server

Post by bosecorp »

Yes it does.

# yum -y install libpcap*
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Nothing to do
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

libpcap and libpcap-devel are different packages - pcap.h is included in libpcap-devel, which is the package that is not being found by yum on your end.

I originally asked you to use 'yum install libpcap*' under the impression that it would also include libpcap-devel, but unfortunately that is not the case.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error instaling fprobe on linux server

Post by lmiltchev »

I believe you can check whether or not you are subscribed to the Optional channel by running the following command in the CLI:

Code: Select all

rhn-channel -l | grep -i optional
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Error instaling fprobe on linux server

Post by bosecorp »

I am subscribed
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

bosecorp,

We have a Red Hat test machine, and it can find 'libpcap-devel' with no issues. Can you do a yum search for it?

Code: Select all

yum search libpcap-devel
From Red Hat's support site:
In Red Hat Enterprise Linux 6, 'libpcap-devel' package is shipped via "Red Hat Enterprise Linux Server Optional (v. 6) Extended Update Support channel" .
You can download the package directly here: https://rhn.redhat.com/rhn/software/pac ... pid=586872
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Error instaling fprobe on linux server

Post by tgriep »

You could try and manually download and install it.
Here is one way to do that.

Code: Select all

wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/6.6/x86_64/os/Packages/libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
rpm -i libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Error instaling fprobe on linux server

Post by bosecorp »

Nothing.

# yum install libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Examining libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm: 14:libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64
libpcap-devel-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do

the package is already installed. but for some reason when I try to install fprobe doesn't recognize that is not installed
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

Attached to this post is the package that you need.

Please extract the .zip and get the .rpm file on to your linux machine that needs fprobe installed. After the file is on your fprobe machine, you will need to run the following against it:

Code: Select all

rpm -i libpcap-devel-1.0.0-6.20091201git117cb5.el6.x86_64.rpm
A .rpm file is a Red Hat Package Manager file - it will hook you up to the repository necessary to download libpcap-devel.

Please get the .rpm on your box and run the above command against it. After you have successfully installed the .rpm, run the following to install libpcap-devel:

Code: Select all

yum install libpcap-devel
Once this process is complete, you may be able to compile properly.


Note: If the rpm -i command complains of dependencies, you can also give this a shot:

Code: Select all

yum --nogpgcheck localinstall libpcap-devel-1.0.0-6.20091201git117cb5.el6.x86_64.rpm
Best,


Jesse
You do not have the required permissions to view the files attached to this post.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Error instaling fprobe on linux server

Post by bosecorp »

it's working. installing manually did the job

you can close this ticket now
Locked