Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 14:16:22 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "Brian Somers" <brian@freebsd-services.com>
Cc:        "FBSD Questions" <questions@FreeBSD.ORG>
Subject:   RE: pam_authenticate:conversion error 
Message-ID:  <LPBBIGIAAKKEOEJOLEGOEEACCMAA.barbish@a1poweruser.com>
In-Reply-To: <200201101740.g0AHeK003086@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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<s+   0:00.03 login -p (gateway.xxxxxx.com) (ttyd2)


gateway# ppp

Working in interactive mode

Using interface: tun1

ppp ON gateway> 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<s+   0:00.03 login -p (gateway.a1poweruser.com) (ttyd2)


gateway# kill  -9  219




gateway# ps ax


  PID  TT  STAT      TIME COMMAND

    0  ??  DLs    0:00.00  (swapper)

    1  ??  SLs    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.14 /usr/sbin/ppp -quiet -ddial dialisp

  144  ??  Is     0:00.00 /sbin/natd -dynamic -n tun0

  162  ??  Is     0:00.14 /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

  235  ??  S      0:00.01 /usr/libexec/getty std.115200 ttyd2

  223  p0  Ss     0:00.05 /bin/csh -i

  236  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


gateway# exit



Script done on Thu Jan 10 13:43:53 2002





-----Original Message-----
From: Brian Somers [mailto:brian@freebsd-services.com]
Sent: Thursday, January 10, 2002 12:40 PM
To: Joe & Fhe Barbish
Cc: Brian Somers; FBSD Questions
Subject: Re: pam_authenticate:conversion error

> 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 <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LPBBIGIAAKKEOEJOLEGOEEACCMAA.barbish>