Michael Carmack writes:
> On Sun, Oct 27, 2002 at 08:02:26AM +0000, Michael Carmack wrote:
>>
>> I just saw this again tonight, and I didn't think to get an trace
>> before I fixed the problem. When it happens again--a couple weeks
>> maybe--I'll post more info. In the meantime, any suggestions?
>
> It happened sooner than I expected. The strace (minus the library
> bits) is fairly short, so I pasted it below:
The error occurs in the forked child process. The parent's trace is
meaningless.
Use strace -f next time.
>
>
>
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
> x40015000
> old_mmap(NULL, 925116, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40016000
> mprotect(0x400f0000, 32188, PROT_NONE) = 0
> old_mmap(0x400f0000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd9
> 000) = 0x400f0000
> old_mmap(0x400f5000, 11708, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANON
> YMOUS, -1, 0) = 0x400f5000
> close(3) = 0
> mprotect(0x40016000, 892928, PROT_READ|PROT_WRITE) = 0
> mprotect(0x40016000, 892928, PROT_READ|PROT_EXEC) = 0
> personality(0 /* PER_??? */) = 0
> getpid() = 9030
> setgid(10001) = -1 EPERM (Operation not permitted)
> getuid() = 1
> setuid(1) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
> getuid() = 1
> brk(0) = 0x80506d0
> brk(0x80506f8) = 0x80506f8
> brk(0x8051000) = 0x8051000
> pipe([3, 4]) = 0
> pipe([5, 6]) = 0
> fork() = 9031
> sendmail: ERR: Permission denied
> --- SIGCHLD (Child exited) ---
> close(3) = 0
> close(6) = 0
> fcntl(4, F_SETFD, FD_CLOEXEC) = 0
> fcntl(4, F_GETFL) = 0x1 (flags O_WRONLY)
> fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
> x400f8000
> _llseek(4, 0, 0xbffff9b4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> fcntl(5, F_SETFD, FD_CLOEXEC) = 0
> fcntl(5, F_GETFL) = 0 (flags O_RDONLY)
> fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
> x400f9000
> _llseek(5, 0, 0xbffff9b4, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> rt_sigaction(SIGINT, {0x804ade0, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGTERM, {0x804ade0, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGHUP, {0x804ade0, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
> rt_sigaction(SIGALRM, {0x8049e14, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
> alarm(1800) = 0
> write(4, "root\n", 5) = -1 EPIPE (Broken pipe)
> --- SIGPIPE (Broken pipe) ---
> fstat64(1, {st_mode=S_IFCHR|0622, st_rdev=makedev(136, 5), ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
> x400fa000
> ioctl(1, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
> write(1, "432 Service temporarily unavaila"..., 37432 Service temporarily unavai
> lable.
> ) = 37
> munmap(0x400f8000, 4096) = 0
> munmap(0x400fa000, 4096) = 0
> _exit(75) = ?
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ApacheCon, November 18-21 in
> Las Vegas (supported by COMDEX), the only Apache event to be
> fully supported by the ASF. http://www.apachecon.com
> _______________________________________________
> courier-users mailing list
> courier-***@lists.sourceforge.net
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users