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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

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