"Fun" getting 0.8.8 running

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Nixter
Posts: 2
Joined: Sat Apr 14, 2012 11:16 pm

"Fun" getting 0.8.8 running

Post by Nixter »

I finally got 0.8.8 working, but it was a bit rough. [skipping lots of details - sweat and tears too]

First problem was addressed by revision 7111: Graphs with CDEFs wouldn't generate. I wished I looked in SVN first. The fix was easy (replace two files), but it would have saved a lot of manually rebuilding stuff that was already working.

Second problem had me stumped for a day or so (sorry, I'm not a Cacti developer nor a PHP developer). None of my disk space graphs had the right values. Some had current disk usage greater than the total disk space. What I found was the following lines (looks like debug code to me) at about line 134 in script_server.php:

Code: Select all

fputs(STDOUT, "PHP Script Server has Started - Parent is " . $environ . "\n");
fflush(STDOUT);
I think this is causing the script to return "PHP Script Server has Started...." as the first value and throwing the index off by one for all values after that. in any case, commenting it out like below makes it all work.

Code: Select all

/* fputs(STDOUT, "PHP Script Server has Started - Parent is " . $environ . "\n");
fflush(STDOUT); */
Not sure how to file a bug, but hope this helps someone else get unstuck.

Nixter
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: "Fun" getting 0.8.8 running

Post by BSOD2600 »

Why where you were trying to use SVN code in production?
Nixter
Posts: 2
Joined: Sat Apr 14, 2012 11:16 pm

Re: "Fun" getting 0.8.8 running

Post by Nixter »

BSOD2600 wrote:Why where you were trying to use SVN code in production?
That wasn't really what I was doing. I installed the plain vanilla 0.8.8 code running and ran into problems that were already fixed in SVN. I pinched the solution out of SVN to get my server running.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests