ppp filling /var
James
james at idea-anvil.net
Fri Jun 3 08:59:41 GMT 2005
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 at 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.
More information about the freebsd-questions
mailing list