FW: Telnet sessions drops on Solaris 5.7 -resending

From: Paul Clayton (paul.clayton@intec.co.za)
Date: Fri Oct 25 2002 - 06:40:07 EDT


> Gurus,
>
> Solaris 5.7 on a SS1000 server.
> I have a very strange problem here with telnet sessions dropping after 5
> minutes. The login is successful and the user can work. The sessions drops
> regardless of whether the user is working on the terminal or not.
I have ascertained that it has something to do with LDAP, as I am using the
pam_ldap and nss_ldap. I tried the latest release of nss_ldap(202), but
still the same problem. Unfortuatelty I cannot get pam_ldap to compile to
try this.

> Anybody seen this before.
>
> I have attached a trace from the inetd daemon.
>
> 2581: waitid(P_PID, 2603, 0xDFFFFB40, WEXITED|WTRAPPED|WNOWAIT) = 0
> 2581: ioctl(0, TIOCGPGRP, 0xDFFFFAFC) = 0
> 2581: ioctl(0, TCGETS, 0x00064234) = 0
> 2581: waitid(P_PID, 2603, 0xDFFFFB40, WEXITED|WTRAPPED) = 0
> 2581: time() = 1035480972
> 2581: write(2, " h a w k #", 6) = 6
> 2581: read(0, 0x00064960, 128) (sleeping...)
> 2581: read(0, " c d / l d a p\n", 128) = 9
> 2581: chdir("/ldap") = 0
> 2581: time() = 1035480977
> 2581: write(2, " h a w k #", 6) = 6
> 2581: read(0, 0x00064960, 128) (sleeping...)
> 2581: read(0, " p w d\n", 128) = 4
> 2581: lstat64("/ldap", 0xDFFFFAB8) = 0
> 2581: stat64(".", 0xDFFFFA20) = 0
> 2581: write(1, " / l d a p\n", 6) = 6
> 2581: time() = 1035481041
> 2581: write(2, " h a w k #", 6) = 6
> 2581: read(0, 0x00064960, 128) (sleeping...)
> 2581: Received signal #14, SIGALRM, in read() [caught]
> 2581: read(0, 0x00064960, 128) Err#4 EINTR
> 2581: sigfillset(0x000643B0) = 0
> 2581: sigprocmask(SIG_UNBLOCK, 0xDFFFF960, 0x00000000) = 0
> 2581: sigaction(SIGALRM, 0xDFFFF840, 0xDFFFF8C0) = 0
> 2581: kill(2581, SIGALRM) = 0
> 2581: Received signal #14, SIGALRM [default]
> ------------------------------------> This concerns me but why
> 2581: siginfo: SIGALRM pid=2581 uid=0
> 2581: *** process killed ***
> 2577: Received signal #18, SIGCLD, in poll() [caught]
> 2577: siginfo: SIGCLD CLD_KILLED pid=2581 status=0x000E
> 2577: poll(0xDFFFF818, 1, -1) Err#4 EINTR
> 2577: sigaction(SIGCLD, 0xDFFFF268, 0xDFFFF2E8) = 0
> 2577: open("/var/adm/utmpx", O_RDWR|O_CREAT, 0644) = 8
> 2577: open("/var/adm/utmpx", O_RDWR) = 9
> 2577: access("/var/adm/utmp", 0) = 0
> 2577: fstat64(9, 0xDFFFF110) = 0
> 2577: ioctl(9, TCGETA, 0xDFFFF09C) Err#25 ENOTTY
> 2577: read(9, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 6324
> 2577: stat64("/etc/pam_debug", 0xDFFFF290) Err#2 ENOENT
> 2577: brk(0x0002B820) = 0
> 2577: brk(0x0002D820) = 0
> 2577: stat64("/etc/pam.conf", 0xDFFFF118) = 0
> 2577: open("/etc/pam.conf", O_RDONLY) = 10
> 2577: mmap(0x00000000, 1664, PROT_READ, MAP_PRIVATE, 10, 0) = 0xDF770000
> 2577: munmap(0xDF770000, 1664) = 0
> 2577: close(10) = 0
> 2577: stat64("/usr/lib/security/pam_unix.so.1", 0xDFFFF1D0) = 0
> 2577: open("/usr/lib/security/pam_unix.so.1", O_RDONLY) = 10
> 2577: fstat(10, 0xDFFFEAFC) = 0
> 2577: mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0) =
> 0xDF770000
> 2577: mmap(0x00000000, 172032, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0)
> = 0xDF530000
> 2577: mmap(0xDF555000, 18958, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE|MAP_FIXED, 10, 86016) = 0xDF555000
> 2577: munmap(0xDF546000, 61440) = 0
> 2577: open("/dev/zero", O_RDONLY) = 11
> 2577: mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
> MAP_PRIVATE, 11, 0) = 0xDF520000
> 2577: memcntl(0xDF530000, 19496, MC_ADVISE, 0x0003, 0, 0) = 0
> 2577: close(10) = 0
> 2577: close(11) = 0
> 2577: munmap(0xDF770000, 4096) = 0
> 2577: munmap(0xDF555000, 19000) = 0
> 2577: munmap(0xDF530000, 88954) = 0
> 2577: time() = 1035481264
> 2577: lseek(8, 0, SEEK_SET) = 0
> 2577: lseek(9, 0, SEEK_SET) = 0
> 2577: read(9, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 6324
> 2577: getuid() = 0 [0]
> 2577: read(9, 0x000281BC, 8192) = 0
> 2577: lseek(8, 0, SEEK_SET) = 0
> 2577: lseek(9, 0, SEEK_SET) = 0
> 2577: read(9, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 6324
> 2577: lseek(9, 0xFFFFF2EC, SEEK_CUR) = 2976
> 2577: llseek(9, 0, SEEK_CUR) = 2976
> 2577: write(9, " r o o t\0\0\0\0\0\0\0\0".., 372) = 372
> 2577: open("/var/adm/utmp", O_RDWR|O_CREAT, 0644) = 10
> 2577: lseek(10, 288, SEEK_SET) = 288
> 2577: write(10, " r o o t\0\0\0\0 t 1 0 0".., 36) = 36
> 2577: close(10) = 0
> 2577: open("/etc/utmppipe", O_RDWR|O_NDELAY|O_NONBLOCK) = 10
> 2577: write(10, "\0\0\002\0\0\n15", 8) = 8
> 2577: close(10) = 0
> 2577: open("/etc/initpipe", O_RDWR) = 10
> 2577: write(10, "\0\0\002\0\0\n15", 8) = 8
> 2577: close(10) = 0
> 2577: open("/var/adm/wtmp", O_WRONLY|O_APPEND) = 10
> 2577: open("/var/adm/wtmpx", O_WRONLY|O_APPEND) = 11
> 2577: lseek(10, 0, SEEK_END) = 15696
> 2577: lseek(11, 0, SEEK_END) = 162192
> 2577: write(10, " r o o t\0\0\0\0 t 1 0 0".., 36) = 36
> 2577: write(11, " r o o t\0\0\0\0\0\0\0\0".., 372) = 372
> 2577: close(10) = 0
> 2577: close(11) = 0
> 2577: close(8) = 0
> 2577: llseek(9, 0, SEEK_CUR) = 3348
> 2577: close(9) = 0
> 2577: sigaction(SIGCLD, 0xDFFFF268, 0xDFFFF2E8) = 0
> 2577: llseek(0, 0, SEEK_CUR) Err#29 ESPIPE
> 2577: _exit(1)
> 156: Received signal #18, SIGCLD, in poll() [caught]
> 156: siginfo: SIGCLD CLD_EXITED pid=2577 status=0x0001
> 156: poll(0xDFFFF630, 41, -1) Err#4 EINTR
> 156: sigprocmask(0, 0x00000000, 0xDFFFF260) = 0
> 156: sigprocmask(SIG_BLOCK, 0xDFFFF260, 0xDFFFF250) = 0
> 156: waitid(P_ALL, 0, 0xDFFFF2D0, WEXITED|WNOHANG) = 0
> 156: waitid(P_ALL, 0, 0xDFFFF2D0, WEXITED|WNOHANG) = 0
> 156: sigprocmask(0, 0x00000000, 0xDFFFF260) = 0
> 156: sigprocmask(SIG_SETMASK, 0xDFFFF260, 0xDFFFF250) = 0
> 156: setcontext(0xDFFFF410)
> 156: alarm(0) = 0
> 156: sigaction(SIGALRM, 0xDFFFF6F0, 0xDFFFF7A0) = 0
> 156: sigprocmask(SIG_BLOCK, 0xDFFFF790, 0xDFFFF780) = 0
> 156: alarm(1) = 0
> 156: Received signal #14, SIGALRM, in sigsuspend() [caught]
> 156: sigsuspend(0xDFFFF770) Err#4 EINTR
> 156: setcontext(0xDFFFF550)
> 156: alarm(0) = 0
> 156: sigprocmask(SIG_UNBLOCK, 0xDFFFF790, 0x00000000) = 0
> 156: sigaction(SIGALRM, 0xDFFFF6F0, 0x00000000) = 0
> 156: poll(0xDFFFF630, 41, -1) (sleeping...)
>
>
>
>
> Regards
>
> Unix like TeePee no windows, no gates, Apache inside.
> Paul Clayton
> Intec Telecom Systems
> Ph +27 (0) 21 4309000
> Fax +27 (0) 21 4309025
> Mobile +27(0) 832853403
>
>

*******************************************************************************************
<http://www.intec-telecom-systems.com/>

This e-mail and any attachments are confidential and may also be privileged
and/or copyright material of Independent Technology Systems Limited
(or its affiliated companies). If you are not the intended or authorised recipient
of this email or have received it in error, please delete it immediately and
notify the sender by e-mail. In such a case reading, reproducing, printing or
further dissemination of this e-mail is strictly prohibited and may be unlawful.

Independent Technology Systems Limited does not represent or warrant that
an attachment hereto is free from computer viruses or other defects.

The opinions expressed in this e-mail and any of the attachments may
be those of the author and are not necessarily those of Independent
Technology Systems Limited.
******************************************************************************************
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:10 EDT