question about lgform.cgi

Hopper, Faron W. faron.hopper at capgemini.com
Fri Dec 17 19:51:44 UTC 2004


John,
    That change, setting the LG_ROUTERDB var, gives me the same result, a blank field for routers.  When I change LG_ROUTERDB to point to a particular group directory, that still works....


Any other ideas? 

Is there a way to view the script's debugging output to help me pinpoint what it is looking for?

Thanks
Faron Hopper
Capgemini
Network Engineering
Kansas City, MO 64116
816.459.5139


-----Original Message-----
From: john heasley [mailto:heas at shrubbery.net]
Sent: Friday, December 17, 2004 11:39 AM
To: Hopper, Faron W.
Cc: john heasley; rancid-discuss at shrubbery.net
Subject: Re: question about lgform.cgi


Fri, Dec 17, 2004 at 12:37:52PM -0500, Hopper, Faron  W.:
>
> John,
>     Thanks for the patch.  I have applied it and it said that the
> patch was successful.  When I access lgform.cgi, It still doesn't give
> me any of routers out of the group subdir's.
>
>
> I did notice an error message (in /var/log/http-error.log) that
> states,
>
>     Undefined subroutine &main::strftime called at
> /usr/local/www/cgi-bin/lgform.cgi line 67.
>
> It was occuring before the patch, so I don't think that has anything
> to do with it, though.
>
> In your email you mentioned an assumption of --prefix=/usr/local. All
> I did was download the Software and extract it.  I didn't have to do a
> ../configure, make, etc--just move it to /usr/local
>
> Just to make sure, I have set LG_ROUTERDB to
>
>     $LG_ROUTERDB="/usr/local/var/rancid//router.db";
>
> Is this the correct way to do this after the patch?

make it
$LG_ROUTERDB="/usr/local/var/rancid";





More information about the Rancid-discuss mailing list