1 |
This also happens to me, but if I run |
2 |
/usr/lib/courier-imap/gentoo-imapd.rc |
3 |
manually courier does start. |
4 |
|
5 |
We've looked at this a bunch over the last day or so and have no idea what's going on. |
6 |
|
7 |
----- Original Message ----- |
8 |
From: Christian Spoo <mail@××××××××××××××.info> |
9 |
To: gentoo-server@l.g.o |
10 |
Sent: Thursday, August 17, 2006 6:21:43 PM GMT-0600 |
11 |
Subject: Re: [gentoo-server] Problem while starting Courier-IMAP |
12 |
|
13 |
>> I've been running net-mail/courier-imap version 4.0.1 for quite a while |
14 |
>> but suddenly it refuses to restart. |
15 |
> "Suddenly" ? |
16 |
|
17 |
Yes because I rebooted the machine. Normally, Courier should start |
18 |
because it's activated using rc-update but it simply doesn't. |
19 |
Perhaps I should mention that courier-authlib runs without problems. |
20 |
|
21 |
> |
22 |
>> A /etc/init.d/courier-imapd restart simply fails. |
23 |
>> |
24 |
> Fails how - what is in the system and mail logs ? |
25 |
|
26 |
www ~ # /etc/init.d/courier-imapd start |
27 |
* Starting courier-imapd ... |
28 |
[ !! ] |
29 |
www ~ # tail -n 100 /var/log/mail/current | grep courier |
30 |
www ~ # tail -n 100 /var/log/everything/current | grep courier |
31 |
www ~ # |
32 |
|
33 |
As you can see, none of these two logfiles contains anything regarding |
34 |
Courier. |
35 |
|
36 |
>> I can run the server manually by issuing the following: |
37 |
>> /usr/lib/courier-imap/couriertcpd -address=0 |
38 |
>> -stderrlogger=/usr/lib/courier-imap/courierlogger |
39 |
>> -stderrloggername=imapd -maxprocs=40 -maxperip=10 |
40 |
>> -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 |
41 |
>> /usr/sbin/imaplogin /usr/sbin/courier-imapd .Maildir |
42 |
>> |
43 |
> Have you compared this cmdline with the one run by the initscript ? |
44 |
|
45 |
This is the cmdline which is run by the initscript. I added a "set -x" |
46 |
on top of /usr/lib/courier-imap/gentoo-imapd.rc trying to debug this |
47 |
script. That way I got this command. |
48 |
|
49 |
This is exactly why I'm so stuck about this. The initscript should run |
50 |
this line and apparently it does but the imapd doesn't start, at least |
51 |
when invoked by the initscript. In a regular shell I can run it without |
52 |
problems as I stated above. |
53 |
|
54 |
|
55 |
Christian |
56 |
|
57 |
|
58 |
-- |
59 |
Interlix, LLC |
60 |
http://interlix.com |
61 |
|
62 |
-- |
63 |
gentoo-server@g.o mailing list |