Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Longview with Perl 5.20
PostPosted: Fri Aug 15, 2014 1:25 pm 
Offline
Senior Newbie

Joined: Fri Jul 26, 2013 1:12 am
Posts: 7
Hello,

I am trying to install the longview client on my Linode with CentOS 6.5 and Perl v5.20.0 built for x86_64-linux. I am getting the following error in tail /var/log/linode/longview.log

Code:
08/15 17:12:23 INFO Longview[4909] - Starting Longview Agent version 1.1.4
08/15 17:12:23 INFO Longview[4910] - Loading module /opt/linode/longview/Linode/Longview/DataGetter/Disk.pm
08/15 17:12:23 WARN Longview[4910] - Can't locate syscall.ph in @INC (did you run h2ph?) (@INC contains: /usr/local/lib/perl5/site_perl/5.20.0/x86_64-linux /usr/local/lib/perl5/site_perl/5.20.0 /usr/local/lib/perl5/5.20.0/x86_64-linux /usr/local/lib/perl5/5.20.0 . /opt/linode/longview/Linode/../ /opt/linode/longview/Linode/../lib/perl5 /opt/linode/longview/Linode/../lib/perl5/x86_64-linux/ /opt/linode/longview/Linode/../usr/include) at /opt/linode/longview/Linode/Longview/DataGetter/Disk.pm line 34.
Compilation failed in require at /opt/linode/longview/Linode/../Linode/Longview/DataGetter.pm line 62.


Any ideas?

TIA


Top
   
PostPosted: Fri Aug 15, 2014 1:43 pm 
Offline
Senior Member

Joined: Mon Aug 29, 2011 2:34 am
Posts: 77
You're missing the perl header files that allow perl modules to make system calls directly. Generally these are included in your distro's packages, but I'm guessing you built perl from source, so that step probably wasn't done. You can run '/usr/local/bin/h2ph -a' as root to generate the needed perl header files so you can start Longview.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
PostPosted: Fri Aug 15, 2014 4:59 pm 
Offline
Senior Newbie

Joined: Fri Jul 26, 2013 1:12 am
Posts: 7
Thank you!

When I run '/usr/local/bin/h2ph -a'

I get this:

Code:
require '_h2ph_pre.ph';

no warnings qw(redefine misc);



Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group