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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...