885abf99247170753833b732dfe51ad0ddbfd81f
[spider.git] / txt / spiderFAQ.txt
1   The DXSpider FAQ
2   Ian Maude, G0VGS, (ianmaude@btinternet.com)
3   December 2001 Revision: 1.8
4
5   A reference for SysOps of the DXSpider DXCluster program.
6   ______________________________________________________________________
7
8   Table of Contents
9
10
11   1. Installation
12
13      1.1 Where do I get DXSpider?
14      1.2 How do I use the patches?
15      1.3 If I use a tarball to overwrite my installation, what happens to my configuration?
16      1.4 I am running RedHat 5.2 and I am getting strange errors, what is wrong?
17
18   2. Administration
19
20      2.1 How can I get Spider to restart automatically if it crashes?
21      2.2 How can I monitor traffic to and from a node or user?
22      2.3 My neighbouring node cannot use the RCMD command to me, he just keeps getting the "tut tut" message.
23      2.4 I do not seem to be sending any bulletin mail to my link partners, what is wrong?
24      2.5 How can I automatically limit the amount of debug logfiles that are stored?
25      2.6 I updated my Linux distribution and now Spider cannot read the users file or the dupefile, what is the problem?
26      2.7 Since I last updated I seem to be getting duplicate spots appearing.
27      2.8 I have deleted a message but it is still there, why?
28
29
30   ______________________________________________________________________
31
32   Please mail any FAQs to the maintainer at the address above.
33
34
35
36   1\b1.\b.  I\bIn\bns\bst\bta\bal\bll\bla\bat\bti\bio\bon\bn
37
38   1\b1.\b.1\b1.\b.  W\bWh\bhe\ber\bre\be d\bdo\bo I\bI g\bge\bet\bt D\bDX\bXS\bSp\bpi\bid\bde\ber\br?\b?
39
40   All things Spider can be found at www.dxcluster.org and the actual
41   program and patches can be found in the download area.
42
43
44   1\b1.\b.2\b2.\b.  H\bHo\bow\bw d\bdo\bo I\bI u\bus\bse\be t\bth\bhe\be p\bpa\bat\btc\bch\bhe\bes\bs?\b?
45
46   Patching is done in the standard linux way ...
47
48
49
50        zcat /tmp/patch-1.40 | patch -p0
51
52
53
54
55
56   assuming the patch version you are using is 1.40 and resides in /tmp!
57
58
59   Be aware that each patch assumes the previous patch has been applied.
60   That is to say if you are patching from version 1.38 to 1.40 you would
61   first need to apply patch-1.39 and then patch-1.40.
62
63
64
65
66
67   1\b1.\b.3\b3.\b.  I\bIf\bf I\bI u\bus\bse\be a\ba t\bta\bar\brb\bba\bal\bll\bl t\bto\bo o\bov\bve\ber\brw\bwr\bri\bit\bte\be m\bmy\by i\bin\bns\bst\bta\bal\bll\bla\bat\bti\bio\bon\bn,\b, w\bwh\bha\bat\bt h\bha\bap\bpp\bpe\ben\bns\bs t\bto\bo
68   m\bmy\by c\bco\bon\bnf\bfi\big\bgu\bur\bra\bat\bti\bio\bon\bn?\b?
69
70   The tarballs are designed to not overwrite your existing configuration
71   and can be used at any time to update your Spider software.  All the
72   key files have the suffix .issue (eg. DXVars.pm.issue) at default.
73
74
75   1\b1.\b.4\b4.\b.  I\bI a\bam\bm r\bru\bun\bnn\bni\bin\bng\bg R\bRe\bed\bdH\bHa\bat\bt 5\b5.\b.2\b2 a\ban\bnd\bd I\bI a\bam\bm g\bge\bet\btt\bti\bin\bng\bg s\bst\btr\bra\ban\bng\bge\be e\ber\brr\bro\bor\brs\bs,\b, w\bwh\bha\bat\bt i\bis\bs
76   w\bwr\bro\bon\bng\bg?\b?
77
78   The version of Perl that comes with 5.2 seems to be some kind of pre-
79   release and is broken.  You can get a new version of perl from
80   www.dxcluster.org or ftp://updates.redhat.com.  Don't forget to patch
81   it with the CPAN modules.
82
83
84   2\b2.\b.  A\bAd\bdm\bmi\bin\bni\bis\bst\btr\bra\bat\bti\bio\bon\bn
85
86   2\b2.\b.1\b1.\b.  H\bHo\bow\bw c\bca\ban\bn I\bI g\bge\bet\bt S\bSp\bpi\bid\bde\ber\br t\bto\bo r\bre\bes\bst\bta\bar\brt\bt a\bau\but\bto\bom\bma\bat\bti\bic\bca\bal\bll\bly\by i\bif\bf i\bit\bt c\bcr\bra\bas\bsh\bhe\bes\bs?\b?
87
88   Put this line into /etc/inittab ..
89
90
91
92        DX:3:respawn:/bin/su -c "/usr/bin/perl -w /spider/perl/cluster.pl" sysop > /dev/tty7
93
94
95
96
97   Run _\bt_\be_\bl_\bi_\bn_\bi_\bt _\bq as root.  Spider will restart so be aware.  However, any
98   time you reboot, cluster.pl will start in tty7 and if it crashes, it
99   should restart ok.
100
101
102   2\b2.\b.2\b2.\b.  H\bHo\bow\bw c\bca\ban\bn I\bI m\bmo\bon\bni\bit\bto\bor\br t\btr\bra\baf\bff\bfi\bic\bc t\bto\bo a\ban\bnd\bd f\bfr\bro\bom\bm a\ba n\bno\bod\bde\be o\bor\br u\bus\bse\ber\br?\b?
103
104   There are 2 ways to achieve this.  You can use the _\bt_\ba_\bi_\bl command like
105   this ..
106
107
108
109        tail -f /spider/data/debug/167.dat |grep G0VGS
110
111
112
113
114   or in later versions of Spider, there is a command called _\bw_\ba_\bt_\bc_\bh_\bd_\bb_\bg in
115   which case you simply type ..
116
117
118
119        watchdbg G0VGS
120
121
122
123
124
125   2\b2.\b.3\b3.\b.  M\bMy\by n\bne\bei\big\bgh\bhb\bbo\bou\bur\bri\bin\bng\bg n\bno\bod\bde\be c\bca\ban\bnn\bno\bot\bt u\bus\bse\be t\bth\bhe\be R\bRC\bCM\bMD\bD c\bco\bom\bmm\bma\ban\bnd\bd t\bto\bo m\bme\be,\b, h\bhe\be j\bju\bus\bst\bt
126   k\bke\bee\bep\bps\bs g\bge\bet\btt\bti\bin\bng\bg t\bth\bhe\be "\b"t\btu\but\bt t\btu\but\bt"\b" m\bme\bes\bss\bsa\bag\bge\be.\b.
127
128   Assuming that the permissions are set correctly (perm level 5
129   required), it could be that the home_node is set incorrectly.  You can
130   reset the home_node using the _\bs_\bp_\bo_\bo_\bf command like this ..
131
132
133        spoof gb7adx set/home gb7adx
134
135
136
137
138   Assuming that the node_call you are changing is gb7adx.
139
140
141   2\b2.\b.4\b4.\b.  I\bI d\bdo\bo n\bno\bot\bt s\bse\bee\bem\bm t\bto\bo b\bbe\be s\bse\ben\bnd\bdi\bin\bng\bg a\ban\bny\by b\bbu\bul\bll\ble\bet\bti\bin\bn m\bma\bai\bil\bl t\bto\bo m\bmy\by l\bli\bin\bnk\bk p\bpa\bar\brt\bt-\b-
142   n\bne\ber\brs\bs,\b, w\bwh\bha\bat\bt i\bis\bs w\bwr\bro\bon\bng\bg?\b?
143
144   There is a file in /spider/msg called forward.pl.issue.  Rename this
145   to forward.pl and edit it to meet your requirements.  You will need to
146   issue the command _\bl_\bo_\ba_\bd_\b/_\bf_\bo_\br_\bw_\ba_\br_\bd or restart Spider for the changes to
147   take effect.
148
149
150   2\b2.\b.5\b5.\b.  H\bHo\bow\bw c\bca\ban\bn I\bI a\bau\but\bto\bom\bma\bat\bti\bic\bca\bal\bll\bly\by l\bli\bim\bmi\bit\bt t\bth\bhe\be a\bam\bmo\bou\bun\bnt\bt o\bof\bf d\bde\beb\bbu\bug\bg l\blo\bog\bgf\bfi\bil\ble\bes\bs t\bth\bha\bat\bt
151   a\bar\bre\be s\bst\bto\bor\bre\bed\bd?\b?
152
153   Use the tmpwatch command.  Create a file in /etc/cron.daily/
154   containing the line ...
155
156
157
158        /usr/sbin/tmpwatch -f 240 /spider/data/debug
159
160
161
162
163   Remember to make it executable!
164
165   This will limit your debug data down to the last 10 days
166
167
168   2\b2.\b.6\b6.\b.  I\bI u\bup\bpd\bda\bat\bte\bed\bd m\bmy\by L\bLi\bin\bnu\bux\bx d\bdi\bis\bst\btr\bri\bib\bbu\but\bti\bio\bon\bn a\ban\bnd\bd n\bno\bow\bw S\bSp\bpi\bid\bde\ber\br c\bca\ban\bnn\bno\bot\bt r\bre\bea\bad\bd t\bth\bhe\be
169   u\bus\bse\ber\brs\bs f\bfi\bil\ble\be o\bor\br t\bth\bhe\be d\bdu\bup\bpe\bef\bfi\bil\ble\be,\b, w\bwh\bha\bat\bt i\bis\bs t\bth\bhe\be p\bpr\bro\bob\bbl\ble\bem\bm?\b?
170
171   Almost certainly this is a change in the db format of perl.  Follow
172   these few steps to correct the problem.
173
174
175   +\bo  stop the cluster (disable any autostart in inittab)
176
177   +\bo  cd /spider/data
178
179   +\bo  issue the command perl user_asc
180
181   +\bo  restart the cluster
182
183   That should solve the problem.
184
185
186   2\b2.\b.7\b7.\b.  S\bSi\bin\bnc\bce\be I\bI l\bla\bas\bst\bt u\bup\bpd\bda\bat\bte\bed\bd I\bI s\bse\bee\bem\bm t\bto\bo b\bbe\be g\bge\bet\btt\bti\bin\bng\bg d\bdu\bup\bpl\bli\bic\bca\bat\bte\be s\bsp\bpo\bot\bts\bs
187   a\bap\bpp\bpe\bea\bar\bri\bin\bng\bg.\b.
188
189   What has probably happened is that the dupefile has got corrupted in
190   some way.  Simply delete the /spider/data/dupefile and restart the
191   cluster.  It may take a little time to become fully functional but
192   should solve your problem.
193
194
195   2\b2.\b.8\b8.\b.  I\bI h\bha\bav\bve\be d\bde\bel\ble\bet\bte\bed\bd a\ba m\bme\bes\bss\bsa\bag\bge\be b\bbu\but\bt i\bit\bt i\bis\bs s\bst\bti\bil\bll\bl t\bth\bhe\ber\bre\be,\b, w\bwh\bhy\by?\b?
196
197   This is now the way messages are handled for deletion in Spider.  If
198   you look closely you will see a 'D' following the message number.
199   This message is marked for deletion and will be deleted in 2 days if
200   nothing further is done.  Optionally you can use the command
201   _\bd_\be_\bl_\be_\bt_\be_\b/_\be_\bx_\bp_\bu_\bn_\bg_\be to delete it immediately.
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264