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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...