Ticket #13092: sshdpam.txt

File sshdpam.txt, 5.5 KB (added by callahad@…, 16 years ago)

sshd's pam authentication failing to create a session

Line 
1debug3: PAM: opening session
2PAM: pam_open_session(): Cannot make/remove an entry for the specified session
3debug1: PAM: establishing credentials
4debug1: permanently_set_uid: 501/20
5debug2: set_newkeys: mode 0
6debug2: set_newkeys: mode 1
7debug1: Entering interactive session for SSH2.
8debug2: fd 5 setting O_NONBLOCK
9debug2: fd 6 setting O_NONBLOCK
10debug1: server_init_dispatch_20
11debug1: server_input_channel_open: ctype session rchan 0 win 1048576 max 16384
12debug1: input_session_request
13debug1: channel 0: new [server-session]
14debug1: session_new: init
15debug1: session_new: session 0
16debug1: session_open: channel 0
17debug1: session_open: session 0: link with channel 0
18debug1: server_input_channel_open: confirm session
19debug1: server_input_channel_req: channel 0 request pty-req reply 0
20debug1: session_by_channel: session 0 channel 0
21debug1: session_input_channel_req: session 0 req pty-req
22debug1: Allocating pty.
23debug3: mm_request_send entering: type 25
24debug3: mm_pty_allocate: waiting for MONITOR_ANS_PTY
25debug3: mm_request_receive_expect entering: type 26
26debug3: mm_request_receive entering
27debug3: monitor_read: checking request 25
28debug3: mm_answer_pty entering
29debug1: session_new: init
30debug1: session_new: session 0
31lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
32lastlog_openseek: /var/log/lastlog is not a file or directory!
33lastlog_filetype: Couldn't stat /var/log/lastlog: No such file or directory
34lastlog_openseek: /var/log/lastlog is not a file or directory!
35debug3: mm_request_send entering: type 26
36debug1: session_pty_req: session 0 alloc /dev/ttys008
37debug3: tty_parse_modes: SSH2 n_bytes 251
38debug3: tty_parse_modes: ospeed 9600
39debug3: tty_parse_modes: ispeed 9600
40debug3: tty_parse_modes: 1 3
41debug3: tty_parse_modes: 2 28
42debug3: tty_parse_modes: 3 127
43debug3: tty_parse_modes: 4 21
44debug3: tty_parse_modes: 5 4
45debug3: tty_parse_modes: 6 255
46debug3: tty_parse_modes: 7 255
47debug3: tty_parse_modes: 8 17
48debug3: tty_parse_modes: 9 19
49debug3: tty_parse_modes: 10 26
50debug3: tty_parse_modes: 11 25
51debug3: tty_parse_modes: 12 18
52ttys008 ptyfd 4
53debug3: mm_request_receive entering
54debug3: tty_parse_modes: 13 23
55debug3: tty_parse_modes: 14 22
56debug3: tty_parse_modes: 17 20
57debug3: tty_parse_modes: 18 15
58debug3: tty_parse_modes: 30 0
59debug3: tty_parse_modes: 31 0
60debug3: tty_parse_modes: 32 0
61debug3: tty_parse_modes: 33 0
62debug3: tty_parse_modes: 34 0
63debug3: tty_parse_modes: 35 0
64debug3: tty_parse_modes: 36 1
65debug3: tty_parse_modes: 38 1
66debug3: tty_parse_modes: 39 1
67debug3: tty_parse_modes: 40 0
68debug3: tty_parse_modes: 41 1
69debug3: tty_parse_modes: 50 1
70debug3: tty_parse_modes: 51 1
71debug3: tty_parse_modes: 53 1
72debug3: tty_parse_modes: 54 1
73debug3: tty_parse_modes: 55 0
74debug3: tty_parse_modes: 56 0
75debug3: tty_parse_modes: 57 0
76debug3: tty_parse_modes: 58 0
77debug3: tty_parse_modes: 59 1
78debug3: tty_parse_modes: 60 1
79debug3: tty_parse_modes: 61 1
80debug3: tty_parse_modes: 62 1
81debug3: tty_parse_modes: 70 1
82debug3: tty_parse_modes: 72 1
83debug3: tty_parse_modes: 73 0
84debug3: tty_parse_modes: 74 0
85debug3: tty_parse_modes: 75 0
86debug3: tty_parse_modes: 90 1
87debug3: tty_parse_modes: 91 1
88debug3: tty_parse_modes: 92 0
89debug3: tty_parse_modes: 93 0
90debug1: server_input_channel_req: channel 0 request shell reply 0
91debug1: session_by_channel: session 0 channel 0
92debug1: session_input_channel_req: session 0 req shell
93debug1: PAM: setting PAM_TTY to "/dev/ttys008"
94debug2: fd 3 setting TCP_NODELAY
95debug2: channel 0: rfd 8 isatty
96debug2: fd 8 setting O_NONBLOCK
97debug3: fd 7 is O_NONBLOCK
98debug1: Setting controlling tty using TIOCSCTTY.
99debug1: Received SIGCHLD.
100debug1: session_by_pid: pid 43885
101debug1: session_exit_message: session 0 channel 0 pid 43885
102debug2: channel 0: request exit-status confirm 0
103debug1: session_exit_message: release channel 0
104debug2: channel 0: write failed
105debug2: channel 0: close_write
106debug2: channel 0: output open -> closed
107debug3: mm_request_send entering: type 27
108debug2: channel 0: read<=0 rfd 8 len 0
109debug2: channel 0: read failed
110debug2: channel 0: close_read
111debug2: channel 0: input open -> drain
112debug2: channel 0: ibuf empty
113debug2: channel 0: send eof
114debug2: channel 0: input drain -> closed
115debug2: channel 0: send close
116debug2: notify_done: reading
117debug3: channel 0: will not send data after close
118debug3: monitor_read: checking request 27
119debug3: mm_answer_pty_cleanup entering
120debug1: session_by_tty: session 0 tty /dev/ttys008
121debug3: mm_session_close: session 0 pid 43884
122debug3: mm_session_close: tty /dev/ttys008 ptyfd 4
123debug1: session_pty_cleanup: session 0 release /dev/ttys008
124debug2: channel 0: rcvd close
125debug3: channel 0: will not send data after close
126debug2: channel 0: is dead
127debug2: channel 0: gc: notify user
128debug1: session_by_channel: session 0 channel 0
129debug1: session_close_by_channel: channel 0 child 0
130debug1: session_close: session 0 pid 0
131debug2: channel 0: gc: user detached
132debug2: channel 0: is dead
133debug2: channel 0: garbage collecting
134debug1: channel 0: free: server-session, nchannels 1
135debug3: channel 0: status: The following connections are open:
136  #0 server-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)
137
138debug3: channel 0: close_fds r -1 w -1 e -1 c -1
139Connection closed by ::1
140debug1: do_cleanup
141debug1: PAM: cleanup
142debug3: PAM: sshpam_thread_cleanup entering
143Closing connection to ::1
144debug1: PAM: cleanup