On Sun, 21 Sep 2003, Scott Schappell wrote:
>strace output (running openssl command as root in another window):
>[pid 13140] break(0x80b6000)            = 0
>[pid 13140] break(0x80b7000)            = 0
>[pid 13140] break(0x80b8000)            = 0
>[pid 13140] open("/usr/local/openssl/cert.pem", O_RDONLY) = -1 ENOENT (No such file or
>directory)
>[pid 13140] getpid()                    = 13140 (ppid 77566)
>WHy is it trying to find a cert here?~

That's probably openssl doing some magic stuff - Binc IMAP doesn't use 
that path. :/

>[pid 13140] getpid()                    = 13140 (ppid 77566)
>[pid 13140] getpid()                    = 13140 (ppid 77566)
>[pid 13140] getpid()                    = 13140 (ppid 77566)
>[pid 13140] getpid()                    = 13140 (ppid 77566)
>[pid 13140] getpid()                    = 13140 (ppid 77566)
>[pid 13140] getpid()                    = 13140 (ppid 77566)

Don't we just love those meaningful getpids? ;)

>[pid 13140] write(2, "13140 0 [EMAIL PROTECTED]:] Error initializing Binc IMAP: SSL
>negotiation failed: SSL error: unable to use private key in P"..., 226

This line is interesting. If you strace with -s 1024 instead, you will see 
the whole error message.

This also makes me wonder why you didn't see anything in the logs. That 
line was written to file descriptor 2, so I guess you're using multilog. 
But have you checked wether the log area for bincimap-ssl is writable / is 
locked or something? That could explain why Binc hangs... :/

>OK, these lines are vaguely troubling:
>[pid 13140] open("/dev/tty", O_RDONLY)  = -1 ENXIO (Device not configured)
>[pid 13140] open("/dev/tty", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENXIO (Device not
>configured)
>[pid 13140] ioctl(0, TIOCGETA, 0x281d2840) = -1 EOPNOTSUPP (Operation not supported)
>[pid 13140] getpid()                    = 13140 (ppid 77566)

I don't recognize this, but they may have something to do with the error 
you're seing.

Following the thread, I see that you've got a fallback which is to use an 
SSL stunnel. But I _would_ like to find out what caused Binc to hang. :-)

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to