Trying to get Statistics running

As I have several others go through, I am having difficulty getting the
graphics portion of the RT Statistics pkg to work. I have RT setup to log
at the “debug” level but get no message when I try to access the statistics
page. The log is working because I see other entries.

My setup is:
Fedora Core 2
RT 3.2.2
Mod_perl 1.99
GD 2.0.32
GD::Graph 1.53
GD::Text 1.37

GD was loaded from an RPM. Graph and Text were loaded from cpan.

Leon,
What happens when the page loads? Do you get the rest of the
page, but nothing for the graph? (or maybe it displays a red X?) If so,
try right clicking on the place where the graphic is supposed to be and
saving it do disk. Then open it with and editor and see if it looks
reasonable, maybe there’s an extra line at the top of the file? (That’s
especially likely if you have an old version of RTFM installed). Also,
what does the URL for the graphic itself look like, and what happens if
you just paste that URL into a browser?

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-
bounces@lists.bestpractical.com] On Behalf Of leon@iwa-solutions.com
Sent: Wednesday, January 12, 2005 4:21 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] trying to get Statistics running

As I have several others go through, I am having difficulty getting
the
graphics portion of the RT Statistics pkg to work. I have RT setup to
log

At 07:16 AM 1/13/05, Kelly F. Hickel wrote:

Leon,
What happens when the page loads? Do you get the rest of the
page, but nothing for the graph? (or maybe it displays a red X?)

The page loads and I get a red X in place of the graph.

If so,
try right clicking on the place where the graphic is supposed to be and
saving it do disk.

There did not seem to be anything usable when I tried that
yesterday. Today when I try to select anything , within Statistics, beyond
the first page RT locks up and I have to restart Apache to clear it.
The RT log is set to “debug” but still shows nothing related to the
actiions. The Apache access and request logs are shown below.

[root@server rt]# tail ssl_request_log
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST / HTTP/1.1” 16034
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:03 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/index.html HTTP/1.1” 6036
[13/Jan/2005:09:36:04 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 5821
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:31 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:29 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 6043
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 8459
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[root@server rt]# tail ssl_access_log
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “POST / HTTP/1.1” 200 16034
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:03 -0700] “GET /Statistics/index.html
HTTP/1.1” 200 6036
192.168.0.x - - [13/Jan/2005:09:36:04 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 5821
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:31 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:29 -0700] “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 6043
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 200 8459
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932

At 07:16 AM 1/13/05, Kelly F. Hickel wrote:

Leon,
What happens when the page loads? Do you get the rest of the
page, but nothing for the graph? (or maybe it displays a red X?)

The page loads and I get a red X in place of the graph.

If so,
try right clicking on the place where the graphic is supposed to be and
saving it do disk.

There did not seem to be anything usable when I tried that
yesterday. Today when I try to select anything , within Statistics, beyond
the first page RT locks up and I have to restart Apache to clear it.
The RT log is set to “debug” but still shows nothing related to the
actiions. The Apache access and request logs are shown below.

[root@server rt]# tail ssl_request_log
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST / HTTP/1.1” 16034
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:03 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/index.html HTTP/1.1” 6036
[13/Jan/2005:09:36:04 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 5821
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:31 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:29 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 6043
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 8459
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[root@server rt]# tail ssl_access_log
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “POST / HTTP/1.1” 200 16034
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:03 -0700] “GET /Statistics/index.html
HTTP/1.1” 200 6036
192.168.0.x - - [13/Jan/2005:09:36:04 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 5821
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:31 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:29 -0700] “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 6043
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 200 8459
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932

-----Original Message-----
From: leon@iwa-solutions.com [mailto:leon@iwa-solutions.com]
Sent: Thursday, January 13, 2005 10:46 AM
To: Kelly F. Hickel
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] trying to get Statistics running

At 07:16 AM 1/13/05, Kelly F. Hickel wrote:

Leon,
What happens when the page loads? Do you get the rest of
the
page, but nothing for the graph? (or maybe it displays a red X?)

The page loads and I get a red X in place of the graph.

If so,
try right clicking on the place where the graphic is supposed to be
and
saving it do disk.

There did not seem to be anything usable when I tried that
yesterday. Today when I try to select anything , within Statistics,
beyond
the first page RT locks up and I have to restart Apache to clear it.
The RT log is set to “debug” but still shows nothing related to the
actiions. The Apache access and request logs are shown below.

[Kelly F. Hickel] Well, that seems fairly odd, I haven’t seen that one
before. Can you verify that libgd and GD::graph and GD::text outside of
apache/RT? Presumably the make test for the CPAN packages worked
(assuming that you didn’t have to use “force”).
I have to confess that I don’t have any good idea of what the problem is
or how to track it down.

-Kelly

[root@server rt]# tail ssl_request_log
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST /
HTTP/1.1”
16034
[13/Jan/2005:09:35:59 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:03 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/index.html HTTP/1.1” 6036
[13/Jan/2005:09:36:04 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 5821
[13/Jan/2005:09:36:14 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:31 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[13/Jan/2005:09:36:29 -0700] 192.168.0.x SSLv3 RC4-MD5 “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 6043
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 8459
[13/Jan/2005:09:36:35 -0700] 192.168.0.x SSLv3 RC4-MD5 “GET
/NoAuth/webrt.css HTTP/1.1” 6932
[root@server rt]# tail ssl_access_log
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “POST / HTTP/1.1” 200
16034
192.168.0.x - - [13/Jan/2005:09:35:59 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:03 -0700] “GET
/Statistics/index.html
HTTP/1.1” 200 6036
192.168.0.x - - [13/Jan/2005:09:36:04 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 5821
192.168.0.x - - [13/Jan/2005:09:36:14 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:31 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932
192.168.0.x - - [13/Jan/2005:09:36:29 -0700] “POST
/Statistics/TimeToResolve/index.html HTTP/1.1” 200 6043
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET
/Statistics/CallsQueueDay/index.html HTTP/1.1” 200 8459
192.168.0.x - - [13/Jan/2005:09:36:35 -0700] “GET /NoAuth/webrt.css
HTTP/1.1” 200 6932

Then open it with and editor and see if it looks
reasonable, maybe there’s an extra line at the top of the file?
(That’s
especially likely if you have an old version of RTFM installed).
Also,
what does the URL for the graphic itself look like, and what happens
if
you just paste that URL into a browser?


Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-
bounces@lists.bestpractical.com] On Behalf Of
leon@iwa-solutions.com
Sent: Wednesday, January 12, 2005 4:21 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] trying to get Statistics running

As I have several others go through, I am having difficulty
getting
the
graphics portion of the RT Statistics pkg to work. I have RT
setup to