Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 18:28:09 -0700 (PDT)
From:      Eileen Llona <eileen@mumbly.lib.cwu.edu>
To:        "Andy V. Oleynik" <andyo@prime.net.ua>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: mgetty and log files
Message-ID:  <Pine.BSF.3.95q.990721182321.17785A-100000@mumbly.lib.cwu.edu>
In-Reply-To: <37942661.5C4963E8@prime.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.990721182321.17785A-100000>