Graphics are gone after PHP update

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Viperb0y
Posts: 5
Joined: Sun Oct 02, 2005 5:43 pm
Contact:

Graphics are gone after PHP update

Post by Viperb0y »

Hallo,

my graphics don't get displayed anylonger after an php update...

Here output of cmd.php

Code: Select all

viper@xxxx/var/www/viper/xxxxt/html $ php cmd.php
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[8] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[9] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[10] WARNING: Result from CMD not valid.  Partial Result:
sh: /perl: Datei oder Verzeichnis nicht gefunden
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Host[1] DS[11] WARNING: Result from CMD not valid.  Partial Result:
03/06/2007 07:49:42 AM - CMDPHP: Poller[0] Time: 0.0478 s, Theads: N/A, Hosts: 1
"Datei oder Verzeichnis nicht gefunden" => File or Directory not found

Somebody may know what this is? Perl does work without any problems on the Server.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I think you need to specify the full path to the PERL binaries for this to work. For example, instead of just PERL, it would need to be /usr/bin/perl

Hope this is of some help.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Viperb0y
Posts: 5
Joined: Sun Oct 02, 2005 5:43 pm
Contact:

Post by Viperb0y »

Hi,

I set the full path. I never changed it since installation :-/ Anybody else got a tipp for me?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Run it in DEBUG one time. If you did not change anything else, I would say something is wrong with PHP. What does your poller cache show?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Viperb0y
Posts: 5
Joined: Sun Oct 02, 2005 5:43 pm
Contact:

Post by Viperb0y »

Hi,

now I know why it doesn't worked:

I enabled safe_mode and forgot to set the safe_mode_exec_dir = /usr/bin variable.. after I did that it works!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests