Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[courier-imap] Impossible de lancer les services (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Thu Aug 17, 2006 4:46 pm    Post subject: [courier-imap] Impossible de lancer les services (résolu) Reply with quote

Bonsoir,
j'ai encore un problème avec la mise en place de mon serveur mail :oops: .
Il s'agit toujours de cette article : http://www.gentoo.org/doc/fr/qmail-howto.xml

Je coince à l'étape : 4. Courier POP/IMAP

Code:
b2 courier-imap # emerge -pv net-mail/courier-imap

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-mail/courier-imap-4.0.1  USE="berkdb gdbm nls -debug -fam -ipv6"

L'installation se déroule tout à fait normalement.
Le problème arrive au lancement des services :
Code:
b2 courier-imap # /etc/init.d/courier-pop3d start
 * Starting courier-pop3d ...                                             [ !! ]


PS : le résultat est le même avec la version ssl.
Je ne sais pas comment faire pour que celà marche et je ne sais pas non plus quelles autres informations je peux vous fournir.

Cordialement.


Last edited by SnowBear on Thu Aug 17, 2006 7:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
onvice
n00b
n00b


Joined: 20 May 2005
Posts: 58

PostPosted: Thu Aug 17, 2006 5:31 pm    Post subject: Re: [courier-imap] Impossible de lancer les services Reply with quote

SnowBear wrote:


Code:
b2 courier-imap # emerge -pv net-mail/courier-imap

L'installation se déroule tout à fait normalement.
Le problème arrive au lancement des services :
Code:
b2 courier-imap # /etc/init.d/courier-pop3d start
 * Starting courier-pop3d ...                                             [ !! ]



Salut,

Je ne vais malheureusement pas pouvoir t'aider mais ton probleme ressemble étrangement au mien meme si moi ce n'est pas une nouvelle installation.
je vais donc suivre egalement ton post de près.
Mais à tout hasad peux tu donner plus d'infos sur ta version de gentoo, versions de logicielles (courier-imap 4.0.1 :?: ) ...........

A bientôt,
_________________
--
Back to top
View user's profile Send private message
Darkael
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1321
Location: France

PostPosted: Thu Aug 17, 2006 6:09 pm    Post subject: Reply with quote

Salut,

il se passe quelque chose si tu essayes de lancer à la main? C'est à dire:
Code:


/usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc


Sinon, regarde aussi s'il y a des process qui tournent déja:
Code:

ps aux | grep courier
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Thu Aug 17, 2006 7:05 pm    Post subject: Reply with quote

Salut,

Code:
b2 ~ # /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc
b2 ~ #

Rien ne s'affiche, un ps aux | grep courier me renvoi :
Code:
b2 ~ # ps aux|grep courier
root      2136  0.0  0.0   1556   464 ?        S    21:02   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/lib/courier-imap/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/sbin/pop3login /usr/sbin/courier-pop3d .maildir
root      2138  0.0  0.0   1332   296 ?        S    21:02   0:00 /usr/lib/courier-imap/courierlogger pop3d


Maintenant si j'essai de lancer le service (avec courier-pop3d non lancé) :
Code:
b2 ~ # ps aux|grep courier
root      2252  0.0  0.0   1856   708 pts/0    S+   21:04   0:00 grep courier
b2 ~ # /etc/init.d/courier-pop3d start
 * Starting courier-authlib: authdaemond ...                                                                                      [ ok ]
 * Starting courier-pop3d ...                                                                                                     [ !! ]
b2 ~ # ps aux|grep courier
root      2357  0.3  0.0   1464   380 ?        S    21:04   0:00 /usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -start /usr/lib/courier/courier-authlib/authdaemond
root      2358  0.3  0.1   3744  1148 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2362  0.0  0.0   3744   412 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2363  0.0  0.0   3744   412 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2364  0.0  0.0   3744   412 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2365  0.0  0.0   3744   412 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2366  0.0  0.0   3744   412 ?        S    21:04   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      2441  0.0  0.0   1864   724 pts/0    S+   21:04   0:00 grep courier


Voilà :/
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Thu Aug 17, 2006 7:14 pm    Post subject: Reply with quote

Je propose pour ce cas un :
Code:
/usr/sbin/mkpop3dcert

Meme en non ssl, le démon demande les certificats pour démarrer (pour le TLS)...
J'ai eu le même problème pour l'imap (/usr/sbin/mkimapdcert)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Thu Aug 17, 2006 7:21 pm    Post subject: Reply with quote

Salut,
toujours pareil.
Code:
b2 ~ # ps aux|grep courier
root      3597  0.0  0.0   1856   708 pts/0    S+   21:19   0:00 grep courier
b2 ~ # mkpop3dcert
Generating a 1024 bit RSA private key
............++++++
......++++++
writing new private key to '/etc/courier-imap/pop3d.pem'
-----
512 semi-random bytes loaded
Generating DH parameters, 512 bit long safe prime, generator 2
This is going to take a long time
.............................+.........................+..+..........+...........+.+.................+.......+....+.....................................................+...........+.................+.......+..+......+.........+...+.........................................+......+.+...........................................+...+......................................................+..............................++*++*++*++*++*++*
subject= /C=FR/ST=France/L=Aire/O=GD2D/OU=Automatically-generated Qmail SMTP SSL key/CN=b2.homelinux.net/emailAddress=dark@gd2d.net
notBefore=Aug 17 19:19:37 2006 GMT
notAfter=Aug 17 19:19:37 2007 GMT
MD5 Fingerprint=7D:E2:34:71:27:55:06:29:D3:2F:66:84:CE:48:58:E5
b2 ~ # /etc/init.d/courier-pop3d start
 * Starting courier-authlib: authdaemond ...                                                                                      [ ok ]
 * Starting courier-pop3d ...                                                                                                     [ !! ]
b2 ~ # ps aux|grep courier
root      3802  0.0  0.0   1468   384 ?        S    21:20   0:00 /usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -start /usr/lib/courier/courier-authlib/authdaemond
root      3803  0.0  0.1   3744  1152 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3807  0.0  0.0   3744   416 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3808  0.0  0.0   3744   416 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3809  0.0  0.0   3744   416 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3810  0.0  0.0   3744   416 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3811  0.0  0.0   3744   416 ?        S    21:20   0:00 /usr/lib/courier/courier-authlib/authdaemond
root      3920  0.0  0.0   1864   724 pts/0    S+   21:20   0:00 grep courier
Back to top
View user's profile Send private message
SnowBear
l33t
l33t


Joined: 03 Sep 2005
Posts: 773
Location: France - Bordeaux

PostPosted: Thu Aug 17, 2006 7:55 pm    Post subject: Reply with quote

résolu en passant à la version de test de courier-imap.
Back to top
View user's profile Send private message
Darkael
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1321
Location: France

PostPosted: Thu Aug 17, 2006 7:55 pm    Post subject: Reply with quote

SnowBear wrote:
Salut,

Code:
b2 ~ # /usr/bin/env - /usr/lib/courier-imap/gentoo-pop3d.rc
b2 ~ #

Rien ne s'affiche, un ps aux | grep courier me renvoi :
Code:
b2 ~ # ps aux|grep courier
root      2136  0.0  0.0   1556   464 ?        S    21:02   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/lib/courier-imap/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/sbin/pop3login /usr/sbin/courier-pop3d .maildir
root      2138  0.0  0.0   1332   296 ?        S    21:02   0:00 /usr/lib/courier-imap/courierlogger pop3d


Maintenant si j'essai de lancer le service (avec courier-pop3d non lancé) :
Code:
b2 ~ # ps aux|grep courier
root      2252  0.0  0.0   1856   708 pts/0    S+   21:04   0:00 grep courier
b2 ~ # /etc/init.d/courier-pop3d start
 * Starting courier-authlib: authdaemond ...                                                                                      [ ok ]
 * Starting courier-pop3d ...                                                                                                     [ !! ]
b2 ~ # ps aux|grep courier


Voilà :/

Et si justement tu le lances à la main après que le script courier-authlib soit lancé? (désolé d'insister :D)

Sinon tu n'as rien dans tes logs à propos de ça?

[EDIT] oops, grillé :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum