Hi,
I'm trying to use Cacti to monitor ESXi, and I'm getting empty graphs. After some digging, I found out that when running the specific perl script as root, it is working fine, but when running as cacti web user (www-data), I get the following error.
/usr/bin/perl: symbol lookup error: /usr/lib/perl/5.14/auto/XML/LibXML/Common/Common.so: undefined symbol: Perl_Gthr_key_ptr
Does anybody know how to solve that?
Thanks,
Perl symbol lookup error
Moderators: Developers, Moderators
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Perl symbol lookup error
My first quess would be to check for differences in the $PATH environmental variable for the two users.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Perl symbol lookup error
Thanks! It looks like the PATH for root contains /root/perl5/bin. What I have found is that it looks like PERL modules were installed in /root/perl5 so that only root has access to them. Can you tell me how to install modules for all users?
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Perl symbol lookup error
I would say: follow the procedure for you distrobution. What distribution are you using? For Debian, something likecyberax wrote:Can you tell me how to install modules for all users?
Code: Select all
apt-get install perl
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 4 guests