Win2k3 / IIS6

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

Moderators: Developers, Moderators

Post Reply
Chaelin
Posts: 1
Joined: Mon Sep 29, 2003 4:41 pm

Win2k3 / IIS6

Post by Chaelin »

I have Cacti 0.8.3a and am running Windows 2003 with IIS6. Have the system running just fine with the exception of displaying graphs. I have tweaked my RRDTool pathname and PHP executible path name but still can't seem to get my graphs to display. I have used both a scheduled task and wincron to create my rra files.

Any "you missed this" ideas?

Thanks!
SiRiC
Posts: 29
Joined: Mon Sep 15, 2003 7:54 am
Location: Barbados

Post by SiRiC »

Have you tried turning on the graph debug under Graph Management. This should give you an idea of the problem.
Guest

Yep.

Post by Guest »

When I turn on Graph Debugging, I get the Graph Debug section but I just get an "X" image....
jimchris
Posts: 4
Joined: Thu Oct 02, 2003 8:21 pm

insight on no graphs being displayed

Post by jimchris »

Fellow Cacti travelers on the Win32 side of the stream.



Here is some insight on no graphs being displayed.

Let me know if you see the same results.


Thx

Jim Christophersen
Windward Engineering
New York


Installed is Cacti 0.8.3a.

Supporting applications:

Apache 2.0.47-win32,
PHP 4.3.3-win32,
ActiveState Perl 5.8.806-MSWindows

The platform system is Win2k server/sp3 + IE6/SP1.


An interesting REPEATABLE sequence that does display a graph.


1. Launch Cacti's entry page & login as admin.

2. Choose the graph's tab.

3. Click the second tree( in my case a successfully polled router)


Watch the lower left corner of your browser, see the "graph_view.php?action=tree..."

wait 10 seconds and click on the browser stop button.


Ta Da we have a graph, it is consistent with the desired parameters.


So I turned on activestate's komodo IDE and ran "graph_view.php?action=tree..."


up came from within "cacti\include\auth.php"

PHP Warning: session_start(): Cannot send session cookie
- headers already sent in C:\Apache2\htdocs\cacti\include\auth.php on line 40


To confirm that it is a real issue, thanks to Welling & Thomson pg 435, open a file like phpinfo.php in the htdocs/cacti directory:


This is what I see

.........................................Web display of http://traffic.webnslookup.com:8080/cacti/phpinfo.php
test1
this is PHP.

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16
the contents of $sess_var is hello world

.........................................htdocs/cacti/phpinfo.php.....................................

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="SAPIEN Technologies PrimalScript 3.0">
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>

<!-- Insert HTML here -->
test1<br>

<?PHP

/* Insert your PHP code here */

echo "this is PHP.<br>";

session_start();
session_register("sess_var");
$sess_var = "hello world";
echo "the contents of \$sess_var is $sess_var<br>";

phpinfo();

?>

</BODY>
</HTML>
......................................................................................................

Let me know if any of you see a similar result.
jimchris
Posts: 4
Joined: Thu Oct 02, 2003 8:21 pm

insight on no graphs being displayed

Post by jimchris »

Fellow Cacti travelers on the Win32 side of the stream.



Here is some insight on no graphs being displayed.

Let me know if you see the same results.


Thx

Jim Christophersen
Windward Engineering
New York


Installed is Cacti 0.8.3a.

Supporting applications:

Apache 2.0.47-win32,
PHP 4.3.3-win32,
ActiveState Perl 5.8.806-MSWindows

The platform system is Win2k server/sp3 + IE6/SP1.


An interesting REPEATABLE sequence that does display a graph.


1. Launch Cacti's entry page & login as admin.

2. Choose the graph's tab.

3. Click the second tree( in my case a successfully polled router)


Watch the lower left corner of your browser, see the "graph_view.php?action=tree..."

wait 10 seconds and click on the browser stop button.


Ta Da we have a graph, it is consistent with the desired parameters.


So I turned on activestate's komodo IDE and ran "graph_view.php?action=tree..."


up came from within "cacti\include\auth.php"

PHP Warning: session_start(): Cannot send session cookie
- headers already sent in C:\Apache2\htdocs\cacti\include\auth.php on line 40


To confirm that it is a real issue, thanks to Welling & Thomson pg 435, open a file like phpinfo.php in the htdocs/cacti directory:


This is what I see

.........................................Web display of http://traffic.webnslookup.com:8080/cacti/phpinfo.php
test1
this is PHP.

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Apache2\htdocs\cacti\phpinfo.php:10) in C:\Apache2\htdocs\cacti\phpinfo.php on line 16
the contents of $sess_var is hello world

.........................................htdocs/cacti/phpinfo.php.....................................

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="SAPIEN Technologies PrimalScript 3.0">
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>

<!-- Insert HTML here -->
test1<br>

<?PHP

/* Insert your PHP code here */

echo "this is PHP.<br>";

session_start();
session_register("sess_var");
$sess_var = "hello world";
echo "the contents of \$sess_var is $sess_var<br>";

phpinfo();

?>

</BODY>
</HTML>
......................................................................................................

Let me know if any of you see a similar result.
infuseweb
Posts: 35
Joined: Wed Oct 29, 2003 5:30 pm

Post by infuseweb »

Jim, I'm not sure what that had to do with this post, but Chaelin, I get the same problem you do. Broken graphs, and broken image in test mode. Even in CGI mode. Even with FastCGI support on. Guess we're out of luck.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests