Jump to content
Калькуляторы

Abills в контейнере LXC

Добрый день!
Пробуем запустить Abills в контейнере LXC, Debian 9. 
Всё работает кроме Детализации трафика, точнее не работет traffic2sql.
В режиме отладки выдаёт
Debug mode on
<pre><code>
SELECT id, tp_id FROM tarif_plans;
</code></pre>
<pre><code>
SELECT u.uid,
    calls.framed_ip_address AS ip,
    calls.user_name AS login,
    calls.acct_session_id,
    calls.acct_input_octets,
    calls.acct_output_octets,
    calls.tp_id,
    UNIX_TIMESTAMP() - calls.lupdated AS interim_time,
    calls.nas_id,
    u.reduction,
    CONNECT_INFO,
    u.activate,
    dv.netmask,
    dv.join_service
    FROM (dv_calls calls, users u)
    LEFT JOIN dv_main dv ON (u.uid=dv.uid)
   WHERE u.id=calls.user_name AND u.domain_id=0 AND calls.status<11
   and calls.nas_id IN (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100);
</code></pre>
/usr/abills/var/log/ipn//ft-v05.2018-04-03.212000+0300
/usr/local/bin/flow-cat /usr/abills/var/log/ipn//ft-v05.2018-04-03.212000+0300 | /usr/local/bin/flow-print |
<pre><code>
INSERT INTO ipn_unknow_ips (src_ip, dst_ip, size, nas_id, datetime)
        VALUES (?, ?, ?, ?, now());
</code></pre>

И так висит бесконечно.
Что это может быть?
Ему нужен доступ к железу?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.