Re: [rrd-users] 500 Server Error in Apache

2007-08-15 Thread Geoff Garside
Glad you got it sorted, I was at a lost to what was causing the problem. Geoff On 15 Aug 2007, at 14:38, Kade Cole wrote: > I think I have found my problem and all is working now. I had > duplicated the variable names for the CDEFs. If you have one duplicate > variable name rrdcgi will tell you

Re: [rrd-users] 500 Server Error in Apache

2007-08-15 Thread Kade Cole
I think I have found my problem and all is working now. I had duplicated the variable names for the CDEFs. If you have one duplicate variable name rrdcgi will tell you and not generate a graph. If you have more than one duplicate variable name rrdcgi will just seg fault and crash. Once I made sure

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
Yes they all have the same permissions. Is there anyway to see what version of rrdcgi I am running just to verify? I tried -v, -V, --version, none seem to work. Kade On 8/13/07, Geoff Garside <[EMAIL PROTECTED]> wrote: > Permissions on the related RRDs on those lines all kosher? > > Geoff > > On

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Geoff Garside
Permissions on the related RRDs on those lines all kosher? Geoff On 13 Aug 2007, at 16:52, Kade Cole wrote: > I tried all of the above. Still have the same problem. If I remove > some of the lines it will start to work. eg. > >DEF:AP462101=/usr/local/www/MRTG/WIRELESSAP/evergreen/clients- >

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
I tried all of the above. Still have the same problem. If I remove some of the lines it will start to work. eg. DEF:AP462101=/usr/local/www/MRTG/WIRELESSAP/evergreen/clients-ap-46.2.10.rrd:ds0:AVERAGE --- remove above line and all lines to and including --- GPRINT:AP46213:MAX:%2.0lf Kade On

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Geoff Garside
When you removed the space was it to change it from #! /usr/local/bin/rrdcgi to #!/usr/local/bin/rrdcgi or #! /usr/local/bin/rrdcgi or both? Geoff On 13 Aug 2007, at 16:05, Kade Cole wrote: > I tried without the space. Th

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
This is the output that I received: prompt:/root# /usr/local/bin/rrdcgi < /usr/local/www/cgi-bin/wireless-buildings-rrd.cgi (offline mode: enter name=value pairs on standard input) ERROR: expected a filename Kade On 8/13/07, Geoff Garside <[EMAIL PROTECTED]> wrote: > If you remove the #! portion

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Geoff Garside
If you remove the #! portion and try $ /usr/local/bin/rrdcgi < wireless-buildings-rrd.cgi do you get the same thing? Geoff On 13 Aug 2007, at 16:05, Kade Cole wrote: > I tried without the space. That did not help. I also tried running on > the command line but I am unable to figure th

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
I tried without the space. That did not help. I also tried running on the command line but I am unable to figure that out. All it says is (offline mode: enter name=value pairs on standard input). Then it just hangs. I tried pasting in the following line: DEF:AP46111=/usr/local/www/MRTG/WIRELESS

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Geoff Garside
On 13 Aug 2007, at 15:38, Kade Cole wrote: > Sorry should have included that in the first email: > [Mon Aug 13 09:37:26 2007] [error] [client X.X.X.X] Premature end of > script headers: wireless-buildings-rrd.cgi > > Kade > > On 8/13/07, Geoff Garside <[EMAIL PROTECTED]> wrote: >> >> On 13 Aug 200

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Geoff Garside
On 13 Aug 2007, at 15:26, Kade Cole wrote: > I have the following config file that I am having trouble getting to > work with rrdcgi. It will not load the page. I get a 500 Internal > Server Error with Apache/2.0.59 running on FreeBSD 6.2. It will run > fine if I cut some of the variables or CDEF

Re: [rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
Sorry should have included that in the first email: [Mon Aug 13 09:37:26 2007] [error] [client X.X.X.X] Premature end of script headers: wireless-buildings-rrd.cgi Kade On 8/13/07, Geoff Garside <[EMAIL PROTECTED]> wrote: > > On 13 Aug 2007, at 15:26, Kade Cole wrote: > > > I have the following c

[rrd-users] 500 Server Error in Apache

2007-08-13 Thread Kade Cole
I have the following config file that I am having trouble getting to work with rrdcgi. It will not load the page. I get a 500 Internal Server Error with Apache/2.0.59 running on FreeBSD 6.2. It will run fine if I cut some of the variables or CDEFs out. I was wondering if anyone had any ideas what t