v2.3.15 IMAP connection hangs

Rosenbaum, Larry M. rosenbaumlm at ornl.gov
Fri Sep 11 09:22:47 EDT 2009


> From: Bron Gondwana [mailto:brong at fastmail.fm]
> 
> On Thu, Sep 10, 2009 at 04:11:37PM -0400, Rosenbaum, Larry M. wrote:
> > I have just installed v2.3.15 on Solaris 9 Sparc with Cyrus-SASL
> 2.1.24rc1.  When I connect to the IMAP port, I get a banner message but
> there is no response to any command I give it (including "0 logout").
> I am able to give commands to the POP3 port and LMTP port just fine.
> Previous versions of Cyrus IMAP work OK too.  Where should I look for
> the problem?
> 
> Can you get a trace on the process (truss or similar) that shows what
> file
> it's sitting waiting on a lock for?  It's probably a locking issue.

Here is a truss showing an attempt at running cyradm:

ornl71# truss -f -p 18499
18499:  accept(4, 0x00000000, 0x00000000, 1) (sleeping...)
18499:  accept(4, 0x00000000, 0x00000000, 1)            = 10
18499:  fcntl(9, F_SETLKW, 0xFFBFF290)                  = 0
18499:  alarm(0)                                        = 0
18499:  getpid()                                        = 18499 [17305]
18499:  write(3, "\0\0\002\0\0 H C", 8)                 = 8
18499:  fstat(5, 0xFFBFEFC8)                            = 0
18499:  time()                                          = 1252675062
18499:  getpid()                                        = 18499 [17305]
18499:  putmsg(5, 0xFFBFE680, 0xFFBFE674, 0)            = 0
18499:  open("/var/run/syslog_door", O_RDONLY)          = 11
18499:  door_info(11, 0xFFBFE5B8)                       = 0
18499:  getpid()                                        = 18499 [17305]
18499:  door_call(11, 0xFFBFE5A0)                       = 0
18499:  close(11)                                       = 0
18499:  fcntl(10, F_DUP2FD, 0x00000000)                 = 0
18499:  fcntl(10, F_DUP2FD, 0x00000001)                 = 1
18499:  fcntl(10, F_DUP2FD, 0x00000002)                 = 2
18499:  close(10)                                       = 0
18499:  getpid()                                        = 18499 [17305]
18499:  write(3, "\0\0\003\0\0 H C", 8)                 = 8
18499:  getpeername(0, 0xFFBFF010, 0xFFBFEB84, 1)       = 0
18499:  open("/etc/netconfig", O_RDONLY|O_LARGEFILE)    = 10
18499:  fcntl(10, F_DUPFD, 0x00000100)                  Err#22 EINVAL
18499:  read(10, " # p r a g m a   i d e n".., 1024)    = 1024
18499:  read(10, " t s           t p i _ c".., 1024)    = 215
18499:  read(10, 0x00136728, 1024)                      = 0
18499:  lseek(10, 0, SEEK_SET)                          = 0
18499:  read(10, " # p r a g m a   i d e n".., 1024)    = 1024
18499:  read(10, " t s           t p i _ c".., 1024)    = 215
18499:  read(10, 0x00136728, 1024)                      = 0
18499:  close(10)                                       = 0
18499:  open("/dev/udp", O_RDONLY)                      = 10
18499:  ioctl(10, 0xC00C6982, 0xFFBFE8FC)               = 0
18499:  close(10)                                       = 0
18499:  open64("/var/run/name_service_door", O_RDONLY)  = 10
18499:  fcntl(10, F_SETFD, 0x00000001)                  = 0
18499:  door_info(10, 0xFEEC26C0)                       = 0
18499:  door_call(10, 0xFFBFC868)                       = 0
18499:  door_info(10, 0xFFBFC800)                       = 0
18499:  door_call(10, 0xFFBFC7E8)                       = 0
18499:  getsockname(0, 0xFFBFF110, 0xFFBFEB84, 1)       = 0
18499:  brk(0x0013D190)                                 = 0
18499:  brk(0x0013F190)                                 = 0
18499:  getpid()                                        = 18499 [17305]
18499:  open("/usr/local/cyrus/data/proc/18499", O_RDWR|O_CREAT|O_TRUNC, 0666) = 11
18499:  llseek(11, 0, SEEK_CUR)                         = 0
18499:  llseek(11, 0, SEEK_SET)                         = 0
18499:  fstat64(11, 0xFFBFE950)                         = 0
18499:  fstat64(11, 0xFFBFE7F8)                         = 0
18499:  ioctl(11, TCGETA, 0xFFBFE8DC)                   Err#25 ENOTTY
18499:  write(11, " e m a i l . o r n l . g".., 29)     = 29
18499:  llseek(11, 0, SEEK_CUR)                         = 29
18499:  fcntl(11, F_FREESP, 0xFFBFEA84)                 = 0
18499:  time()                                          = 1252675063
18499:  open("/usr/local/cyrus/data/msg/motd", O_RDONLY) Err#2 ENOENT
18499:  write(1, " *   O K   [ C A P A B I".., 126)     = 126
18499:  time()                                          = 1252675063
18499:  poll(0xFFBFB860, 1, 1800000)                    = 1
18499:  time()                                          = 1252675063
18499:  time()                                          = 1252675063
18499:  poll(0xFFBFC858, 1, 1800000)                    = 1
18499:  time()                                          = 1252675063
18499:  time()                                          = 1252675063
18499:  read(0, " 1   C A P A B I L I T Y".., 4096)     = 14
18499:  time()                                          = 1252675063
18499:  poll(0xFFBFC858, 1, 1800000)    (sleeping...)



More information about the Info-cyrus mailing list