Problem creating mailboxes

david at eagen.com david at eagen.com
Mon Dec 19 16:13:03 EST 2005


Here's the last part of a truss on cyradm showing the crash. Any ideas on how to fix this? 

open("/dev/random", O_RDONLY)                   = 6
read(6, " i\b9BB9 Z\b", 6)                      = 6
close(6)                                        = 0
times(0xFFBFF308)                               = 106022148
ioctl(1, TCGETA, 0xFFBFF12C)                    = 0
fstat64(1, 0xFFBFF048)                          = 0
write(1, " P a s s w o r d :  ", 10)            = 10
open("/dev/tty", O_RDONLY)                      = 6
fstat64(6, 0xFFBFF188)                          = 0
sigaction(SIGINT, 0xFFBFF220, 0xFFBFF2A0)       = 0
ioctl(6, TCGETA, 0xFFBFF344)                    = 0
ioctl(6, TCSETAF, 0xFFBFF344)                   = 0
fstat64(2, 0xFFBFF030)                          = 0
write(2, 0xFF0DBE58, 0)                         = 0
read(6, 0xFF1BFD5C, 1)          (sleeping...)
read(6, " J", 1)                                = 1
read(6, " e", 1)                                = 1
read(6, " x", 1)                                = 1
read(6, " 4", 1)                                = 1
read(6, " ~", 1)                                = 1
read(6, " M", 1)                                = 1
read(6, " o", 1)                                = 1
read(6, " r", 1)                                = 1
read(6, "\n", 1)                                = 1
ioctl(6, TCSETAW, 0xFFBFF344)                   = 0
write(2, "\n", 1)                               = 1
sigaction(SIGINT, 0xFFBFF220, 0xFFBFF2A0)       = 0
close(6)                                        = 0
write(4, " d X N l c m 5 h b W U 9".., 354)     = 354
poll(0xFFBFE428, 1, -1)                         = 1
read(4, " +   c n N w Y X V 0 a D".., 4096)     = 60
fstat(5, 0xFFBFF170)                            = 0
time()                                          = 1135026415
getpid()                                        = 27957 [27956]
putmsg(5, 0xFFBFE828, 0xFFBFE81C, 0)            = 0
open("/var/run/syslog_door", O_RDONLY)          = 6
door_info(6, 0xFFBFE760)                        = 0
getpid()                                        = 27957 [27956]
door_call(6, 0xFFBFE748)                        = 0
close(6)                                        = 0
write(4, "\r\n", 2)                             = 2
poll(0xFFBFE428, 1, -1)                         = 1
read(4, " 3   O K   S u c c e s s".., 4096)     = 35
write(4, "\0\0\01F h # yA4 \ } 0 ,".., 35)      = 35
poll(0xFFBFE728, 1, -1)                         = 1
read(4, "\0\0\0 PF2FACB GFEE9B102".., 4096)     = 84
stat64("/usr/local/etc/cyradmrc.pl", 0x00125848) Err#2 ENOENT
stat64("//.cyradmrc.pl", 0x00125848)            Err#2 ENOENT
stat64("/usr/local/lib/perl5/5.8.4/sun4-solaris/Term/Cap.pmc", 0xFFBFF7F0) Err#2 ENOENT
open64("/usr/local/lib/perl5/5.8.4/sun4-solaris/Term/Cap.pm", O_RDONLY) Err#2 ENOENT
stat64("/usr/local/lib/perl5/5.8.4/Term/Cap.pmc", 0xFFBFF7F0) Err#2 ENOENT
open64("/usr/local/lib/perl5/5.8.4/Term/Cap.pm", O_RDONLY) = 6
brk(0x0035F960)                                 = 0
brk(0x00361960)                                 = 0
fstat64(6, 0xFFBFD028)                          = 0
brk(0x00361960)                                 = 0
brk(0x00363960)                                 = 0
fstat64(6, 0xFFBFCED0)                          = 0
ioctl(6, TCGETA, 0xFFBFCFB4)                    Err#25 ENOTTY
read(6, " p a c k a g e   T e r m".., 8192)     = 8192
brk(0x00363960)                                 = 0
brk(0x00365960)                                 = 0
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
getcontext(0xFFBFF4B0)
getcontext(0xFFBFF320)
brk(0x00365960)                                 = 0
brk(0x00367960)                                 = 0
read(6, " e   ( $ _   = ~   s / \".., 8192)     = 8192
brk(0x00367960)                                 = 0
brk(0x00369960)                                 = 0
brk(0x00369960)                                 = 0
brk(0x0036B960)                                 = 0
brk(0x0036B960)                                 = 0
brk(0x0036D960)                                 = 0
brk(0x0036D960)                                 = 0
brk(0x0036F960)                                 = 0
brk(0x0036F960)                                 = 0
brk(0x00371960)                                 = 0
brk(0x00371960)                                 = 0
brk(0x00373960)                                 = 0
brk(0x00373960)                                 = 0
brk(0x00375960)                                 = 0
brk(0x00375960)                                 = 0
brk(0x00377960)                                 = 0
read(6, " e n   a r g s\n        ".., 8192)     = 1020
fcntl(6, F_SETFD, 0x00000001)                   = 0
stat64("//.termcap", 0x00125848)                Err#2 ENOENT
stat64("/etc/termcap", 0x00125848)              = 0
stat64("/usr/share/misc/termcap", 0x00125848)   Err#2 ENOENT
open64("/etc/termcap", O_RDONLY)                = 7
fstat64(7, 0x00125610)                          = 0
fcntl(7, F_SETFD, 0x00000001)                   = 0
fstat64(7, 0xFFBFD5C8)                          = 0
brk(0x00377960)                                 = 0
brk(0x00379960)                                 = 0
fstat64(7, 0xFFBFD470)                          = 0
ioctl(7, TCGETA, 0xFFBFD554)                    Err#25 ENOTTY
read(7, " # i d e n t\t " @ ( # )".., 8192)     = 8192
brk(0x00379960)                                 = 0
brk(0x0037B960)                                 = 0
read(7, " s t = \ E H : u e = \ E".., 8192)     = 8192
read(7, " 0 : h o = 4 0 ^ Y : k d".., 8192)     = 8192
read(7, " r q | f i r s t   v e r".., 8192)     = 8192
read(7, " \ t : m a = ^ Z ^ P : c".., 8192)     = 8192
read(7, " \ \ E [ m \ E 7 \ E [ 6".., 8192)     = 8192
read(7, " ; 8 m : m e = \ E [ 7 m".., 8192)     = 8192
read(7, " i t o r .     S a m e  ".., 8192)     = 8192
read(7, " : l i # 2 4 : c o # 8 0".., 8192)     = 8192
read(7, " l l   w o r k .\n c a |".., 8192)     = 8192
read(7, " : t c = v t 2 0 0 :\n d".., 8192)     = 8192
llseek(7, 0xFFFFFFFFFFFFE391, SEEK_CUR)         = 82833
close(7)                                        = 0
write(1, " l o c a l h o s t >  ", 11)          = 11
ioctl(0, TCGETA, 0xFFBFD554)                    = 0
fstat64(0, 0xFFBFD470)                          = 0
read(0, 0xFF1C366C, 1024)       (sleeping...)
read(0, " c m   u s e r . i n f o".., 1024)     = 13
write(4, "\0\0\0 $CAC4D17F k 9 !9C".., 40)      = 40
poll(0xFFBFE728, 1, -1)                         = 1
read(4, 0xFFBFE7C4, 4096)                       = 0
getcontext(0xFFBFF6A8)
setcontext(0xFFBFF6A8)
write(2, " c r e a t e m a i l b o".., 16)      = 16
write(1, " l o c a l h o s t >  ", 11)          = 11
read(0, 0xFF1C366C, 1024)       (sleeping...)
read(0, " l m\n", 1024)                         = 3
write(4, "\0\0\0  B984 I82B4EF _ 2".., 36)      = 36
poll(0xFFBFE728, 1, -1)                         = 1
read(4, 0xFFBFE7C4, 4096)                       Err#131 ECONNRESET
poll(0xFFBFE728, 1, -1)                         = 1
read(4, 0xFFBFE7C4, 4096)                       = 0
write(2, "\n", 1)                               = 1
write(1, " l o c a l h o s t >  ", 11)          = 11
read(0, " l m\n", 1024)                         = 3
write(4, "\0\0\0  E1 [A9EFFD | wE8".., 36)      Err#32 EPIPE
    Received signal #13, SIGPIPE [default]


-----Original Message-----
From: david at eagen.com
Sent: Mon, 19 Dec 2005 10:23:54 -0600 (CST)
Subject: Re: Problem creating mailboxes


Well, it's not DB 4.4.16. I just tried DB 3.3.11 and the same thing happens. 

-Dave

-----Original Message-----
From: david at eagen.com
Sent: Mon, 19 Dec 2005 09:17:47 -0600 (CST)
Subject: Re: Problem creating mailboxes


I noticed this error as well that appears when I run the "cm" command:

Dec 19 09:18:52 messenger1 master[5730]: [ID 970914 local6.error] process 5740 exited, signaled to death by 10

So something is definitely crashing. I'm running Berkeley DB 4.4.16. Is that a problem?

-Dave

-----Original Message-----
From: david at eagen.com
Sent: Mon, 19 Dec 2005 09:10:36 -0600 (CST)
Subject: Re: Problem creating mailboxes


>> localhost> cm info
>
>Shouldn't that be:
>
>  localhost> cm user.info
>
>or user/info if you're using unixhierarchysep?

Thanks, I turned off unixhierarchysep and tried using "cm user.info" instead. Unfortunately I still have the same issue. The cyradm app dies shortly after running the cm command and when I go back in the mailbox shows as /noselect /hasnochildren. 

#cyradm -u mailadm localhost
Password:
localhost> lm
localhost> cm user.info
createmailbox:
localhost> lm

localhost> lm
#  <--- This is where it crashes back to the command line

Going back in:
#cyradm -u mailadm localhost
Password:
localhost> lm
user.info (\Noselect \HasNoChildren)
localhost> quit
#

What would cause mailbox creation to fail? Should I be using something other than cyradm to create the mailboxes?

-Dave


More information about the Info-cyrus mailing list