question about lgform.cgi

Hopper, Faron W. faron.hopper at
Fri Dec 17 21:46:04 UTC 2004

     I have made a discovery.  I was not setting the $LG_CACHE_DIR var, thus taking the default.  As soon as
I removed the #, and hit the web interface, viola, up popped all of my routers.  Thank you so much!  It must
Not have been able to create the tmp file due to a permission problem in the /usr/local/www/data/lg dir....

Thank you again,
Faron Hopper
Network Engineering
Kansas City, MO 64116

-----Original Message-----
From: john heasley [mailto:heas at]
Sent: Friday, December 17, 2004 1:55 PM
To: Hopper, Faron W.
Subject: Re: question about lgform.cgi

Fri, Dec 17, 2004 at 02:51:44PM -0500, Hopper, Faron  W.:
> 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?

the log is in the cache dir.  see LG_CACHE_DIR config variable.

> Is there a way to view the script's debugging output to help me
> pinpoint what it is looking for?
> >     Undefined subroutine &main::strftime called at
> > /usr/local/www/cgi-bin/lgform.cgi line 67.

you need to run h2ph.

More information about the Rancid-discuss mailing list