Re: Migration of cricket to new host results in duplicated paths in URLs

Jared Gillis <[email protected]> Fri, 28 Mar 2008 10:20:08 -0700
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Thanks Mike!

Right after I wrote this I finally found the magic google search term that led me to this fix:

https://sourceforge.net/tracker/?func=detail&atid=101210&aid=1432453&group_id=1210

It would sure be nice if someone released a new version of cricket that had all the necessary hacks in place to get it to work on modern systems (RRD ver 0003, x86_64, etc).

Mike Fisher wrote:
> It's a bug (feature?) in the newer versions of CGI.pm.  I just hit the same
> issue last week. There's a bug filed on sourceforge, but I didn't see a
> patch.  I'm using a highly modified version of grapher, but the fix is not
> that tough.  I'll take a look at the standard grapher and come up with
> something workable to post.
> 
> Mike
> 
> On Fri, Mar 28, 2008 at 12:59 PM, Jared Gillis <[email protected]> wrote:
> 
>> Hey all,
>>
>> I'm migrating my cricket install to a new host (from RH73 to CentOS 5),
>> and everything seems to be working properly except the grapher.
>> When I load up the grapher, I get the usual index page with links to
>> sub-directories I've created in my config.
>> When I click on one of those sub-directories, the links on the next page
>> all have an error in them.
>>
>> http://newstats.noc.sonic.net/cricket/grapher.cgi/router-interfaces should
>> show me all my routers and their interfaces, which it does. If I click on
>> one of the links to look at a particular router, however, this is the URL I
>> get:
>>
>> http://newstats.noc.sonic.net/cricket/grapher.cgi/router-interfaces/router-interfaces/border.sr
>> notice "router-interfaces" duplicated.
>> It *should* be:
>>
>> http://newstats.noc.sonic.net/cricket/grapher.cgi/router-interfaces/border.sr
>> And if I manually write that URL, it works as expected (except the URLs on
>> that page are borked too).
>>
>> I literally cp'ed the files from old host to new via an NFS mount, so no
>> config change should have occurred. Does anyone have any idea why this would
>> be happening and what I can do to fix it?
>> Oh, my cricket server isn't publicly accessible, so you won't be able to
>> load those URLs, I just included them to illustrate the problem.
>>
>> Thanks!
>> --
>> Jared Gillis - [email protected]       Sonic.net, Inc.
>> Network Operations                        2260 Apollo Way
>> 707.522.1000 (Voice)                      Santa Rosa, CA 95407
>> 707.547.3400 (Support)                    http://www.sonic.net/
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>>
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> cricket-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cricket-users
>>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> cricket-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cricket-users
> 


-- 
Jared Gillis - [email protected]       Sonic.net, Inc.
Network Operations                        2260 Apollo Way
707.522.1000 (Voice)                      Santa Rosa, CA 95407
707.547.3400 (Support)                    http://www.sonic.net/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace