From owner-freebsd-questions Thu Jan 10 11:17:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 66E5C37B41B for ; Thu, 10 Jan 2002 11:16:29 -0800 (PST) Received: from barbish ([63.70.155.107]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Thu, 10 Jan 2002 14:19:12 -0500 From: "Joe & Fhe Barbish" To: "Brian Somers" Cc: "FBSD Questions" Subject: RE: pam_authenticate:conversion error Date: Thu, 10 Jan 2002 14:16:22 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <200201101740.g0AHeK003086@hak.lan.Awfulhak.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Brian, Here is the documentation you requested on the problem. The info from ppp.log Jan 10 13:39:33 gateway ppp[230]: Phase: Using interface: tun1 Jan 10 13:39:33 gateway ppp[230]: Phase: deflink: Created in closed state Jan 10 13:39:34 gateway ppp[230]: tun1: Command: default: set speed 115200 Jan 10 13:39:34 gateway ppp[230]: tun1: Command: default: set timeout 0 Jan 10 13:39:34 gateway ppp[230]: tun1: Command: default: disable pred1 deflate lqr Jan 10 13:39:34 gateway ppp[230]: tun1: Command: default: deny pred1 deflate lqr Jan 10 13:39:34 gateway ppp[230]: tun1: Phase: PPP Started (interactive mode). Jan 10 13:39:56 gateway ppp[230]: tun1: Command: /dev/tty: show timer Jan 10 13:40:15 gateway ppp[230]: tun1: Command: /dev/tty: show timer Jan 10 13:40:25 gateway ppp[230]: tun1: Command: /dev/tty: show lcp Jan 10 13:40:56 gateway ppp[230]: tun1: Command: /dev/tty: show datalink Jan 10 13:41:19 gateway ppp[230]: tun1: Command: /dev/tty: show physical Jan 10 13:41:44 gateway ppp[230]: tun1: Command: /dev/tty: show bundle Jan 10 13:42:00 gateway ppp[230]: tun1: Command: /dev/tty: show timer Jan 10 13:42:10 gateway ppp[230]: tun1: Command: /dev/tty: quit Jan 10 13:42:10 gateway ppp[230]: tun1: Phase: PPP Terminated (normal). Console log Script started on Thu Jan 10 13:36:42 2002 This is what is running after booting the system and before dialin gateway# ps ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.00 (swapper) 1 ?? ILs 0:00.02 /sbin/init -- 2 ?? DL 0:00.00 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 0:00.00 (bufdaemon) 5 ?? DL 0:00.01 (syncer) 108 ?? Ss 0:00.04 /usr/sbin/ppp -quiet -ddial dialisp 144 ?? Is 0:00.00 /sbin/natd -dynamic -n tun0 162 ?? Is 0:00.13 /usr/sbin/syslogd -s 181 ?? Is 0:00.01 /usr/sbin/inetd -wW 183 ?? Is 0:00.01 /usr/sbin/cron 201 ?? Is 0:00.00 moused -p /dev/psm0 -t auto 219 ?? I 0:00.01 /usr/libexec/getty std.115200 ttyd2 223 p0 Ss 0:00.03 /bin/csh -i 225 p0 R+ 0:00.00 ps ax 211 v0 Is 0:00.04 login -p root 220 v0 S 0:00.04 -csh (csh) 222 v0 S+ 0:00.01 script -k /custom/pam_error 212 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 213 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 214 v3 Is+ 0:00.01 /usr/libexec/getty Pc ttyv3 215 v4 Is+ 0:00.01 /usr/libexec/getty Pc ttyv4 216 v5 Is+ 0:00.01 /usr/libexec/getty Pc ttyv5 217 v6 Is+ 0:00.01 /usr/libexec/getty Pc ttyv6 218 v7 Is+ 0:00.01 /usr/libexec/getty Pc ttyv7 From winbox started dialin and inbound call is hung pam_authenticate : conversion error mesg can out here but script did not catch it gateway# pss ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.00 (swapper) 1 ?? ILs 0:00.02 /sbin/init -- 2 ?? DL 0:00.00 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 0:00.00 (bufdaemon) 5 ?? DL 0:00.01 (syncer) 108 ?? Ss 0:00.08 /usr/sbin/ppp -quiet -ddial dialisp 144 ?? Is 0:00.00 /sbin/natd -dynamic -n tun0 162 ?? Ss 0:00.13 /usr/sbin/syslogd -s 181 ?? Is 0:00.01 /usr/sbin/inetd -wW 183 ?? Ss 0:00.01 /usr/sbin/cron 201 ?? Is 0:00.00 moused -p /dev/psm0 -t auto 223 p0 Ss 0:00.04 /bin/csh -i 229 p0 R+ 0:00.00 ps ax 211 v0 Is 0:00.04 login -p root 220 v0 I 0:00.04 -csh (csh) 222 v0 S+ 0:00.02 script -k /custom/pam_error 212 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 213 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 214 v3 Is+ 0:00.01 /usr/libexec/getty Pc ttyv3 215 v4 Is+ 0:00.01 /usr/libexec/getty Pc ttyv4 216 v5 Is+ 0:00.01 /usr/libexec/getty Pc ttyv5 217 v6 Is+ 0:00.01 /usr/libexec/getty Pc ttyv6 218 v7 Is+ 0:00.01 /usr/libexec/getty Pc ttyv7 219 d2 I show timer ppp ON gateway> show timer ppp ON gateway> show lcp deflink: LCP [Initial] his side: MRU 1500, ACCMAP ffffffff, PROTOCOMP off, ACFCOMP off, MAGIC 00000000, MRRU 0, SHORTSEQ off, REJECT 0000 my side: MRU 1500, ACCMAP 00000000, PROTOCOMP on, ACFCOMP on, MAGIC 117332f3, MRRU 0, SHORTSEQ off, REJECT 0000 Defaults: MRU = any (max 2048), MTU = any (max 2048), ACCMAP = 00000000 LQR period = 30s, Open Mode = active (delay 1s) FSM retry = 3s, max 5 Config REQs, 5 Term REQs Ident: Negotiation: ACFCOMP = enabled & accepted CHAP = disabled & accepted CHAP80 = disabled & accepted LANMan = disabled & denied CHAP81 = disabled & accepted LQR = disabled & denied PAP = disabled & accepted PROTOCOMP = enabled & accepted ppp ON gateway> show datalink Name: deflink State: closed Peer name: N/A Discriminator: Null Class Defaults: Phone List: Dial tries: 1, delay 3s/30s Reconnect tries: 0, delay 3s Callback requested: none Dial Script: Login Script: Logout Script: Hangup Script: ppp ON gateway> show physical Name: deflink State: closed Device: N/A Link Type: interactive Connect Count: 0 Queued Packets: 0 Phone Number: N/A Defaults: Device List: "/dev/cuaa1", "/dev/cuaa0" Characteristics: 115200bps, cs8, no parity, CTS/RTS on CD check delay: device specific Connect time: 0:00:00 0 octets in, 0 octets out 0 packets in, 0 packets out Overall 0 bytes/sec ppp ON gateway> show bundle Phase Dead Device: /dev/tun1 Interface: tun1 @ 0bps Queued: 0 of 30 Defaults: Label: Auth name: Diagnostic socket: none Choked Timer: 120s Radius config: none (not authenticated) Idle Timer: disabled sendpipe: unspecified recvpipe: unspecified Sticky Routes: enabled Filter Decap: disabled ID check: enabled Keep-Session: disabled Loopback: enabled PasswdAuth: disabled Proxy: disabled Proxyall: disabled TCPMSS Fixup: enabled Throughput: enabled Utmp Logging: enabled Iface-Alias: disabled ppp ON gateway> show timer ppp ON gateway> quit gateway# ps ax PID TT STAT TIME COMMAND 0 ?? DLs 0:00.00 (swapper) 1 ?? ILs 0:00.02 /sbin/init -- 2 ?? DL 0:00.00 (pagedaemon) 3 ?? DL 0:00.00 (vmdaemon) 4 ?? DL 0:00.00 (bufdaemon) 5 ?? DL 0:00.02 (syncer) 108 ?? Ss 0:00.13 /usr/sbin/ppp -quiet -ddial dialisp 144 ?? Ss 0:00.00 /sbin/natd -dynamic -n tun0 162 ?? Ss 0:00.14 /usr/sbin/syslogd -s 181 ?? Is 0:00.01 /usr/sbin/inetd -wW 183 ?? Ss 0:00.01 /usr/sbin/cron 201 ?? Is 0:00.00 moused -p /dev/psm0 -t auto 223 p0 Ss 0:00.04 /bin/csh -i 234 p0 R+ 0:00.00 ps ax 211 v0 Is 0:00.04 login -p root 220 v0 I 0:00.04 -csh (csh) 222 v0 S+ 0:00.04 script -k /custom/pam_error 212 v1 Is+ 0:00.01 /usr/libexec/getty Pc ttyv1 213 v2 Is+ 0:00.01 /usr/libexec/getty Pc ttyv2 214 v3 Is+ 0:00.01 /usr/libexec/getty Pc ttyv3 215 v4 Is+ 0:00.01 /usr/libexec/getty Pc ttyv4 216 v5 Is+ 0:00.01 /usr/libexec/getty Pc ttyv5 217 v6 Is+ 0:00.01 /usr/libexec/getty Pc ttyv6 218 v7 Is+ 0:00.01 /usr/libexec/getty Pc ttyv7 219 d2 I Brian > Now that I have the callback thing out of the way, > I have a related bug. > The first time dialing in to the FBSD server after > a boot, each user gets Pam_authenticate : conversion > error followed by 8 to 10 stray irq 7 messages. > The winbox dialer gets a error 608 machine you are > trying to connect can not be reached. > The FBSD server ppp -direct incoming task is still > there hung as seen with ps ax. > The only way to clear is to kill -9 task#. > Every following time I login and callback with no problems. > Any ideas about correcting this? Ah, yes, you mentioned this before didn't you ? Is this the ppp that's hung but accepts pppctl connections ? If so, can you send me the output of ``show timer'' twice (with a few second time gap in between, ``show lcp'', ``show datalink'', ``show physical'', ``show bundle''. Could you also put ``set log tun command phase lcp ipcp chat'' at the start of the incoming configuration profile and send me the ppp.log output ? Cheers. > Thanks > Joe -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message