From owner-freebsd-questions Thu Jul 22 2:43:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from volodya.prime.net.ua (volodya.prime.net.ua [195.64.229.17]) by hub.freebsd.org (Postfix) with ESMTP id BA6CF14F21 for ; Thu, 22 Jul 1999 02:43:14 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by volodya.prime.net.ua (8.9.3/8.8.8) with ESMTP id MAA02149; Thu, 22 Jul 1999 12:40:35 +0300 (EEST) (envelope-from andyo@prime.net.ua) Message-ID: <3796E710.CDF1B6EB@prime.net.ua> Date: Thu, 22 Jul 1999 12:40:32 +0300 From: "Andy V. Oleynik" Organization: M-Info X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 3.2-STABLE i386) X-Accept-Language: en, ru, uk MIME-Version: 1.0 To: Eileen Llona Cc: freebsd-questions@FreeBSD.ORG Subject: Re: mgetty and log files References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Be more specific pls. Do U try to dialin on cuaa1 or cuaa2, or both? Are the modems hooked to interfaces, to wich exactly? Or U wish to use mppp feature? Ur mgetty.conf's, ppp.conf's contents to be here would be good. Eileen Llona wrote: > 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=0Q0&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=cuaa0, pid=17787 > Is there a modem on cuaa0? Again what is ur mgetty.conf? > > This is where I get confused... the mgetty.conf file lists cuaa0 as the > device, but the ppp seems to be using cuaa1. > > 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: > > > > > 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 > > > > -- > > WBW Andy V. Oleynik (When U work in virtual office > > prime.net.ua's U have good chance to obtain > > system administrator virtual money ö%-) > > +380442448363 > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- WBW Andy V. Oleynik (When U work in virtual office prime.net.ua's U have good chance to obtain system administrator virtual money ö%-) +380442448363 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message