From owner-freebsd-questions Wed Jul 21 18:28:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pahtoh.cwu.edu (pahtoh.cwu.edu [198.104.65.27]) by hub.freebsd.org (Postfix) with ESMTP id 7F88E1552D for ; Wed, 21 Jul 1999 18:28:11 -0700 (PDT) (envelope-from eileen@mumbly.lib.cwu.edu) Received: from mumbly.lib.cwu.edu (eileen@mumbly.lib.cwu.edu [198.104.111.10]) by pahtoh.cwu.edu (8.9.2/8.9.1) with ESMTP id SAA96720; Wed, 21 Jul 1999 18:28:09 -0700 (PDT) Received: from localhost (eileen@localhost) by mumbly.lib.cwu.edu (8.8.8/8.8.8) with SMTP id SAA17813; Wed, 21 Jul 1999 18:28:09 -0700 (PDT) (envelope-from eileen@mumbly.lib.cwu.edu) Date: Wed, 21 Jul 1999 18:28:09 -0700 (PDT) From: Eileen Llona To: "Andy V. Oleynik" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mgetty and log files In-Reply-To: <37942661.5C4963E8@prime.net.ua> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the responses on this. I've figured out that I can archive or delete the log file and a new one gets made on its own. And the debug level seems to be at 4. Upon further checking, it looks like there are 2 log files, one for cuaa0, and one for cuaa1. When I use the dialup PPP, it seems to be using the cuaa1 device. My logins show in the cuaa1 log file. And the contents for the runaway log file are like this: 07/21 18:24:12 aa0 mgetty: experimental test release 1.1.16-Jul05 07/21 18:24:12 aa0 check for lockfiles 07/21 18:24:12 aa0 locking the line 07/21 18:24:15 aa0 lowering DTR to reset Modem 07/21 18:24:16 aa0 send: ATS0=3D0Q0&D3&C1[0d] 07/21 18:24:16 aa0 waiting for ``OK'' 07/21 18:24:36 aa0 timeout in chat script, waiting for `OK' 07/21 18:24:36 aa0 init chat timed out, trying force-init-chat 07/21 18:24:36 aa0 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d] 07/21 18:24:40 aa0 waiting for ``OK'' 07/21 18:25:00 aa0 timeout in chat script, waiting for `OK' 07/21 18:25:00 aa0 init chat failed, exiting...: Interrupted system call 07/21 18:25:00 ##### failed in mg_init_data, dev=3Dcuaa0, pid=3D17787 This is where I get confused... the mgetty.conf file lists cuaa0 as the device, but the ppp seems to be using cuaa1.=20 Help? Thanks all! On Tue, 20 Jul 1999, Andy V. Oleynik wrote: > Use newsyslog utility. It has configuration file where > U may define on which basis (size/time/etc) newsyslog > will rotate any logfile. > Eileen Llona wrote: >=20 > > Hello, > > > > I'm just learning about mgetty. I've noticed on our system that it is > > generating a huge log file, mgetty.cuaa0. I'd like to either archive or > > delete the file, but don't know the proper way to reinitialize this > > process or file. Any suggestions would be appreciated. > > > > Eileen Llona > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message >=20 > -- > WBW Andy V. Oleynik (When U work in virtual office > prime.net.ua's U have good chance to obtain > system administrator virtual money =F6%-) > +380442448363 >=20 >=20 >=20 >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message