This is a discussion on Re: smtp killed by signal 4 within the mailing.postfix.users forums, part of the Mail Servers and Related category; Martin Wendel wrote: > > 2004-10-12 kl. 18.54 skrev Wietse Venema: > >> Martin Wendel: >&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Martin Wendel wrote:
> > 2004-10-12 kl. 18.54 skrev Wietse Venema: > >> Martin Wendel: >> >>> Oct 12 15:32:33 limicola postfix/master[128536]: warning: process >>> /postfix/bin/smtp pid 54800 killed by signal 4 >> >> >> Wietse: >> >>>> Signal 4 is "illegal instruction" (SIGILL). >>>> >>>> Build Postfix without using any third-party libraries: not >>>> for DNS, not for LDAP, not for TLS, not for anything. >>>> >>>> And yes, I have it running on AIX 5.1 PPC, out of the box, >>>> and it never gives me trouble. >>> >> >> Martin Wendel: >> >>> No, still the same problems. Compiled with: >>> >>> /opt/freeware/bin/make tidy >>> /opt/freeware/bin/make makefiles OPT='' CCARGS='-g >>> -DLOG_FACILITY=LOG_LOCAL1 >>> -DDEF_QUEUE_DIR=\"/postfix/var/spool/postfix\" >>> -DDEF_PROGRAM_DIR=\"/postfix/bin\" -DDEF_DAEMON_DIR=\"/postfix/bin\" >>> -DDEF_COMMAND_DIR=\"/postfix/bin\" -DDEF_PID_DIR=\"/postfix/pid\" >>> -DDEF_CONFIG_DIR=\"/postfix/etc/postfix\" >>> -DDEF_SAMPLE_DIR=\"/postfix/etc/postfix/samples\" >>> -DDEF_MANPAGE_DIR=\"/postfix/man\" >>> -DDEF_README_DIR=\"/postfix/README\"' AUXLIBS="-lc -lcrypt" >>> /opt/freeware/bin/make >> >> >> Rule 1 of trouble of shooting is DON'T CHANGE ANYTHING UNTIL IT WORKS. >> >> So, >> >> - Don't override pathnames >> >> - Don't link with additional libraries. >> >> Just build Postfix as per the defaults. >> > > OK, so I did (just make tidy; make makefiles and make). BTW it won't > compile out of the box on AIX 5.1: > > gcc -Wmissing-prototypes -Wformat -D_ALL_SOURCE -DHAS_POSIX_REGEXP > -DSNAPSHOT -g -O -I. -DAIX4 -c unix_recv_fd.c > unix_recv_fd.c: In function `unix_recv_fd': > unix_recv_fd.c:76: error: structure has no member named `msg_accrights' > unix_recv_fd.c:77: error: structure has no member named > `msg_accrightslen' > unix_recv_fd.c:111: error: structure has no member named > `msg_accrightslen' > make: *** [unix_recv_fd.o] Error 1 > make: *** [update] Error 1 > > > Either adding this to src/utils/sys_defs.h: > > #define CANT_USE_SEND_RECV_MSG > #define DEF_SMTP_CACHE_DEMAND 0 > > or adding -D_LINUX_SOURCE_COMPAT to gcc will make it compile though. > > I tried both ways, even cleared the old queue (postsuper -d ALL), but > the problem still remains. > > In less than two hours it delivers 11000 mails (grep status=sent maillog) > and gives 45 smtp killed by signal 4 entries (grep "killed by signal > 4" maillog). > mailq shows 420 lines of (delivery temporarily suspended: unknown mail > transport error), > that is about ten times the amount of signal 4 killed smtp processes. > I have the same problem. On AIX 5.1... BTW you can use -DCOMPAT_43 when compiling to get around the problems in unix_recv_fd as well... (Which is what I did). Did you get any further with this? I've got 5x mail gateways, all supposedly identical, apart from IP addresses and only ONE of them exhibits this fault using postfix-2.2-20040829-tls... I'm about to try 20041013 (Also with TLS, had to hand patch 4 rejects mostly in makefiles). regards Hamish. |