<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px">cat /dev/null >/var/log/asterisk/messages should do it...<br><div id="yui_3_16_0_1_1441647484868_8576"><span></span></div><br> <div id="yui_3_16_0_1_1441647484868_8612" style="font-family: HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1441647484868_8611" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1441647484868_8610" dir="ltr"> <hr size="1"> <font id="yui_3_16_0_1_1441647484868_8615" face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> kk6ecm <kk6ecm@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> 'Jim Duuuude' <telesistant@hotmail.com>; 'David McGough' <kb4fxc@inttek.net> <br><b><span style="font-weight: bold;">Cc:</span></b> 'app_rpt mailing list' <app_rpt-users@ohnosec.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, September 7, 2015 12:46 PM<br> <b id="yui_3_16_0_1_1441647484868_8614"><span id="yui_3_16_0_1_1441647484868_8613" style="font-weight: bold;">Subject:</span></b> Re: [App_rpt-users] hda1 cleanup<br> </font> </div> <div id="yui_3_16_0_1_1441647484868_8616" class="y_msg_container"><br><div id="yiv3433173135"><style>
#yiv3433173135 #yiv3433173135 --
_filtered #yiv3433173135 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered #yiv3433173135 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
#yiv3433173135
#yiv3433173135 p.yiv3433173135MsoNormal, #yiv3433173135 li.yiv3433173135MsoNormal, #yiv3433173135 div.yiv3433173135MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv3433173135 a:link, #yiv3433173135 span.yiv3433173135MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv3433173135 a:visited, #yiv3433173135 span.yiv3433173135MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv3433173135 p
{margin-right:0in;margin-left:0in;font-size:12.0pt;}
#yiv3433173135 span.yiv3433173135EmailStyle18
{font-family:Arial;color:navy;}
_filtered #yiv3433173135 {margin:1.0in 1.25in 1.0in 1.25in;}
#yiv3433173135 div.yiv3433173135Section1
{}
#yiv3433173135
</style><div id="yui_3_16_0_1_1441647484868_8621">
<div id="yui_3_16_0_1_1441647484868_8620" class="yiv3433173135Section1">
<div id="yui_3_16_0_1_1441647484868_8619" class="yiv3433173135MsoNormal"><font id="yui_3_16_0_1_1441647484868_8618" face="Arial" color="navy" size="2"><span id="yui_3_16_0_1_1441647484868_8617" style="font-size:10.0pt;font-family:Arial;color:navy;">astdb is small - 8k, but
/var/log/asterisk/messages is 16G!... can I just delete it, and it will start
over again. Otherwise, how do I shrink it down?</span></font></div>
<div id="yui_3_16_0_1_1441647484868_8622" class="yiv3433173135MsoNormal"><font face="Arial" color="navy" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></div>
<div id="yui_3_16_0_1_1441647484868_8625" class="yiv3433173135MsoNormal"><font id="yui_3_16_0_1_1441647484868_8624" face="Arial" color="navy" size="2"><span id="yui_3_16_0_1_1441647484868_8623" style="font-size:10.0pt;font-family:Arial;color:navy;">Thanks much!</span></font></div>
<div id="yui_3_16_0_1_1441647484868_8626" class="yiv3433173135MsoNormal"><font face="Arial" color="navy" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">Bob</span></font></div>
<div id="yui_3_16_0_1_1441647484868_8627" class="yiv3433173135MsoNormal"><font face="Arial" color="navy" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;">kk6ecm</span></font></div>
<div id="yui_3_16_0_1_1441647484868_8628" class="yiv3433173135MsoNormal"><font face="Arial" color="navy" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;"> </span></font></div>
<div>
<div class="yiv3433173135MsoNormal" style="text-align:center;" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;">
</span></font><hr tabindex="-1" align="center" size="2" width="100%">
</div>
<div class="qtdSeparateBR"><br><br></div><div class="yiv3433173135yqt4484519287" id="yiv3433173135yqt75080"><div class="yiv3433173135MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;"> Jim Duuuude
[mailto:telesistant@hotmail.com] <br clear="none">
<b><span style="font-weight:bold;">Sent:</span></b> Monday, September 07, 2015
12:30 PM<br clear="none">
<b><span style="font-weight:bold;">To:</span></b> David McGough; kk6ecm<br clear="none">
<b><span style="font-weight:bold;">Cc:</span></b> app_rpt mailing list<br clear="none">
<b><span style="font-weight:bold;">Subject:</span></b> RE: [App_rpt-users] hda1
cleanup</span></font></div></div>
</div>
<div class="yiv3433173135yqt4484519287" id="yiv3433173135yqt40488"><div class="yiv3433173135MsoNormal"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;"> </span></font></div>
<div>
<div class="yiv3433173135MsoNormal" style="margin-bottom:12.0pt;"><font face="Calibri" size="3"><span style="font-size:12.0pt;font-family:Calibri;">Also, /var/lib/asterisk/astdb can
grow HUGE (for no "good" reason).</span></font></div>
<div>
<div class="yiv3433173135MsoNormal"><font face="Calibri" size="3"><span style="font-size:12.0pt;font-family:Calibri;">> Date: Mon, 7 Sep 2015 15:19:01 -0400<br clear="none">
> From: kb4fxc@inttek.net<br clear="none">
> To: kk6ecm@gmail.com<br clear="none">
> CC: app_rpt-users@ohnosec.org<br clear="none">
> Subject: Re: [App_rpt-users] hda1 cleanup<br clear="none">
> <br clear="none">
> <br clear="none">
> Check out the /var/log directory, including /var/log/asterisk<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> On Mon, 7 Sep 2015, kk6ecm wrote:<br clear="none">
> <br clear="none">
> > We have an ACID build on one of our repeaters that has been crashing.
It<br clear="none">
> > appears hda1 is full. I'm looking for suggestions to clean it up.<br clear="none">
> > <br clear="none">
> > Filesystem Size Used Avail Use% Mounted on<br clear="none">
> > /dev/hda1 18G 18G 0 100% /<br clear="none">
> > tmpfs 375M 0 375M 0% /dev/shm<br clear="none">
> > <br clear="none">
> > [root@xxx /]# du -ks /* | sort -nr | head<br clear="none">
> > 16124492 /var<br clear="none">
> > 1466656 /usr<br clear="none">
> > 126644 /lib<br clear="none">
> > 91508 /etc<br clear="none">
> > 30580 /sbin<br clear="none">
> > 11004 /boot<br clear="none">
> > 7336 /bin<br clear="none">
> > 932 /tmp<br clear="none">
> > 172 /root<br clear="none">
> > 92 /dev<br clear="none">
> > [root@xxx /]#<br clear="none">
> > <br clear="none">
> > with just a few bytes in root... I can't account for 18G used of disk
space.<br clear="none">
> > My other ACID build looks good and only uses about 2.7 G.<br clear="none">
> > <br clear="none">
> > Any ideas?<br clear="none">
> > <br clear="none">
> > Thanks,<br clear="none">
> > Bob<br clear="none">
> > kk6ecm<br clear="none">
> > <br clear="none">
> > _______________________________________________<br clear="none">
> > App_rpt-users mailing list<br clear="none">
> > App_rpt-users@ohnosec.org<br clear="none">
> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br clear="none">
> > <br clear="none">
> > To unsubscribe from this list please visit
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
the bottom of the page. Enter your email address and press the
"Unsubscribe or edit options button"<br clear="none">
> > You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to the
list detailing the problem. <br clear="none">
> > <br clear="none">
> <br clear="none">
> _______________________________________________<br clear="none">
> App_rpt-users mailing list<br clear="none">
> App_rpt-users@ohnosec.org<br clear="none">
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users<br clear="none">
> <br clear="none">
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
and scroll down to the bottom of the page. Enter your email address and press
the "Unsubscribe or edit options button"<br clear="none">
> You do not need a password to unsubscribe, you can do it via email
confirmation. If you have trouble unsubscribing, please send a message to the
list detailing the problem. </span></font></div>
</div>
</div></div>
</div>
</div></div><br><div class="yqt4484519287" id="yqt64187">_______________________________________________<br clear="none">App_rpt-users mailing list<br clear="none"><a shape="rect" ymailto="mailto:App_rpt-users@ohnosec.org" href="mailto:App_rpt-users@ohnosec.org">App_rpt-users@ohnosec.org</a><br clear="none"><a shape="rect" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users</a><br clear="none"><br clear="none">To unsubscribe from this list please visit <a shape="rect" href="http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users" target="_blank">http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users </a>and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"<br clear="none">You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem. </div><br><br></div> </div> </div> </div></body></html>