Page 2 of 4
Re: Error instaling fprobe on linux server
Posted: Wed Apr 22, 2015 6:43 pm
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
#
Re: Error instaling fprobe on linux server
Posted: Thu Apr 23, 2015 10:15 am
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.
Re: Error instaling fprobe on linux server
Posted: Thu Apr 23, 2015 10:24 am
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
Re: Error instaling fprobe on linux server
Posted: Thu Apr 23, 2015 10:47 am
by jolson
Does ./configure succeed now?
Re: Error instaling fprobe on linux server
Posted: Fri Apr 24, 2015 2:16 pm
by bosecorp
Nop, same result
Re: Error instaling fprobe on linux server
Posted: Fri Apr 24, 2015 2:41 pm
by jolson
Is the following package already installed? If not, please install it:
It's interesting that pcap.h was found in '/./ubstmp/sirsi2_usr/local/include/pcap.h'.
Re: Error instaling fprobe on linux server
Posted: Sun Apr 26, 2015 1:35 pm
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
#
Re: Error instaling fprobe on linux server
Posted: Mon Apr 27, 2015 9:34 am
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.
Re: Error instaling fprobe on linux server
Posted: Mon Apr 27, 2015 9:40 am
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
Re: Error instaling fprobe on linux server
Posted: Mon Apr 27, 2015 12:26 pm
by bosecorp
right, that is why the yum command said that it was already installed.
but then the configure command still fails.