Jeremy Wadsack wrote:

> Nick Webb ([EMAIL PROTECTED]):
> 
> 
>>I keep getting emails from analog's cron job with the error:
>>
> 
>>/usr/local/apache/analog-5.01/analog: Warning C: Ignoring corrupt line
>>in DNS file looking like
>>   16579234
>>
> 
>>In the dnsfile.txt file there are no lines with just "16579234", but 
>>hundreds (if not thousands) that start with it, making it almost 
>>impossible to spot the problem.  There is probably just a bad character 
>>on one of the lines . . .
>>
> 
> Minimally you could take out all the lines that start like that, at
> least your wouldn't have to rebuild the whole dns cache file:
> 
> grep -v 16579234 dnsfile.txt > new-dnsfile.txt
> 

This is a good idea, but the lines beginning with the 16579234 time 
stamp are about 95% of the 7MB file.  Since the first lines in the file 
begin with this time stamp it seems the initial set of host names have 
become corrupt, which is weird since analog shouldn't have touched them 
for a while.


> 
> 
>>In the past I've gotten many emails with like content.  To solve it 
>>before I removed the dnsfile.txt (dnscache) and let analog drop back to 
>>dns lookups and create a new file from scratch.  The problem is that 
>>dnslookups are slow (adds about 10 hours to the process); is there a 
>>better way?
>>
> 
> Try any of the Helper Applications that do this. Because they do not
> run in-series with Analog they do multiple simultaneous request and
> complete the DNS lookup phase in a fraction the time Analog could.
> 
> 

I grabbed xdns to remove unresolved names from our dns file, I'll see if 
that solves the problem after tonight's analog cron job runs . . .

-- 

/------------------------------------------------------------\
| Nick Webb ---------------------------------- ITS Unix Team |
| http://www.uidaho.edu/~nickw --------- University of Idaho |
\------------------------------------------------------------/

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to