<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18 Dec 2015, at 6:36 AM, Richard Barker <<a href="mailto:admin@probass.com" class="">admin@probass.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); float: none; display: inline !important;" class="">I just got this error, anyone know what is means or what I should do?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class=""><pre wrap="" style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);" class="">/etc/cron.hourly/log_traffic:

Error - multiple IP accounting references detected - trying to fix
</pre></div></blockquote>Lets look at the code…</div><div><br class=""></div><div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""># Check acctin reference from INPUT and add/repair if required</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">CHECK=`$IPTABLES --list INPUT -nv | grep all | grep -c acctin`</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">…</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">if [ $CHECK -gt 1 ]; then</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>echo Error - multiple IP accounting references detected - trying to fix</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span class="Apple-tab-span" style="white-space:pre">  </span>$IPTABLES -D INPUT -j acctin</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">In other words, it found that there was a rule that appeared more than once in iptables, which was not expected. The -D line removed that. How did it happen? Good question. Theoretically, it should not happen! The only thing that makes sense is if two copies of log_traffic were called by two copies of cron at exactly the same time and they both created rules…</div><div class=""><br class=""></div><div class="">Anyway - ignore it if it doesnt come back again.</div><div class=""><br class=""></div><div class="">GK</div></div></body></html>