Additions to the Messages file for Spanish Language from Jesus ea1dav
[spider.git] / html / spiderFAQ-2.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5  <TITLE>The DXSpider FAQ: Administration</TITLE>
6  <LINK HREF="spiderFAQ-1.html" REL=previous>
7  <LINK HREF="spiderFAQ.html#toc2" REL=contents>
8 <link rel=stylesheet href="style.css" type="text/css" title="default stylesheet">
9 </HEAD>
10 <BODY>
11 Next
12 <A HREF="spiderFAQ-1.html">Previous</A>
13 <A HREF="spiderFAQ.html#toc2">Contents</A>
14 <HR>
15 <H2><A NAME="s2">2. Administration</A></H2>
16
17 <H2><A NAME="ss2.1">2.1 How can I get Spider to restart automatically if it crashes?</A>
18 </H2>
19
20 <P>Put this line into /etc/inittab ..
21 <P>
22 <BLOCKQUOTE><CODE>
23 <PRE>
24 DX:3:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop > /dev/tty7
25 </PRE>
26 </CODE></BLOCKQUOTE>
27 <P>Run <EM>telinit q</EM> as root.  Spider will restart so be aware.  However, any
28 time you reboot, cluster.pl will start in tty7 and if it crashes, it should restart ok.
29 <P>
30 <H2><A NAME="ss2.2">2.2 How can I monitor traffic to and from a node or user?</A>
31 </H2>
32
33 <P>There are 2 ways to achieve this.  You can use the <EM>tail</EM> command like this ..
34 <P>
35 <BLOCKQUOTE><CODE>
36 <PRE>
37 tail -f /spider/data/debug/167.dat |grep G0VGS
38 </PRE>
39 </CODE></BLOCKQUOTE>
40 <P>or in later versions of Spider, there is a command called <EM>watchdbg</EM> in which
41 case you simply type ..
42 <P>
43 <BLOCKQUOTE><CODE>
44 <PRE>
45 watchdbg G0VGS
46 </PRE>
47 </CODE></BLOCKQUOTE>
48 <P>
49 <H2><A NAME="ss2.3">2.3 My neighbouring node cannot use the RCMD command to me, he just keeps getting the "tut tut" message.</A>
50 </H2>
51
52 <P>Assuming that the permissions are set correctly (perm level 5 required), it could be
53 that the home_node is set incorrectly.  You can reset the home_node using the <EM>spoof</EM>
54 command like this ..
55 <P>
56 <BLOCKQUOTE><CODE>
57 <PRE>
58 spoof gb7adx set/home gb7adx
59 </PRE>
60 </CODE></BLOCKQUOTE>
61 <P>Assuming that the node_call you are changing is gb7adx.
62 <P>
63 <H2><A NAME="ss2.4">2.4 I do not seem to be sending any bulletin mail to my link partners, what is wrong?</A>
64 </H2>
65
66 <P>There is a file in /spider/msg called forward.pl.issue.  Rename this to
67 forward.pl and edit it to meet your requirements.  You will need to issue
68 the command <EM>load/forward</EM> or restart Spider for the changes to 
69 take effect.
70 <P>
71 <H2><A NAME="ss2.5">2.5 How can I automatically limit the amount of debug logfiles that are stored?</A>
72 </H2>
73
74 <P>Use the tmpwatch command.  Create a file in /etc/cron.daily/ containing the line ...
75 <P>
76 <BLOCKQUOTE><CODE>
77 <PRE>
78 /usr/sbin/tmpwatch -f 240 /spider/data/debug
79 </PRE>
80 </CODE></BLOCKQUOTE>
81 <P>Remember to make it executable!
82 <P>This will limit your debug data down to the last 10 days
83 <P>
84 <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>
85 </H2>
86
87 <P>Almost certainly this is a change in the db format of perl.  Follow these
88 few steps to correct the problem.
89 <P>
90 <UL>
91 <LI>stop the cluster (disable any autostart in inittab)</LI>
92 <LI>cd /spider/data</LI>
93 <LI>issue the command perl user_asc</LI>
94 <LI>restart the cluster</LI>
95 </UL>
96 <P>That should solve the problem.
97 <P>
98 <HR>
99 Next
100 <A HREF="spiderFAQ-1.html">Previous</A>
101 <A HREF="spiderFAQ.html#toc2">Contents</A>
102 </BODY>
103 </HTML>