1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Monday 21 June 2004 20:07, Joby Walker wrote: |
5 |
> Probably a stale pid file. |
6 |
> |
7 |
> 1) Stop the daemon, disable any cron jobs and access to the website |
8 |
> 2) Check <mailmanroot>/locks/, it should be empty. If not... |
9 |
> 3) delete all files, except the .keep. |
10 |
> 4) Re-enable cron jobs and website access, restart the daemon. |
11 |
|
12 |
Hi again, |
13 |
|
14 |
now (after a full backup), I completely unmerged mailman, updated postfix to |
15 |
the current release, tested it (it's running fine), and now emerge mailman |
16 |
again. |
17 |
|
18 |
CLEANUP |
19 |
# cd /usr/local |
20 |
# /etc/init.d/mailman stop |
21 |
# /etc/init.d/apache stop |
22 |
# tar xjpf mailman-backup.tbz2 mailman |
23 |
# emerge -C mailman |
24 |
# rm -rf mailman |
25 |
|
26 |
INSTALL: |
27 |
# emerge mailman |
28 |
# cd mailman |
29 |
# find . -name .keep -exec rm {} \; |
30 |
# bin/check_perms -f |
31 |
# echo >>Mailman/mm_cfg.py <<EOF |
32 |
DEFAULT_EMAIL_HOST = 'lists.surakware.net' |
33 |
DEFAULT_URL_HOST = 'lists.surakware.net' |
34 |
DEFAULT_URL_PATTERN = 'http://%s/mailman/' |
35 |
MTA = 'Postfix' |
36 |
DELIVERY_MODULE = 'SMTPDirect' |
37 |
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.surakware.net'] |
38 |
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) |
39 |
EOF |
40 |
# su - mailman |
41 |
# bin/newlist mailman |
42 |
# bin/genaliases |
43 |
# vim /etc/postfix/main.cf # (ensure contens as below) |
44 |
# su -c '/etc/init.d/postfix start' |
45 |
# su -c '/etc/init.d/mailman start' |
46 |
# ls -l logs |
47 |
total 4 |
48 |
- -rw-rw-r-- 1 mailman mailman 0 Jul 3 22:10 error |
49 |
- -rw-rw-r-- 1 mailman mailman 672 Jul 3 22:20 qrunner |
50 |
# cat logs/qrunner |
51 |
Jul 03 22:20:18 2004 (3813) BounceRunner qrunner started. |
52 |
Jul 03 22:20:18 2004 (3812) ArchRunner qrunner started. |
53 |
Jul 03 22:20:18 2004 (3814) CommandRunner qrunner started. |
54 |
Jul 03 22:20:18 2004 (3815) IncomingRunner qrunner started. |
55 |
Jul 03 22:20:18 2004 (3816) NewsRunner qrunner started. |
56 |
Jul 03 22:20:19 2004 (3817) OutgoingRunner qrunner started. |
57 |
Jul 03 22:20:19 2004 (3818) VirginRunner qrunner started. |
58 |
Jul 03 22:20:19 2004 (3819) RetryRunner qrunner started. |
59 |
Jul 03 22:20:20 2004 (3810) Master qrunner detected subprocess exit |
60 |
(pid: 3817, sig: 11, sts: None, class: OutgoingRunner, slice: 1/1) |
61 |
[restarting] |
62 |
Jul 03 22:20:20 2004 (3821) OutgoingRunner qrunner started. |
63 |
# bin/newlist test cparpart@×××××××××.net test |
64 |
# tail logs/qrunner |
65 |
Jul 03 22:20:18 2004 (3816) NewsRunner qrunner started. |
66 |
Jul 03 22:20:19 2004 (3817) OutgoingRunner qrunner started. |
67 |
Jul 03 22:20:19 2004 (3818) VirginRunner qrunner started. |
68 |
Jul 03 22:20:19 2004 (3819) RetryRunner qrunner started. |
69 |
Jul 03 22:20:20 2004 (3810) Master qrunner detected subprocess exit |
70 |
(pid: 3817, sig: 11, sts: None, class: OutgoingRunner, slice: 1/1) |
71 |
[restarting] |
72 |
Jul 03 22:20:20 2004 (3821) OutgoingRunner qrunner started. |
73 |
Jul 03 22:26:25 2004 (3810) Master qrunner detected subprocess exit |
74 |
(pid: 3821, sig: 11, sts: None, class: OutgoingRunner, slice: 1/1) |
75 |
[restarting] |
76 |
Jul 03 22:26:25 2004 (5113) OutgoingRunner qrunner started. |
77 |
# |
78 |
|
79 |
====== part of postfix/main.cf begin |
80 |
mydestination = $myhostname, $mydomain, localhost.$mydomain, |
81 |
mail.$mydomain, chat.$mydomain, sws.informatik.hu-berlin.de |
82 |
|
83 |
alias_maps = hash:/etc/mail/aliases, hash:/usr/local/mailman/data/aliases |
84 |
|
85 |
virtual_alias_domains = lists.surakware.net |
86 |
virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman |
87 |
|
88 |
owner_request_special = no |
89 |
recipient_delimiter = + |
90 |
unknown_local_recipient_reject_code = 550 |
91 |
====== part of postfix/main.cf end |
92 |
|
93 |
So.... I conclude, that the problem is not really in postfix, and not really |
94 |
because I really found some lost lock files in mailman/locks before. |
95 |
However, anytime a new mail is to be sent out, a subprocess of qrunnier dies, |
96 |
and in my /var/log/messages I can find something like: |
97 |
|
98 |
Jul 3 22:26:25 sws postfix/smtpd[5112]: connect from localhost[127.0.0.1] |
99 |
Jul 3 22:26:25 sws postfix/smtpd[5112]: lost connection after CONNECT from |
100 |
localhost[127.0.0.1] |
101 |
Jul 3 22:26:25 sws postfix/smtpd[5112]: disconnect from localhost[127.0.0.1] |
102 |
|
103 |
How now can I solve this problem? |
104 |
|
105 |
Many many thanks, |
106 |
Christian Parpart. |
107 |
|
108 |
> Christian Parpart wrote: |
109 |
> > Joby Walker said: |
110 |
> >>Christian, |
111 |
> >> |
112 |
> >>Have you tried manually running check_perms? Have you checked the |
113 |
> >>mailman logs? |
114 |
> > |
115 |
> > I've invoked check_perms several times. even check_db. |
116 |
> > |
117 |
> >>The mailman logs are pretty good, I usually find some |
118 |
> >>important info on why mailman misbehaves for me. |
119 |
> > |
120 |
> > in file /usr/local/logs/qrunner: |
121 |
> > [...] |
122 |
> > Jun 21 17:48:10 2004 (3953) ArchRunner qrunner started. |
123 |
> > Jun 21 17:48:10 2004 (3954) BounceRunner qrunner started. |
124 |
> > Jun 21 17:48:10 2004 (3956) IncomingRunner qrunner started. |
125 |
> > Jun 21 17:48:10 2004 (3957) NewsRunner qrunner started. |
126 |
> > Jun 21 17:48:10 2004 (3955) CommandRunner qrunner started. |
127 |
> > Jun 21 17:48:11 2004 (3959) VirginRunner qrunner started. |
128 |
> > Jun 21 17:48:11 2004 (3960) RetryRunner qrunner started. |
129 |
> > Jun 21 17:48:11 2004 (3958) OutgoingRunner qrunner started. |
130 |
> > Jun 21 17:48:11 2004 (3951) Master qrunner detected subprocess exit |
131 |
> > (pid: 3958, sig: 11, sts: None, class: OutgoingRunner, slice: 1/1) |
132 |
> > [restarting] |
133 |
> > [...lots.of.repititions...] |
134 |
> > Jun 21 17:48:13 2004 (3972) OutgoingRunner qrunner started. |
135 |
> > Jun 21 17:48:14 2004 (3951) Master qrunner detected subprocess exit |
136 |
> > (pid: 3972, sig: 11, sts: None, class: OutgoingRunner, slice: 1/1) |
137 |
> > [restarting] |
138 |
> > Jun 21 17:48:14 2004 (3951) Qrunner OutgoingRunner reached maximum |
139 |
> > restart limit of 10, not restarting. |
140 |
> > |
141 |
> > But which so called 'subprocess' exited? |
142 |
> > And - more important - why? |
143 |
> > |
144 |
> > /usr/local/mailman/log/error seems untouched since Jun 10 20:05:01 2004. |
145 |
> > |
146 |
> > It must be anything regarding to the SMTP sending mechanism in / |
147 |
> > or related to mailman. But sending mails via squirrelmail works |
148 |
> > fine, so this (I guess) can't be really the reason. |
149 |
> > |
150 |
> > Thanks in advance, |
151 |
> > Christian Parpart. |
152 |
> > |
153 |
> >>Christian Parpart wrote: |
154 |
> >>>Hi all, |
155 |
> >>> |
156 |
> >>>I recently updated my postfix and mailman resulting into some mailman |
157 |
> >>>issues, |
158 |
> >>>that is, I can send mails to the mailinglists it serves, they get |
159 |
> >>>archived, |
160 |
> >>>but they won't be sent out to the subscribers. Why? |
161 |
> >>> |
162 |
> >>>I already look into postfix' main.cf and the Mailman/Default.py for some |
163 |
> >>>changes, but nothing special found. |
164 |
> >>> |
165 |
> >>>Also, the mailman ebuild seems to have some problems, it creates the |
166 |
> >>>.keep |
167 |
> >>>files, and then executes bin/check_perms which interprets even those |
168 |
> >>>files as |
169 |
> >>>directories what - of course - results into an error while emerging. |
170 |
> >>> |
171 |
> >>>I inserted an |
172 |
> >>> |
173 |
> >>>find . -type d -name .keep -exec rm -f {} \; |
174 |
> >>> |
175 |
> >>>above the check_perms command line in this ebuild. |
176 |
> >>> |
177 |
> >>>Thanks in advance, |
178 |
> >>>Christian Parpart. |
179 |
|
180 |
- -- |
181 |
21:51:30 up 19 days, 11:20, 4 users, load average: 0.40, 0.39, 0.42 |
182 |
-----BEGIN PGP SIGNATURE----- |
183 |
Version: GnuPG v1.2.4 (GNU/Linux) |
184 |
|
185 |
iD8DBQFA5xuvPpa2GmDVhK0RAgQUAKCGhu+5vxL9uODqPWfbmFXDUMmx8wCcC4X0 |
186 |
EVNhXUJfbCF7h0c+7LDGt1c= |
187 |
=a23W |
188 |
-----END PGP SIGNATURE----- |