From owner-freebsd-questions Fri Oct 16 11:12:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA07106 for freebsd-questions-outgoing; Fri, 16 Oct 1998 11:12:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA06987 for ; Fri, 16 Oct 1998 11:12:03 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id TAA20361; Fri, 16 Oct 1998 19:11:36 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id PAA25305; Fri, 16 Oct 1998 15:18:32 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810161418.PAA25305@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Chad Thunberg cc: "'freebsd-questions@freebsd.org'" Subject: Re: uu_unlock warnings In-reply-to: Your message of "Wed, 14 Oct 1998 10:51:02 PDT." <01BDF760.89D04210@rgb.atvideo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Oct 1998 15:18:32 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Anyone know how to go about fixing this error i am getting for user ppp? I run a script that detects whether ppp -background isp is running and restarts it if down, and i get this error sometimes when the script is trying to execute. Could it be because the connection just went down and hasn't had time to unlock the cuaa1.if file? > Oct 14 08:34:40 ns1 ppp[54]: tun0: Alert: Warning: Can't uu_unlock /var/run/cuaa1.if Wouldn't you be better off using ``ppp -ddial'' ? >From the sounds of it, something else is removing /var/spool/lock/LCK..cuaa1 (this error is caused by the lack of this file). If you're starting ppp from /etc/start_if.tun0 and haven't got an up-to-date /etc/rc, it's possible that ppp is being started and is opening and locking cuaa1 *before* /var/run is cleaned - resulting in this problem the first time ppp disconnects. > Thanks, > -Chad -- Brian , , 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