Hi all. Im running 0.83a of Cacti on a Win2K server, with all Service Packs. The webserver is:
Win2K
Apache 1.24
PHP 4.33
Mysql 4
I can poll hosts, and get information. When i do a graph debug i can see the graph, and it has data. But when clicking on the "GRAPH" tab, cacti freezes. Any ideas? I went over the install guy over and over. Everything is right.
0.83a, Graphs just hang.
Moderators: Developers, Moderators
insight on no graphs being displayed
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.
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.
Set session.auto_start = 1
I am running windows XP and also have problems displaying the graph. When opening the graph display the browser hangs.
The problem with the sessions can be solved by changing the session.auto_start to 1 in the php.ini.
If you solved the problems with the graph I would be very thankfull if you posted it.
Let me know.
Jos
The problem with the sessions can be solved by changing the session.auto_start to 1 in the php.ini.
If you solved the problems with the graph I would be very thankfull if you posted it.
Let me know.
Jos
Hanging graphs on Windows platform is well known problem discussed here: http://www.raxnet.net/board/viewtopic.php?t=1811
- Piotr
- Piotr
Who is online
Users browsing this forum: No registered users and 2 guests