[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]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing Software support and information 2008-12-02T10:29:31+13:00 https://steveshipway.org/forum/feed.php?f=2&t=1676 2008-12-02T10:29:31+13:00 2008-12-02T10:29:31+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8431#p8431 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
You might like to consider uninstalling all the RRDTool packages, then checking for RRD executables on the system ( find /usr -name 'RRD*' -print ) and removing them, before re-installing RRD on a clean system, probably with 'make site-perl-install' to get it into the system location. I've come across this problem before, but every time it has given a more helpful message (like 'incompatible module version') rather than just crashing. It may be that mod_perl causes this less helpful behaviour.

Statistics: Posted by stevesh — Tue Dec 02, 2008 10:29 am


]]>
2008-12-01T22:12:33+13:00 2008-12-01T22:12:33+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8427#p8427 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
I remove the
use lib '/usr/local/rrdtool/lib/perl';
use RRDs;
from routers2.cgi.

I added the /usr/local/rrdtool/lib/perl to the libadd in routers2.conf.

This now presented me with the problem it could not locate RRDs.pm
I then had to copy RRDs.pm from into /usr/local/rrdtool/lib/perl and now touch wood, it seems to have stabilised :)

Thanks
JohnnieMac

Statistics: Posted by JohnnieMac — Mon Dec 01, 2008 10:12 pm


]]>
2008-11-27T14:22:47+13:00 2008-11-27T14:22:47+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8423#p8423 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
You dont have to use mod_perl, but if you do, enable cachine mode in the routers2.conf with cache=yes and you'll get better performance.

If you're getting a segfault in Perl then there's an issue with your Perl install (and possibly your associated modules). I can't really help much with this. Even if the routers2 code weretotally buggy it should never give a segfault - it would give a Perl error. So, it seems that your installation of Perl has some problems in its compilation - is there an updated install package available?

Statistics: Posted by stevesh — Thu Nov 27, 2008 2:22 pm


]]>
2008-11-26T20:27:06+13:00 2008-11-26T20:27:06+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8418#p8418 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
Perl seems to be crashing out

Nov 25 13:50:58 fonsnagios1 kernel: routers2.cgi[3428]: segfault at 8aa0000 ip 080cc838 sp bfae0930 error 4 in perl[8048000+246000]
Nov 25 13:51:02 fonsnagios1 kernel: routers2.cgi[3450]: segfault at 8aa1000 ip 080cc838 sp bffd6580 error 4 in perl[8048000+246000]
Nov 25 13:51:06 fonsnagios1 kernel: routers2.cgi[3532]: segfault at 8aae000 ip 080cc838 sp bfa3eec0 error 4 in perl[8048000+246000]


On thing I did do to get routers2.cgi working was to add the following into router2.cgi just after the other lib statements
use lib '/usr/local/rrdtool/lib/perl';
use RRDs;


the perl version is 5.10.0 on suse 11 , installed via yast.

also should I be using mod_perl module on apache2? I don't think I am, it is installed but I have no ideal how to enable it?

Thanks for any help

JohnnieMac

Statistics: Posted by JohnnieMac — Wed Nov 26, 2008 8:27 pm


]]>
2008-11-21T01:25:22+13:00 2008-11-21T01:25:22+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8405#p8405 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
I have upgraded to rrd 1.3.4

Still seems to be a problem, I am going to delete the RRDs and see if that fixes my problem. It is not the end of the world since this is still in the development stage

I let you know how I get on.

Regards
John

Statistics: Posted by JohnnieMac — Fri Nov 21, 2008 1:25 am


]]>
2008-11-20T10:55:43+13:00 2008-11-20T10:55:43+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8403#p8403 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
Can you take a look at your web server's error log file, and see if there are any routers2 errors appearing in there?

You might also like to upgrade RRDtool to 1.3.4 as the previous 1.3.0-1.3.3 had some bugs to do with graph generation and update, though I think the lazy=no otion gets around all of these.

Statistics: Posted by stevesh — Thu Nov 20, 2008 10:55 am


]]>
2008-11-19T21:55:08+13:00 2008-11-19T21:55:08+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8401#p8401 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
Hope this helps in the diagnosis.

withdebug-6hrworking.JPG
withdebug-semiworking.JPG


Regards
John

Statistics: Posted by JohnnieMac — Wed Nov 19, 2008 9:55 pm


]]>
2008-11-19T20:33:10+13:00 2008-11-19T20:33:10+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8400#p8400 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]> I have updated to v2.20 and added lazy=no to the relevant section in routers2.conf

here is the cfg file
HongKong_A.cfg

