View previous topic :: View next topic |
Author |
Message |
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Fri Aug 11, 2006 10:49 pm Post subject: courier-imapd won't start after baselayout upgrade |
|
|
i upgraded baselayout way earlier this afternoon.
it fubared my network.. i had to change /etc/conf.d/net to the new syntax.
anway got that working but courier-imapd wouldn't start.
i found that portsentry was using p 143 so i removed it from the default runlevel and restarted. now nothing is listening on 143
and i get no error message when trying to start courier.
i can't seem to find anything in the logs anywhere.
got users screaming at me, please help...
thanks!
no help for this on irc/freenode
no help for this in the forums.
i give up. downgraded baselayout.
system is working again. |
|
Back to top |
|
|
chrismortimore l33t
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Sat Aug 12, 2006 1:23 pm Post subject: |
|
|
Just so you know, you're not alone. I'm fiddling just now to try and get a solution. _________________ Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB |
|
Back to top |
|
|
chrismortimore l33t
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Sat Aug 12, 2006 1:55 pm Post subject: |
|
|
I found some fixed init scripts, I wonder why they arn't in the package yet though... They work fine at my end
https://bugs.gentoo.org/show_bug.cgi?id=98745
EDIT: Those init scripts work on my x86 and my amd64. _________________ Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB |
|
Back to top |
|
|
awal11 n00b
Joined: 17 Apr 2006 Posts: 10
|
Posted: Sat Aug 12, 2006 7:34 pm Post subject: |
|
|
I have updated to latest, (masked) courier-imap 4.0.6 - this also solved the problem |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Sun Aug 13, 2006 2:19 am Post subject: |
|
|
i'm not willing to do that on a production mailserver.
not tonight, anyway.
would like to khow how that version of courier runs for you, esp after a week or two.
thanks |
|
Back to top |
|
|
hanj Veteran
Joined: 19 Aug 2003 Posts: 1490
|
Posted: Sun Aug 13, 2006 6:14 pm Post subject: |
|
|
Hello
I have working init scripts for courier-imap, I was able to modify the start() stop(). You can view the here:
https://forums.gentoo.org/viewtopic-p-3508823.html#3508823
I basically took the start() stop() from 4.0.4 init scripts. The bug is related to the init scripts (start-stop-daemon) and baselayout, not with the actual binaries. I didn't feel comfortable with upgrading to 4.0.4 on production as well.
HTH
hanji |
|
Back to top |
|
|
robfish Tux's lil' helper
Joined: 25 Nov 2002 Posts: 137 Location: New Zealand
|
Posted: Mon Aug 14, 2006 7:06 pm Post subject: |
|
|
Another update to baselayout this morning (1.12.4-r3) but it still did not allow courier-imap to work.
I too upgraded courier-imap to 4.0.6 (masked)and it works again.
Edit: courier-imap-4.0.4 (now stable) fixes the problem too. _________________ RobFish
Last edited by robfish on Fri Aug 18, 2006 9:51 pm; edited 1 time in total |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Wed Aug 16, 2006 10:50 pm Post subject: |
|
|
robfish, how is the 'unstable' courier-imap working for you?
others: i saw an update to baselayout AGAIN last night. has this resolved the issue for the 'stable' courier-imap?
thanks,
Scorpaen |
|
Back to top |
|
|
robfish Tux's lil' helper
Joined: 25 Nov 2002 Posts: 137 Location: New Zealand
|
Posted: Thu Aug 17, 2006 1:13 am Post subject: |
|
|
No problems so far. _________________ RobFish |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Thu Aug 17, 2006 6:49 am Post subject: |
|
|
ok.
on a suggestion from another thread i've decided to give dovecot a try.
everythign else on my server appears to be working.
thanks for your replies. |
|
Back to top |
|
|
Crispy Beef Apprentice
Joined: 29 Apr 2003 Posts: 194 Location: UK
|
Posted: Thu Aug 17, 2006 9:39 am Post subject: |
|
|
Scorpaen wrote: | ok.
on a suggestion from another thread i've decided to give dovecot a try.
everythign else on my server appears to be working.
thanks for your replies. |
I'll be very interested to hear how dovecot works out as I run a production mail server too and have come up against the same problem. To fix the issue I went back to the last baselayout in the 1.11 line and the server is fine at the mo. My server is set-up using the Gentoo guide for a mail server using Postfix, Courier IMAP, Cyrus SASL etc.
Would dovecot slot in there and be able to do the same tasks? _________________ --
______
Crispy |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
Crispy Beef Apprentice
Joined: 29 Apr 2003 Posts: 194 Location: UK
|
Posted: Thu Aug 17, 2006 10:13 am Post subject: |
|
|
Originally I made use of the mail server guide here:
http://www.gentoo.org/doc/en/virt-mail-howto.xml
Courier uses courier-authlib and cyrus-sasl for SMTP authentication (Postfix), here's the relevant line from the guide:
Code: | Sasl is going to play the role of actually passing your auth variables to courier-auth, which will in turn pass that information to mysql for authentication of smtp users. |
I note from the dovecot wiki that it supports maildir, sasl2 and found the guide for doing something similar to what I have with Postgres (http://wiki.dovecot.org/DovecotPostgresql) but can the same thing be done with MySQL? My main concern is the client issues. Most of my clients are on Windows boxes using either Outlook or Outlook Express and my webmail makes use of SquirrelMail. _________________ --
______
Crispy |
|
Back to top |
|
|
thoughtform l33t
Joined: 24 May 2004 Posts: 600
|
Posted: Thu Aug 17, 2006 10:17 am Post subject: |
|
|
Crispy Beef wrote: | Scorpaen wrote: | ok.
on a suggestion from another thread i've decided to give dovecot a try.
everythign else on my server appears to be working.
thanks for your replies. |
I'll be very interested to hear how dovecot works out as I run a production mail server too and have come up against the same problem. To fix the issue I went back to the last baselayout in the 1.11 line and the server is fine at the mo. My server is set-up using the Gentoo guide for a mail server using Postfix, Courier IMAP, Cyrus SASL etc.
Would dovecot slot in there and be able to do the same tasks? |
it took me only about 1.5 hours to migrate from courier-imap to dovecot.
i checked my 2 accounts on the server and it looks fine.
i'll know for sure when my co-admin wakes up and checks his mail if there is any screaming or not.
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
Crispy Beef Apprentice
Joined: 29 Apr 2003 Posts: 194 Location: UK
|
Posted: Thu Aug 17, 2006 10:38 am Post subject: |
|
|
I'll probably have a go with it when it comes out of beta and hits v1.0 properly. Cheers for the info. _________________ --
______
Crispy |
|
Back to top |
|
|
robfish Tux's lil' helper
Joined: 25 Nov 2002 Posts: 137 Location: New Zealand
|
Posted: Fri Aug 18, 2006 9:50 pm Post subject: |
|
|
courier-imap-4.0.4 seems to have the problem fixed _________________ RobFish |
|
Back to top |
|
|
|