After doing a yum update on a RHEL5 box to take it to update 2, Amavis
fails to start if it is not in debug mode. The difference appears to be
that in debug mode, Amavis never forks. When running outside of debug
mode, Amavis fails to fork a child, so thus refuses to start:
stat("/opt/zimbra/log/amavisd.pid", 0x10d2a140) = -1 ENOENT (No such file
or directory)
open("/dev/null", O_RDONLY) = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe58b3810) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
dup2(5, 0) = 0
close(5) = 0
fcntl(0, F_SETFD, 0) = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe58b3810) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
dup2(5, 1) = 1
close(5) = 0
fcntl(1, F_SETFD, 0) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fffe58b3810) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(1, 0, SEEK_CUR) = 0
rt_sigprocmask(SIG_BLOCK, [INT], NULL, 8) = 0
lseek(7, 11431, SEEK_SET) = 11431
lseek(7, 0, SEEK_CUR) = 11431
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0x2b99c69b9470) = 8237
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigprocmask(SIG_BLOCK, [INT], [INT], 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
close(7) = 0
exit_group(0) = ?
Since debug mode works, it's hard to gather data on why children won't
fork. Any thoughts?
Thanks,
Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/