# Created by
# /usr/local/mrtg-2/bin/cfgmaker --global "WorkDir: /usr/local/mrtg-2/rrds" --global "Htmldir: /usr/lo.......


### Global Config Options

# for UNIX
# WorkDir: /home/http/mrtg

# or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

EnableIPv6: no
WorkDir: /usr/local/mrtg-2/rrds
Htmldir: /usr/local/mrtg-2/www
Imagedir: /usr/local/mrtg-2/www/images
Options[_]: bits,growright
LogFormat: rrdtool
PathAdd: /usr/local/rrdtool/bin
LibAdd: /usr/local/rrdtool/lib/perl
Logdir: /usr/local/mrtg-2/rrds
RunAsDaemon: Yes
Interval: 1
RRDRowCount[_]: 1600
WithPeak[_]: ymw
Unscaled[_]: d

######################################################################
# System: xxxxx_Hong_Kong_A_2621XM
# Description: Cisco Internetwork Operating System Software
# IOS (tm) C2600 Software (C2600-I-M), Version 12.2(12c), RELEASE SOFTWARE (fc1)
# Copyright (c) 1986-2003 by cisco Systems, Inc.
# Compiled Wed 05-Feb-03 16:12 by kellythw
# Contact:
# Location:
######################################################################



### Interface 2 >> Descr: 'Serial0/0' | Name: 'Se0/0' | Ip: '172.16.1.142' | Eth: '' ###

Target[HongKong_A.Se0_0]: #Se0/0:xxxxxxxxx@172.24.200.93:
SetEnv[HongKong_A.Se0_0]: MRTG_INT_IP="172.16.1.142" MRTG_INT_DESCR="WAN Connection(Se0/0)"
MaxBytes[HongKong_A.Se0_0]: 193000
Title[HongKong_A.Se0_0]: WAN Connection(Se0/0)
routers.cgi*GraphStyle[HongKong_A.Se0_0]: mirror






myurl=http://fonsnagios1.internal.xxxxxxxxxxxxx.com/fonscharts/cgi-bin/routers2.cgi

dbpath = /usr/local/mrtg-2/rrds
graphpath = /usr/local/mrtg-2/www/graphs
graphurl = /graphs
confpath = /usr/local/mrtg-2/cfgs
cfgfiles = */*.cfg





Problem still exists



Thanks
John

Statistics: Posted by JohnnieMac — Wed Nov 19, 2008 8:33 pm


]]>
2008-11-19T09:51:40+13:00 2008-11-19T09:51:40+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8399#p8399 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
If you are using RRD 1.2.27+ or RRD 1.3.x it is possible you've hit the 'lazy mode RRD bug' - in this case, you need to add 'lazy = no' to the routers2.conf in the [routers.cgi] section. Since your error message appears to indicate an incorrect URL for the graph.

Another known problem is if you are using 'active only' mode and no subTargets are active there is an issue - Routers2 v2.20beta1 fixes this.

If the 'lazy mode' option does not fix things then please also let me have a copy of the relevant .cfg file (dont forget to obfuscate community strings etc :) )

Statistics: Posted by stevesh — Wed Nov 19, 2008 9:51 am


]]>
2008-11-19T01:49:42+13:00 2008-11-19T01:49:42+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8398#p8398 <![CDATA[Re: Problem Selecting Daily Graph Unscaled]]>
Also it means I have lost my RRD data.?


I have checked the Graph Directory and the Graphs has been created, although not being displayed in the Routers CGI GUI.

I have also rolled back to v2.18

Statistics: Posted by JohnnieMac — Wed Nov 19, 2008 1:49 am


]]>
2008-11-18T22:13:41+13:00 2008-11-18T22:13:41+13:00 https://steveshipway.org/forum/viewtopic.php?t=1676&p=8396#p8396 <![CDATA[Problem Selecting Daily Graph Unscaled]]>
Thanks for the tool.

I have created a directory structure for my CFG and everything looks to be in the correct location.

6hr, weekly, monthly work fine, All Graphs work fine, when i try and select daily I am getting a blank screen

The apache event log reports this
[Tue Nov 18 09:03:01 2008] [error] [client 172.31.207.248] File does not exist: /srv/www/htdocs/images, referer: http://fonsnagios1.interna
l.xxxxxxxxxxx.com/fonscharts/cgi-bin/routers2.cgi?rtr=BankOfNewYork%2FBONY_London_A.cfg&bars=Cami&xgtype=6&page=head&xgstyle=n&if=__interf
ace&xmtype=routers

I have a few site that daily works fine .


Version : v2.19
MRTG : 2.16.2

any ideas where should I be looking?

Statistics: Posted by JohnnieMac — Tue Nov 18, 2008 10:13 pm


]]>