Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2005 01:59:06 -0700
From:      James <james@idea-anvil.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: ppp filling /var
Message-ID:  <200506030159.10627.james@idea-anvil.net>
In-Reply-To: <20050602215205.T24382@gabby.gsicomp.on.ca>
References:  <200506020447.35717.james@idea-anvil.net> <200506021713.18375.james@idea-anvil.net> <20050602215205.T24382@gabby.gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 02 June 2005 06:53 pm, Matthew Emmerton wrote:
> On Thu, 2 Jun 2005, James wrote:
> > On Thursday 02 June 2005 07:30 am, Dmitry Mityugov wrote:
> >> On 6/2/05, James <james@idea-anvil.net> wrote:
> >>> Forgot to include this:
> >>>
> >>> FreeBSD 4.11-RELEASE-p2 #3
> >>>
> >>> # cat ppp.conf:
> >>>
> >>> default:
> >>>         set device PPPoE:ed0
> >>>         set speed sync
> >>>         set mru 1492
> >>>         set mtu 1492
> >>>         set ctsrts on
> >>>         #enable dns
> >>>         enable lqr
> >>>         set log phase tun
> >>>         add default HISADDR
> >>> dsl:
> >>>         set authname ****************
> >>>         set authkey ******************
> >>>
> >>>
> >>> # cat ppp.linkup
> >>> MYADDR:
> >>>         !bg /sbin/natd -f /etc/natd.conf
> >>>
> >>> #cat natd.conf
> >>> interface tun0
> >>> log yes
>
>      ^^ - do you need this?  Try using "log no" and see if your /var space
> issues go away.

That fixed it! Thanks for the support people. I wasn't 
seeing /var/log/alias.log* growing to 100mb+ so I never considered that that 
was the problem. 

-rw-------  1 root  wheel     80B Jun  2 18:00 /var/log/alias.log
-rw-------  1 root  wheel    109K Jun  2 18:00 /var/log/alias.log.0.gz
-rw-------  1 root  wheel     44K Jun  2 05:00 /var/log/alias.log.1.gz
-rw-------  1 root  wheel     18K Apr 14 20:00 /var/log/alias.log.10.gz
-rw-------  1 root  wheel     37K May 26 15:00 /var/log/alias.log.2.gz
-rw-------  1 root  wheel     57K May 22 19:00 /var/log/alias.log.3.gz
-rw-------  1 root  wheel     68K May 12 05:00 /var/log/alias.log.4.gz
-rw-------  1 root  wheel     68K Apr 26 11:00 /var/log/alias.log.5.gz
-rw-------  1 root  wheel      8K Apr 23 06:00 /var/log/alias.log.6.gz
-rw-------  1 root  wheel     68K Apr 22 22:00 /var/log/alias.log.7.gz
-rw-------  1 root  wheel     58K Apr 22 00:00 /var/log/alias.log.8.gz
-rw-------  1 root  wheel     20K Apr 19 10:00 /var/log/alias.log.9.gz

# man natd
... snip ...
-log | -l   Log various aliasing statistics and information to the file
                 /var/log/alias.log.  This file is truncated each time natd is
                 started.
... snip ...

Does "log yes" cause natd to write a log to a different place then "-l"
It seems to have created some type of ghost file in var.



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