~ubuntu-branches/debian/lenny/mailman/lenny

« back to all changes in this revision

Viewing changes to doc/mailman-install/troubleshooting.html

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2008-04-24 19:30:49 UTC
  • mfrom: (1.1.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080424193049-jy5fa9tus40tjbmn
Tags: 1:2.1.10-2
Apply upstream patch to fix regression in cmd_subscribe
so that email subscribe to the -subscribe or -join address or the
-request address with a bare 'subscribe' command results in the message
being shunted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<link rel="STYLESHEET" href="mailman-install.css" type='text/css' />
 
5
<link rel="first" href="mailman-install.html" title='GNU mailman - installation Manual' />
 
6
<link rel='last' href='about.html' title='About this document...' />
 
7
<link rel='help' href='about.html' title='About this document...' />
 
8
<link rel="next" href="node47.html" />
 
9
<link rel="prev" href="node45.html" />
 
10
<link rel="parent" href="front.html" />
 
11
<link rel="next" href="node47.html" />
 
12
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
13
<meta name='aesop' content='information' />
 
14
<title>14 Troubleshooting</title>
 
15
</head>
 
16
<body>
 
17
<div class="navigation">
 
18
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
 
19
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
20
<tr>
 
21
<td class='online-navigation'><a rel="prev" title="13 create your first"
 
22
  href="node45.html"><img src='previous.png'
 
23
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
 
24
<td class='online-navigation'><a rel="parent" title="Front Matter"
 
25
  href="front.html"><img src='up.png'
 
26
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
 
27
<td class='online-navigation'><a rel="next" title="15 platform and operating"
 
28
  href="node47.html"><img src='next.png'
 
29
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
 
30
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
31
<td class='online-navigation'><img src='blank.png'
 
32
  border='0' height='32'  alt='' width='32' /></td>
 
33
<td class='online-navigation'><img src='blank.png'
 
34
  border='0' height='32'  alt='' width='32' /></td>
 
35
<td class='online-navigation'><img src='blank.png'
 
36
  border='0' height='32'  alt='' width='32' /></td>
 
37
</tr></table>
 
38
<div class='online-navigation'>
 
39
<b class="navlabel">Previous:</b>
 
40
<a class="sectref" rel="prev" href="node45.html">13 Create your first</a>
 
41
<b class="navlabel">Up:</b>
 
42
<a class="sectref" rel="parent" href="front.html">Front Matter</a>
 
43
<b class="navlabel">Next:</b>
 
44
<a class="sectref" rel="next" href="node47.html">15 Platform and operating</a>
 
45
</div>
 
46
<hr /></div>
 
47
</div>
 
48
<!--End of Navigation Panel-->
 
49
 
 
50
<h1><a name="SECTION0011400000000000000000"></a><a name="troubleshooting"></a>
 
51
<br>
 
52
14 Troubleshooting
 
53
</h1>
 
54
 
 
55
<p>
 
56
If you encounter problems with running Mailman, first check the question and
 
57
answer section below.  If your problem is not covered there, check the
 
58
<a class="ulink" href="http://www.list.org/help.html"
 
59
  >online help</a>, including the
 
60
<a class="ulink" href="http://www.list.org/faq.html"
 
61
  >FAQ</a> and the
 
62
<a class="ulink" href="http://www.python.org/cgi-bin/faqw-mm.py"
 
63
  >interactive FAQ wizard</a>.
 
64
 
 
65
<p>
 
66
Also check for errors in your syslog files, your mail and web server log files
 
67
and in Mailman's <span class="file"><var>$prefix</var>/logs/error</span> file.  If you're still
 
68
having problems, you should send a message to the
 
69
<span class="email">mailman-users@python.org</span> mailing list<a name="tex2html7"
 
70
  href="#foot614"><sup>7</sup></a>; see
 
71
<a class="url" href="http://mail.python.org/mailman/listinfo/mailman-users">http://mail.python.org/mailman/listinfo/mailman-users</a> for more
 
72
information.
 
73
 
 
74
<p>
 
75
Be sure to including information on your operating system, which version of
 
76
Python you're using, and which version of Mailman you're installing.
 
77
 
 
78
<p>
 
79
Here is a list of some common questions and answers:
 
80
 
 
81
<p>
 
82
 
 
83
<ul>
 
84
<li><strong>Problem:</strong> All Mailman web pages give a 404 File not found
 
85
      error.
 
86
 
 
87
<p>
 
88
<strong>Solution:</strong> Your web server has not been set up properly for
 
89
      handling Mailman's CGI programs.  Make sure you have:
 
90
 
 
91
<p>
 
92
 
 
93
<ol>
 
94
<li>configured the web server to give permissions to
 
95
            <span class="file"><var>$prefix</var>/cgi-bin</span>
 
96
 
 
97
<p>
 
98
</li>
 
99
<li>restarted the web server properly.
 
100
      
 
101
</li>
 
102
</ol>
 
103
 
 
104
<p>
 
105
Consult your web server's documentation for instructions on how to do
 
106
      check these issues.
 
107
 
 
108
<p>
 
109
</li>
 
110
<li><strong>Problem:</strong> All Mailman web pages give an "Internal Server
 
111
      Error".
 
112
 
 
113
<p>
 
114
<strong>Solution:</strong> The likely problem is that you are using the wrong
 
115
      user or group for the CGI scripts.  Check your web server's log files.
 
116
      If you see a line like
 
117
 
 
118
<p>
 
119
<div class="verbatim"><pre>
 
120
            Attempt to exec script with invalid gid 51, expected 99
 
121
</pre></div>
 
122
 
 
123
<p>
 
124
you will need to reinstall Mailman, specifying the proper CGI group id,
 
125
      as described in the <a name="building"></a> section.
 
126
 
 
127
<p>
 
128
</li>
 
129
<li><strong>Problem:</strong> I send mail to the list, and get back mail saying the
 
130
       list is not found!
 
131
 
 
132
<p>
 
133
<strong>Solution:</strong> You probably didn't add the necessary aliases to the
 
134
      system alias database, or you didn't properly integrate Mailman with
 
135
      your mail server.  Perhaps you didn't update the alias database, or your
 
136
      system requires you to run <b class="program">newaliases</b> explicitly.  Refer to
 
137
      your server specific instructions in the <a href="mail-server.html#mail-server">6</a> section.
 
138
 
 
139
<p>
 
140
</li>
 
141
<li><strong>Problem:</strong> I send mail to the list, and get back mail saying,
 
142
      ``unknown mailer error''.
 
143
 
 
144
<p>
 
145
<strong>Solution:</strong> The likely problem is that you are using the wrong
 
146
      user or group id for the mail wrappers.  Check your mail server's log
 
147
      files; if you see a line like
 
148
 
 
149
<p>
 
150
<div class="verbatim"><pre>
 
151
            Attempt to exec script with invalid gid 51, expected 99
 
152
</pre></div>
 
153
 
 
154
<p>
 
155
you will need to reinstall Mailman, specifying the proper mail group id
 
156
      as described in the <a name="building"></a> section.
 
157
 
 
158
<p>
 
159
</li>
 
160
<li><strong>Problem:</strong> I use Postfix as my mail server and the mail wrapper
 
161
      programs are logging complaints about the wrong GID.
 
162
 
 
163
<p>
 
164
<strong>Solution:</strong> Make sure the <span class="file"><var>$prefix</var>/data/aliases.db</span>
 
165
      file is user owned by <code>mailman</code> (or whatever user name you used
 
166
      in the <b class="program">configure</b> command).  If this file is not user owned by
 
167
      <code>mailman</code>, Postfix will not run the mail programs as the correct
 
168
      user.
 
169
 
 
170
<p>
 
171
</li>
 
172
<li><strong>Problem:</strong> I use Sendmail as my mail server, and when I send mail
 
173
      to the list, I get back mail saying, ``sh: mailman not available for
 
174
      sendmail programs''.
 
175
 
 
176
<p>
 
177
<strong>Solution:</strong> Your system uses the Sendmail restricted shell
 
178
      (smrsh). You need to configure smrsh by creating a symbolic link from
 
179
      the mail wrapper (<span class="file"><var>$prefix</var>/mail/mailman</span>) to the directory
 
180
      identifying executables allowed to run under smrsh.
 
181
 
 
182
<p>
 
183
Some common names for this directory are <span class="file">/var/admin/sm.bin</span>,
 
184
      <span class="file">/usr/admin/sm.bin</span> or <span class="file">/etc/smrsh</span>.
 
185
 
 
186
<p>
 
187
Note that on Debian Linux, the system makes <span class="file">/usr/lib/sm.bin</span>,
 
188
      which is wrong, you will need to create the directory
 
189
      <span class="file">/usr/admin/sm.bin</span> and add the link there.  Note further any
 
190
      aliases <b class="program">newaliases</b> spits out will need to be adjusted to point
 
191
      to the secure link to the wrapper.
 
192
 
 
193
<p>
 
194
</li>
 
195
<li><strong>Problem:</strong>  I messed up when I called <b class="program">configure</b>.  How
 
196
      do I clean things up and re-install?
 
197
 
 
198
<p>
 
199
<strong>Solution:</strong>
 
200
 
 
201
<p>
 
202
<div class="verbatim"><pre>
 
203
        % make clean
 
204
        % ./configure --with-the-right-options
 
205
        % make install
 
206
      </pre></div>
 
207
 
 
208
<p>
 
209
</li>
 
210
</ul>
 
211
 
 
212
<p>
 
213
<br><hr><h4>Footnotes</h4>
 
214
<dl>
 
215
<dt><a name="foot614">... list</a><A
 
216
 href="troubleshooting.html#tex2html7"><sup>7</sup></a></dt>
 
217
<dd>You must subscribe to
 
218
this mailing list in order to post to it, but the mailing list's archives are
 
219
publicly visible.
 
220
 
 
221
</dd>
 
222
</dl>
 
223
<div class="navigation">
 
224
<div class='online-navigation'>
 
225
<p></p><hr />
 
226
<table align="center" width="100%" cellpadding="0" cellspacing="2">
 
227
<tr>
 
228
<td class='online-navigation'><a rel="prev" title="13 create your first"
 
229
  href="node45.html"><img src='previous.png'
 
230
  border='0' height='32'  alt='Previous Page' width='32' /></a></td>
 
231
<td class='online-navigation'><a rel="parent" title="Front Matter"
 
232
  href="front.html"><img src='up.png'
 
233
  border='0' height='32'  alt='Up one Level' width='32' /></a></td>
 
234
<td class='online-navigation'><a rel="next" title="15 platform and operating"
 
235
  href="node47.html"><img src='next.png'
 
236
  border='0' height='32'  alt='Next Page' width='32' /></a></td>
 
237
<td align="center" width="100%">GNU Mailman - Installation Manual</td>
 
238
<td class='online-navigation'><img src='blank.png'
 
239
  border='0' height='32'  alt='' width='32' /></td>
 
240
<td class='online-navigation'><img src='blank.png'
 
241
  border='0' height='32'  alt='' width='32' /></td>
 
242
<td class='online-navigation'><img src='blank.png'
 
243
  border='0' height='32'  alt='' width='32' /></td>
 
244
</tr></table>
 
245
<div class='online-navigation'>
 
246
<b class="navlabel">Previous:</b>
 
247
<a class="sectref" rel="prev" href="node45.html">13 Create your first</a>
 
248
<b class="navlabel">Up:</b>
 
249
<a class="sectref" rel="parent" href="front.html">Front Matter</a>
 
250
<b class="navlabel">Next:</b>
 
251
<a class="sectref" rel="next" href="node47.html">15 Platform and operating</a>
 
252
</div>
 
253
</div>
 
254
<hr />
 
255
<span class="release-info">Release 2.1, documentation updated on April 21, 2008.</span>
 
256
</div>
 
257
<!--End of Navigation Panel-->
 
258
 
 
259
</body>
 
260
</html>