[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - trend.cgi errors
Cheshire Cat Computing
http://mail.steveshipway.org/forum/

trend.cgi errors
http://mail.steveshipway.org/forum/viewtopic.php?f=17&t=335
Page 1 of 1

Author:  cato [ Sat Aug 07, 2004 2:58 am ]
Post subject:  trend.cgi errors

I am trying to get the trend.cgi to work but am having some difficulty.
Using the .7 release from newest beta, under linux, and i have added trendurl = /cgi-bin/trend.cgi to the routers2.conf file.
I've got the correct path set for perl rrdtool and /tmp and i know the permissions on the /tmp are good.

I get this error on the page:
Error message:
Premature end of script headers: trend.cgi
No debug info file in the /tmp even with it enabled.

This is what i see in the apache error log.

[Fri Aug 06 08:46:29 2004] [error] [client 192.168.61.29] BEGIN failed--compilation aborted at /var/www/cgi-bin/trend.cgi line 37., referer: http://redhat/cgi-bin/routers2.cgi?rtr= ... 72.0.0.2_2
[Fri Aug 06 08:50:51 2004] [error] [client 192.168.61.29] Premature end of script headers: trend.cgi, referer: http://redhat/cgi-bin/routers2.cgi?rtr= ... diskspace1
[Fri Aug 06 08:50:51 2004] [error] [client 192.168.61.29] Can't locate RRDs.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at /var/www/cgi-bin/trend.cgi line 37., referer: http://redhat/cgi-bin/routers2.cgi?rtr= ... diskspace1
[Fri Aug 06 08:50:51 2004] [error] [client 192.168.61.29] BEGIN failed--compilation aborted at /var/www/cgi-bin/trend.cgi line 37., referer: http://redhat/cgi-bin/routers2.cgi?rtr= ... diskspace1

If it helps my RRDs.pm is located here: /usr/local/RRDtool/lib/perl/RRDs.pm

Author:  stevesh [ Sat Aug 07, 2004 1:55 pm ]
Post subject: 

The problem is (as your apache logs say) that it cannot find RRDs.pm. This is because, although routers2.cgi uses some additional magic to try and find the RRDs, trend.cgi does not. I'll have to add in code to check the .cfg file for more library paths -- I'm working on v1.0b2 at the moment, so 1.0b3 should have this added (fingers crossed).

In the meantime, to make trend.cgi work, you will need to do a site-perl install of RRDs.pm. Either run the RRDTool install for site-perl (I think under UNIX this is 'make site-perl-install') or copy the RRDs.pm and the auto/RRDs directory to your perl site-perl directory. I think the RRDTool documentation has more information about how to install the Perl modules into the site-perl path.

Steve

Author:  cato [ Sun Aug 08, 2004 2:46 pm ]
Post subject: 

that did the trick. thanks again

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/