[Dovecot] 1st DOVECOT installation automatically quitting on login
Hi there.
I have just installed DOVECOT 1.0.1 for the first time.
After launching it, I can verify that
ps -ax | grep -i dovecot 1052 ?? Ss 0:00.03 /usr/local/dovecot/sbin/dovecot -c /etc/dovecot/dovecot.conf 1053 ?? S 0:00.06 dovecot-auth 1058 p2 R+ 0:00.01 grep -i dovecot
ps -ax | grep -i imap 1054 ?? S 0:00.08 imap-login 1055 ?? S 0:00.08 imap-login 1056 ?? S 0:00.08 imap-login 1060 p2 R+ 0:00.01 grep -i imap
Then, if I telnet to DOVECOT/IMAP & login
telnet 192.168.1.30 143 Trying 192.168.1.30... Connected to 192.168.1.30. Escape character is '^]'.
- OK [CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS QUOTA STARTTLS AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=CRAM-MD5] haynes.name IMAP4 server ready x login ben@haynes.name benpass x OK Logged in. Connection closed by foreign host.
^^^^^^^^^^^^^^^^^^^
It disconnects automatically.
In my dovecot.conf, I currently have defined
verbose_ssl = no auth_verbose = no auth_debug = yes mail_debug = no
And, in dovecot.log, I get only,
dovecot: Jun 15 18:51:10 Info: auth(default): client in: AUTH 1 PLAIN service=IMAP lip=192.168.1.30 rip=192.168.1.3resp=<hidden> dovecot: Jun 15 18:51:10 Info: auth(default): passwd-file(user= ben@haynes.name,192.168.1.3): lookup: user=ben@haynes.namefile=/etc/dovecot/user.file dovecot: Jun 15 18:51:10 Info: auth(default): client out: OK 1 user=ben@haynes.name dovecot: Jun 15 18:51:10 Info: auth(default): master in: REQUEST 11054 1 dovecot: Jun 15 18:51:10 Info: auth(default): master out: USER 1 ben@haynes.name static uid=500 gid=500 home=/var/mail/imap/haynes.name/accounts/ben nice=10 dovecot: Jun 15 18:51:10 Info: imap-login: Login: user=<user=ben@haynes.name>, method=PLAIN, rip=192.168.1.3, lip=192.168.1.30 dovecot: Jun 15 18:51:14 Error: child 1064 (imap) killed with signal 4
Ihaven't been able to figure out why this is happening. Is there some more detailed debugging I should turn on? Any ideas why this is going on?
-- Ben
Am Samstag, 16. Juni 2007 schrieb Benton Haynes:
dovecot: Jun 15 18:51:14 Error: child 1064 (imap) killed with signal 4
As you're getting SIGILL, have you verified that your dovecot (and all libraries it depends on) has been compiled for the right target CPU?
Greetings,
Gunter
-- *** Powered by AudioScrobbler --> http://www.last.fm/user/Interneci/ *** 22:00 | Theatre of Tragedy - Der Tanz der Schatten (club mix) 20:01 | Epica - Quietus (Score version) 19:56 | Epica - Solitary ground (single versio 19:54 | Epica - Trois Vierges (reprise) *** PGP-Verschlüsselung bei eMails erwünscht :-) *** PGP: 0x1128F25F ***
As you're getting SIGILL, have you verified that your dovecot (and all libraries it depends on) has been compiled for the right target CPU?
Greetings,
Gunter
As far as I can tell, yes.
Checking in the DOVECOT build's config.log
ac_cv_build=powerpc-apple-darwin8.9.0 ac_cv_host=powerpc-apple-darwin8.9.0 build='powerpc-apple-darwin8.9.0' build_os='darwin8.9.0' host='powerpc-apple-darwin8.9.0' host_os='darwin8.9.0'
that looks ok.
And, the apparently dependent liibraries are all correctly built, and in frequent use elsewhere, without troubles.
dovecot/sbin> otool -L dovecot dovecot: /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.4.1) /usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
dovecot/libexec/dovecot> otool -L imap-login imap-login: /usr/local/lib/libsqlite3.0.dylib (compatibility version 9.0.0, current version 9.6.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.4.1) /usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) /usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) /usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
I'm not sure if that answers your question. But, yes, I'm fairly sure all is for the right platform.
Ben
Am Samstag, 16. Juni 2007 schrieb Benton Haynes:
As you're getting SIGILL, have you verified that your dovecot (and all libraries it depends on) has been compiled for the right target CPU?
As far as I can tell, yes.
ac_cv_build=powerpc-apple-darwin8.9.0
Ah, you're on PPC, ok...
My point was that your binaries could have been compiled / optimized for a wrong model of the target CPU family.
In the x86 world you'll get SIGILL if you try to run Pentium M compiled code on a 586 platform, or SSE/MMX enabled code on a CPU which does not support these extended instruction sets.
I don't know about PPCs, though.
Greetings,
Gunter
In the x86 world you'll get SIGILL if you try to run Pentium M compiled code on a 586 platform, or SSE/MMX enabled code on a CPU which does not support these extended instruction sets.
I don't know about PPCs, though.
I've read about such troubles on the PPC, but it looks like you have to specify a different or "wrong" platform SDK.
When I built DOVECOT, I did not specify the platform. From what I know, DOVECOT's configured to determine the current, default platform correctly.
Based on the config.log, it seems to.
Thanks for the idea. Hopefully others will chime in with some troubleshooting tips as well.
Ben
participants (2)
-
Benton Haynes
-
Gunter Ohrner