cacti 0.8.6a doesnt work at all.

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

Moderators: Developers, Moderators

Post Reply
aind
Posts: 3
Joined: Mon Oct 04, 2004 4:02 pm
Location: romania
Contact:

cacti 0.8.6a doesnt work at all.

Post by aind »

i am sorry to say that cacti 0.8.5 to 0.8.6 are very buggy and wont work..
last version i had that worked well was 0.8.3.

my specs:

gentoo linux
php 4.3.9
mysql 4.0.20
rrdtool 1.4.49

i spent the whole day trying to figure out why this wont work.it seems like it doesnt create rrds at all.

here is my setup:

- i downloaded the source code (0.8.6.a) ,i untarred it in a directory,made it available for a vhost,set rights to apache to the cacti directories.
- configured database,set rights to a user to the cacti database
- tried to set up some ping scripts and the built one but nothing is created in the rra directory.

here is the log:
10/05/2004 12:10:05 AM - SYSTEM STATS: Time: 2.2159 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
10/05/2004 12:10:04 AM - CMDPHP: Poller[0] Time: 0.7744 s, Theads: N/A, Hosts: 1
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/05/2004 12:10:04 AM - CMDPHP: Poller[0] Host[9] PING: Cannot connect to host
10/05/2004 12:10:04 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/localhost/htdocs/host.com/script_server.php
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/localhost/htdocs/host.com
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
10/05/2004 12:10:04 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/05/2004 12:10:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/host.com/cmd.php 0 9]
10/05/2004 12:05:03 AM - SYSTEM STATS: Time: 1.0532 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2
10/05/2004 12:05:03 AM - CMDPHP: Poller[0] Time: 0.4416 s, Theads: N/A, Hosts: 1
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/05/2004 12:05:03 AM - CMDPHP: Poller[0] Host[9] PING: Cannot connect to host
10/05/2004 12:05:03 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/localhost/htdocs/host.com/script_server.php
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/localhost/htdocs/host.com
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
10/05/2004 12:05:03 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/05/2004 12:05:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/host.com/cmd.php 0 9]

:evil: :cry:
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Aind,

Sorry to hear you had so many problems. We corrected an RRD bug last night and released 0.8.6a to production today. You should give it another try. Please post your results.

Don't spend an entire day before you post your questions to the board. Post and then just be patient. There are quite a few users who post fixes quite regularily. Sorry for the bad release by the way. It will get much better moving forward.

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?
aind
Posts: 3
Joined: Mon Oct 04, 2004 4:02 pm
Location: romania
Contact:

Post by aind »

TheWitness wrote:Aind,

Sorry to hear you had so many problems. We corrected an RRD bug last night and released 0.8.6a to production today. You should give it another try. Please post your results.

Don't spend an entire day before you post your questions to the board. Post and then just be patient. There are quite a few users who post fixes quite regularily. Sorry for the bad release by the way. It will get much better moving forward.

TheWitness
im runing that...

its like rrds are not created nor updated, i tried as user,as root,as apache..
look at these logs:
10/05/2004 01:00:06 AM - SYSTEM STATS: Time: 3.0433 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4
10/05/2004 01:00:06 AM - CMDPHP: Poller[0] Time: 0.7345 s, Theads: N/A, Hosts: 3
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
10/05/2004 01:00:06 AM - CMDPHP: Poller[0] Host[11] PING: Cannot connect to host
10/05/2004 01:00:06 AM - CMDPHP: Poller[0] Host[10] PING: Cannot connect to host
10/05/2004 01:00:06 AM - CMDPHP: Poller[0] Host[9] PING: Cannot connect to host
10/05/2004 01:00:06 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] DEBUG: FILENM: /var/www/localhost/htdocs/mrtg.rdspt.ro/script_server.php
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: /var/www/localhost/htdocs/mrtg.rdspt.ro
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] DEBUG: GETCWD: /root
10/05/2004 01:00:06 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
10/05/2004 01:00:03 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/localhost/htdocs/mrtg.rdspt.ro/cmd.php 0 11]
10/05/2004 12:57:21 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Ager2 - Traffic" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bps" DEF:a="/var/www/localhost/htdocs/mrtg.rdspt.ro/rra/ager2_in_36.rrd":out:AVERAGE DEF:b="/var/www/localhost/htdocs/mrtg.rdspt.ro/rra/ager2_in_36.rrd":in:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#7EE600:"Upload" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#4444FF:"Download" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
10/05/2004 12:57:20 AM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="Ager2 - Traffic" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bps" DEF:a="/var/www/localhost/htdocs/mrtg.rdspt.ro/rra/ager2_in_36.rrd":out:AVERAGE DEF:b="/var/www/localhost/htdocs/mrtg.rdspt.ro/rra/ager2_in_36.rrd":in:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#7EE600:"Upload" GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE1:cdefe#4444FF:"Download" GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

and nothing created in rra/

i even chmoded a+rw in that dir..

thx.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please post your poller cache. System Utilities->View Poller Cache.

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?
Guest

Post by Guest »

I'm having a similar problem as well. It was discussed in the thread "intermittent create/update rrd issues since 0.8.6 upgrade", but this now seems like the best thread for it.

I have installed cacti 0.8.6a and cactid 0.8.6a
php 4.3.9
rrdtool 1.0.49
mysql 4.0.20

When configured to use cactid with debug:
running poller.php results in one line:
10/05/2004 12:27:06 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/bin/cactid, ARGS: 0 274]
Waiting on 1/1 pollers.
This the only line in the log as well. It take about 10 seconds.

When configured to use cmd.php I recieve output for all of the checks, but there is no output regarding the rrdtool.

Please let me know what additional information I can provide. I currently run .0.8.4 on my production box, but I really like the new ui features 0.8.6.
aind
Posts: 3
Joined: Mon Oct 04, 2004 4:02 pm
Location: romania
Contact:

it works now.

Post by aind »

i hacked the lib/ping.php to show UP instead of DOWN no matter what and it works.
:)

Anonymous wrote:I'm having a similar problem as well. It was discussed in the thread "intermittent create/update rrd issues since 0.8.6 upgrade", but this now seems like the best thread for it.

I have installed cacti 0.8.6a and cactid 0.8.6a
php 4.3.9
rrdtool 1.0.49
mysql 4.0.20

When configured to use cactid with debug:
running poller.php results in one line:
10/05/2004 12:27:06 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/bin/cactid, ARGS: 0 274]
Waiting on 1/1 pollers.
This the only line in the log as well. It take about 10 seconds.

When configured to use cmd.php I recieve output for all of the checks, but there is no output regarding the rrdtool.

Please let me know what additional information I can provide. I currently run .0.8.4 on my production box, but I really like the new ui features 0.8.6.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cacti 0.8.6b will be released tonight. Make sure that your CACTID path is accurate and that CACTID runs properly from the command line.

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?
Polarizer
Posts: 3
Joined: Fri Oct 15, 2004 6:56 am

poller.php (not cmd.php)

Post by Polarizer »

Did you use poller.php (not cmd.php) to get your data?!
Polarizer @ its best

http://www.codixx.de/polarizer.html
Guest

Re: poller.php (not cmd.php)

Post by Guest »

Polarizer wrote:Did you use poller.php (not cmd.php) to get your data?!
yeah.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests