I've compiled Exim 4.62 on Solaris using the following flags:
-D_REENTRANT -xtarget=ultra -xarch=v9 -xO3
Everything compiles fun but when I test the daemon:
# telnet mailhost 25
Trying 10.0.133.23...
Connected to baladi.y0r.jrleindustries.com.
Escape character is '^]'.
220 baladi.y0r.jrleindustries.com SMTP Ready
HELO dallas.jrleindustries.com
Connection to baladi.y0r.jrleindustries.com closed by foreign host.
A truss reveals this (3502 exim parent, 3510 exim child):
3502: pollsys(0xFFFFFFFF7FFFD1E0, 3, 0x00000000, 0x00000000) (sleeping...)
3502: pollsys(0xFFFFFFFF7FFFD1E0, 3, 0x00000000, 0x00000000) = 1
3502: waitid(P_ALL, 0, 0xFFFFFFFF7FFFD080, WEXITED|WTRAPPED|WNOHANG)
Err#10 ECHILD
3502: accept(6, 0xFFFFFFFF7FFFD500, 0xFFFFFFFF7FFFF518, SOV_DEFAULT) = 7
3502: fcntl(7, F_GETFD, 0xFFFFFFFFFFFFFFFF) = 0
3502: dup(7) = 8
3502: fcntl(8, F_GETFD, 0x00000000) = 0
3502: getsockname(7, 0xFFFFFFFF7FFFD2D4, 0xFFFFFFFF7FFFD2EC, SOV_DEFAULT)
= 0
3502: time() = 1151641652
3502: time() = 1151641652
3502: close(9) = 0
3502: open("/opt/exim.org/exim/4.62/var/log/exim.main.log",
O_WRONLY|O_APPEND) = 9
3502: fcntl(9, F_GETFD, 0x00000000) = 0
3502: fcntl(9, F_SETFD, 0x00000001) = 0
3502: fstat(9, 0xFFFFFFFF7FFFD0B0) = 0
3502: write(9, " 2 0 0 6 - 0 6 - 2 9 2".., 110) = 110
3502: fork1() = 3510
3510: fork1() (returning as child ...) = 3502
3510: getpid() = 3510 [3502]
3510: lwp_self() = 1
3510: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
3510: close(4) = 0
3510: close(5) = 0
3510: close(6) = 0
3510: sigaction(SIGCLD, 0xFFFFFFFF7FFFD110, 0x00000000) = 0
3510: so_socket(PF_INET, SOCK_STREAM, IPPROTO_IP, "", SOV_DEFAULT) = 4
3510: bind(4, 0xFFFFFFFF7FFFC87C, 16, SOV_SOCKBSD) = 0
3510: alarm(5) = 0
3510: connect(4, 0xFFFFFFFF7FFFC87C, 16, SOV_DEFAULT) Err#146 ECONNREFUSED
3510: alarm(0) = 5
3510: close(4) = 0
3510: getsockopt(7, ip, 1, 0xFFFFFFFF7FFFD120, 0xFFFFFFFF7FFFD11C,
SOV_DEFAULT) = 0
3510: setsockopt(7, SOL_SOCKET, SO_KEEPALIVE, 0xFFFFFFFF7FFFAFBC, 4,
SOV_DEFAULT) = 0
3510: brk(0x10020C9F0) = 0
3510: brk(0x1002189F0) = 0
3510: brk(0x1002189F0) = 0
3510: brk(0x1002589F0) = 0
3510: open("/etc/irs.conf", O_RDONLY) Err#2 ENOENT
3510: brk(0x1002589F0) = 0
3510: brk(0x10025C9F0) = 0
3510: open("/etc/hesiod.conf", O_RDONLY) Err#2 ENOENT
3510: brk(0x10025C9F0) = 0
3510: brk(0x1002609F0) = 0
3510: getpid() = 3510 [3502]
3510: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_DEFAULT) = 4
3510: ioctl(4, SIOCGLIFNUM, 0xFFFFFFFF7FFF9FF0) = 0
3510: close(4) = 0
3510: sysinfo(SI_SRPC_DOMAIN, "", 256) = 1
3510: open("/etc/resolv.conf", O_RDONLY|O_LARGEFILE) = 4
3510: fcntl(4, F_DUPFD, 0x00000100) = 256
3510: close(4) = 0
3510: read(256, " d o m a i n j r l e i".., 1024) = 49
3510: read(256, 0x10025D444, 1024) = 0
3510: close(256) = 0
3510: getpid() = 3510 [3502]
3510: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_DEFAULT) = 4
3510: ioctl(4, SIOCGLIFNUM, 0xFFFFFFFF7FFF9AE0) = 0
3510: close(4) = 0
3510: sysinfo(SI_SRPC_DOMAIN, "", 256) = 1
3510: open("/etc/resolv.conf", O_RDONLY|O_LARGEFILE) = 4
3510: fcntl(4, F_DUPFD, 0x00000100) = 256
3510: close(4) = 0
3510: read(256, " d o m a i n j r l e i".., 1024) = 49
3510: read(256, 0x10025D7C4, 1024) = 0
3510: close(256) = 0
3510: stat("/etc/resolv.conf", 0xFFFFFFFF7FFF8C40) = 0
3510: sysconfig(_CONFIG_OPEN_FILES) = 1000
3510: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_DEFAULT) = 4
3510: connect(4, 0xFFFFFFFF7F34E028, 16, SOV_DEFAULT) = 0
3510: send(4, "90F701\0\001\0\0\0\0\0\0".., 42, 0) = 42
3510: pollsys(0xFFFFFFFF7FFF86C0, 1, 0xFFFFFFFF7FFF8420, 0x00000000) = 1
3510: recvfrom(4, "90F78580\001\001\0\0\0\0".., 2048, 0,
0xFFFFFFFF7FFF85B8, 0xFFFFFFFF7FFF86BC) = 85
3510: close(4) = 0
3510: door_info(3, 0xFFFFFFFF7FFF8088) = 0
3510: door_call(3, 0xFFFFFFFF7FFF8058) = 0
3510: getpid() = 3510 [3502]
3510: getpid() = 3510 [3502]
3510: open("/etc/hosts.allow", O_RDONLY) Err#2 ENOENT
3510: open("/etc/hosts.deny", O_RDONLY) Err#2 ENOENT
3510: pollsys(0xFFFFFFFF7FFFAEA0, 1, 0xFFFFFFFF7FFFAFB0, 0x00000000) = 0
3510: fstat(7, 0xFFFFFFFF7FFFA010) = 0
3510: brk(0x1002609F0) = 0
3510: brk(0x1002649F0) = 0
3510: fstat(7, 0xFFFFFFFF7FFF9EE0) = 0
3510: ioctl(7, TCGETA, 0xFFFFFFFF7FFF9F4C) Err#22 EINVAL
3510: sigaction(SIGTERM, 0xFFFFFFFF7FFFCCE0, 0x00000000) = 0
3510: sigaction(SIGALRM, 0xFFFFFFFF7FFFCC30, 0x00000000) = 0
3510: write(7, " 2 2 0 b a l a d i . y".., 46) = 46
3510: alarm(300) = 0
3502: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
3502: close(7) = 0
3502: lseek(8, 0, SEEK_CUR) Err#29 ESPIPE
3502: close(8) = 0
3502: pollsys(0xFFFFFFFF7FFFD1E0, 3, 0x00000000, 0x00000000) (sleeping...)
3510: read(8, 0x100208740, 8192) (sleeping...)
3510: read(8, " H E L O d a l l a s .".., 8192) = 32
3510: alarm(0) = 299
3510: sigaction(SIGALRM, 0xFFFFFFFF7FFFCC30, 0x00000000) = 0
3510: getpid() = 3510 [3502]
3510: stat("/opt/exim.org/exim/4.62/lib/libc.so.1", 0xFFFFFFFF7FFFC0A0)
Err#2 ENOENT
3510: sysinfo(SI_HOSTNAME, "baladi", 255) = 7
3510: Incurred fault #6, FLTBOUNDS %pc = 0xFFFFFFFF7E538890
3510: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF80000000
3510: Received signal #11, SIGSEGV [default]
3510: siginfo: SIGSEGV SEGV_MAPERR addr=0xFFFFFFFF80000000
3502: Received signal #18, SIGCLD, in pollsys() [caught]
3502: siginfo: SIGCLD CLD_DUMPED pid=3510 status=0x000B
3502: pollsys(0xFFFFFFFF7FFFD1E0, 3, 0x00000000, 0x00000000) Err#4 EINTR
3502: schedctl() = 0xFFFFFFFF7DEB4000
3502: lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
3502: sigaction(SIGCLD, 0xFFFFFFFF7FFFC940, 0x00000000) = 0
3502: setcontext(0xFFFFFFFF7FFFC8D0)
3502: waitid(P_ALL, 0, 0xFFFFFFFF7FFFD080, WEXITED|WTRAPPED|WNOHANG) = 0
3502: waitid(P_ALL, 0, 0xFFFFFFFF7FFFD080, WEXITED|WTRAPPED|WNOHANG)
Err#10 ECHILD
3502: sigaction(SIGCLD, 0xFFFFFFFF7FFFD1E0, 0x00000000) = 0
3502: pollsys(0xFFFFFFFF7FFFD1E0, 3, 0x00000000, 0x00000000) (sleeping...)
Any ideas?
Justin
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/