Search found 10 matches

by davyp74
Thu Jul 13, 2006 3:22 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

rony wrote:What shell is cactiuser using?
I've tried all shell ... but it doesn't work!
Same problems!
by davyp74
Wed Jul 12, 2006 11:58 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

I stopped this activity because i've a big problem with my server.

Thank you for reply.
by davyp74
Wed Jul 12, 2006 3:10 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

Hi, i'm debuging poller.php. The error is on line 133: exec_background($command_string, "$extra_args $first_host $last_host"); The command generated is: /usr/bin/php -q /var/www/cacti/cmd.php 0 1 If i run this command from cacti user i get this error: -sh-2.05b$ /usr/bin/php -q /var/www/ca...
by davyp74
Tue Jul 11, 2006 12:33 pm
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

if i run (from cacti user):

php index.php

i see the code of index.php

I've installed this cacti-0.8.6h-1.1.fc2.rf and rrdtool-1.0.50-3.fc2.rf


tnx
by davyp74
Tue Jul 11, 2006 10:03 am
Forum: Help: Linux/Unix Specific
Topic: Device Localhost and snmp
Replies: 3
Views: 808

davyp74 wrote:
rony wrote:You need to define a SNMP Community before you will have any snmp enabled on localhost.
I setting is "public".
I create a new host and now snmp work.
The status of the localhost is still Unknown
by davyp74
Tue Jul 11, 2006 9:57 am
Forum: Help: Linux/Unix Specific
Topic: Device Localhost and snmp
Replies: 3
Views: 808

rony wrote:You need to define a SNMP Community before you will have any snmp enabled on localhost.
I setting is "public".
by davyp74
Tue Jul 11, 2006 9:50 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

Run the which as the Cacti user. Does the Cacti user have the abbility execute those files? [root@]# su - cacti -sh-2.05b$ which php /usr/bin/php -sh-2.05b$ which rrdtool /usr/bin/rrdtool -sh-2.05b$ php test Status: 404 X-Powered-By: PHP/4.4.2 Content-type: text/html No input file specified. -sh-2....
by davyp74
Tue Jul 11, 2006 9:24 am
Forum: Help: Linux/Unix Specific
Topic: Device Localhost and snmp
Replies: 3
Views: 808

Device Localhost and snmp

When i click on Device i see

SNMP Information
SNMP not in use

my snmpd is started and exist a snmpd.conf on /etc/snmp/snmpd.conf

The status of my localhost is Unknow
by davyp74
Tue Jul 11, 2006 9:21 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

rony wrote:Confirm that the Settings for the paths to these executables are correctly set in the Cacti settings.
Cacti Setting:
PHP Binary Path = /usr/bin/php
RRDTool Binary Path = /usr/bin/rrdtool

Executable:
[root@]# which php
/usr/bin/php
[root@]# which rrdtool
/usr/bin/rrdtool

:(
by davyp74
Tue Jul 11, 2006 8:52 am
Forum: Help: Linux/Unix Specific
Topic: Problem with poller.php
Replies: 13
Views: 3958

Problem with poller.php

Hi, i've a problem when i run php poller.php from cacti user

-sh-2.05b$ php poller.php
sh: line 1: /php: No such file or directory
sh: line 1: /rrdtool: No such file or directory


help me please.