Dashboards & Visualizations

Problem with estreamer_client.pl

enrique_rodrigu
Engager

When i tried execute the estreamer_client.pl script the console get back the next error

Can't locate NetAddr/IP.pm in @INC (@INC contains: /opt/splunk/etc/apps/eStreamer/bin/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/splunk/etc/apps/eStreamer/bin/lib/SFStreamer.pm line 141.
BEGIN failed--compilation aborted at /opt/splunk/etc/apps/eStreamer/bin/lib/SFStreamer.pm line 141.
Compilation failed in require at ./estreamer_client.pl line 73.
BEGIN failed--compilation aborted at ./estreamer_client.pl line 73.

but when i run the script whit the option perl -I /usr/bin/perl estreamer_client.pl

the client runs sucessfully

Nevertheless in the dashboard i get the same error when i run the estreamer_client

status="ERROR: Problems starting the eStreamer client (Can't locate NetAddr/IP.pm in @INC (@INC contains: /opt/splunk/etc/apps/eStreamer/bin/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/splunk/etc/apps/eStreamer/bin/lib/SFStreamer.pm line 141.BEGIN failed--compilation aborted at /opt/splunk/etc/apps/eStreamer/bin/lib/SFStreamer.pm line 141.Compilation failed in require at /opt/splunk/etc/apps/eStreamer/bin/estreamer_client.pl line 73.BEGIN failed--compilation aborted at /opt/splunk/etc/apps/eStreamer/bin/estreamer_client.pl line 73.)"

can anybody help me

I install splunk on centos 7

Tags (1)
0 Karma
1 Solution

enrique_rodrigu
Engager

Hi Everybody I was able to solve this problem, i did the following

sudo yum install perl-NetAddr-IP.x86_64
sudo yum install perl-Storable.x86_64
sudo yum install perl-IO-Socket-SSL.noarch
sudo yum install perl-Socket6.x86_64
sudo yum install perl-Getopt-Long.noarch

My SO is centos 7.0

View solution in original post

0 Karma

enrique_rodrigu
Engager

Hi Everybody I was able to solve this problem, i did the following

sudo yum install perl-NetAddr-IP.x86_64
sudo yum install perl-Storable.x86_64
sudo yum install perl-IO-Socket-SSL.noarch
sudo yum install perl-Socket6.x86_64
sudo yum install perl-Getopt-Long.noarch

My SO is centos 7.0

0 Karma

aaraneta_splunk
Splunk Employee
Splunk Employee

@enrique_rodriguez - Glad to hear that you found the solution to your question. Please click "Accept" below your answer so that others can easily find it if they run into the same issue. Thank you.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...