Add FAQ on restarting user file
[spider.git] / html / spiderFAQ-2.html
index ca16815ac2daed59965b5e9ff076221d4303510d..c707610d9dd60c7a228a742ca8f91790e77fcf0c 100644 (file)
@@ -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</A>
+file or the dupefile, what is the problem?</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