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.
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Error instaling fprobe on linux server

Post by bosecorp »

root@nagmon:(04-22 19:41): /root
# whereis pcap.h
pcap:




root@nagmon:(04-22 19:42): /root
# yum -y install libpcap*
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
UBS-KITS-UBSLNX | 951 B 00:00
epel/metalink | 13 kB 00:00
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-x86_64-server-6 | 1.8 kB 00:00
rpmforge | 1.9 kB 00:00
Package 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 already installed and latest version
Nothing to do
root@nagmon:(04-22 19:42): /root
#
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

bosecorp,

Please run the commands in the order that I listed them - I believe that libpcap will need to be reinstalled in order to generate pcap.h.
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 »

# whereis pcap.h
pcap:

root@nagnetanalyzer:(04-23 11:22): /root
# yum -y remove libpcap*
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 will be erased
--> Processing Dependency: libpcap.so.1()(64bit) for package: 14:tcpdump-4.0.0-3.20090921gitdf3cb4.2.el6.x86_64
--> Running transaction check
---> Package tcpdump.x86_64 14:4.0.0-3.20090921gitdf3cb4.2.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
Package Arch Version Repository Size
=============================================================================================
Removing:
libpcap x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 @rhel-x86_64-server-6 307 k
Removing for dependencies:
tcpdump x86_64 14:4.0.0-3.20090921gitdf3cb4.2.el6 @rhel-x86_64-server-6 813 k

Transaction Summary
=============================================================================================
Remove 2 Package(s)

Installed size: 1.1 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : 14:tcpdump-4.0.0-3.20090921gitdf3cb4.2.el6.x86_64 1/2
Erasing : 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 2/2
Verifying : 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 1/2
Verifying : 14:tcpdump-4.0.0-3.20090921gitdf3cb4.2.el6.x86_64 2/2

Removed:
libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6

Dependency Removed:
tcpdump.x86_64 14:4.0.0-3.20090921gitdf3cb4.2.el6

Complete!
root@nagnetanalyzer:(04-23 11:22): /root
# yum -y install libpcap*
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
Package Arch Version Repository Size
=============================================================================================
Installing:
libpcap x86_64 14:1.4.0-1.20130826git2dbcaa1.el6 rhel-x86_64-server-6 130 k

Transaction Summary
=============================================================================================
Install 1 Package(s)

Total download size: 130 k
Installed size: 0
Downloading Packages:
libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64.rpm | 130 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 1/1
Verifying : 14:libpcap-1.4.0-1.20130826git2dbcaa1.el6.x86_64 1/1

Installed:
libpcap.x86_64 14:1.4.0-1.20130826git2dbcaa1.el6

Complete!
root@nagnetanalyzer:(04-23 11:22): /root

# find /. -name pcap.h
find: File system loop detected; `/./ubstmp/.snapshot/hourly.12' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.1' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.2' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.4' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.5' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.0' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.0' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.3' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.8' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.11' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.7' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.5' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.3' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.6' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.2' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.1' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.10' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/hourly.9' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/nightly.4' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/dcnnas2(1874416751)_vol5.12840' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/snapshot_17042015_ubs_test' is part of the same file system loop as `/./ubstmp'.
find: File system loop detected; `/./ubstmp/.snapshot/snapshot_17042015_133303_ubstest' is part of the same file system loop as `/./ubstmp'.
/./ubstmp/sirsi2_usr/local/include/pcap.h
find: `/./home/el872784': Permission denied
root@nagnetanalyzer:(04-23 11:22): /root
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

Does ./configure succeed now?
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 »

Nop, same result
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

Is the following package already installed? If not, please install it:

Code: Select all

yum install libpcap-devel
It's interesting that pcap.h was found in '/./ubstmp/sirsi2_usr/local/include/pcap.h'.
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 »

this is what I get


root@nagmon:(04-26 14:34): /root
# yum install libpcap-devel
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
UBS-KITS-UBSLNX | 951 B 00:00
epel/metalink | 15 kB 00:00
nagios-base | 1.5 kB 00:00
nagiosxi-deps | 1.5 kB 00:00
rhel-x86_64-server-6 | 1.8 kB 00:00
rpmforge | 1.9 kB 00:00
No package libpcap-devel available.
Error: Nothing to do
root@nagmon:(04-26 14:34): /root
#
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Error instaling fprobe on linux server

Post by jolson »

The libpcap-devel package is part of the 'base' repository. You will need access to the base repository in order to download it. It's worth noting that it looks like you're using Red Hat Satellite - you may have to enable access to the package through that.
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 in Red Hat Enterprise Linux 6, 'libpcap-devel' package is shipped via "Red Hat Enterprise Linux Server Optional (v. 6) Extended Update Support channel". See this post:

https://access.redhat.com/solutions/57913
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 »

right, that is why the yum command said that it was already installed.

but then the configure command still fails.
Locked