1. protect against PC41s with field[3] == field[2]
[spider.git] / html / spiderFAQ-2.html
index ca16815ac2daed59965b5e9ff076221d4303510d..417b5e15aa2174e568417ee092bacb6b4514f0e1 100644 (file)
@@ -2,7 +2,7 @@
 <HTML>
 <HEAD>
  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
- <TITLE>The DXSpider FAQ : Administration</TITLE>
+ <TITLE>The DXSpider FAQ: Administration</TITLE>
  <LINK HREF="spiderFAQ-1.html" REL=previous>
  <LINK HREF="spiderFAQ.html#toc2" REL=contents>
 <link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">
@@ -68,6 +68,32 @@ forward.pl and edit it to meet your requirements.  You will need to issue
 the command <EM>load/forward</EM> or restart Spider for the changes to 
 take effect.
 <P>
+<H2><A NAME="ss2.5">2.5 How can I automatically limit the amount of debug logfiles that are stored?</A>
+</H2>
+
+<P>Use the tmpwatch command.  Create a file in /etc/cron.daily/ containing the line ...
+<P>
+<BLOCKQUOTE><CODE>
+<PRE>
+/usr/sbin/tmpwatch -f 240 /spider/data/debug
+</PRE>
+</CODE></BLOCKQUOTE>
+<P>Remember to make it executable!
+<P>This will limit your debug data down to the last 10 days
+<P>
+<H2><A NAME="ss2.6">2.6 I updated my Linux distribution and now Spider cannot read the users file or the dupefile, what is the problem?</A>
+</H2>
+
+<P>Almost certainly this is a change in the db format of perl.  Follow these
+few steps to correct the problem.
+<P>
+<UL>
+<LI>stop the cluster (disable any autostart in inittab)</LI>
+<LI>cd /spider/data</LI>
+<LI>issue the command perl user_asc</LI>
+<LI>restart the cluster</LI>
+</UL>
+<P>That should solve the problem.
 <P>
 <HR>
 Next