![](https://secure.gravatar.com/avatar/b9e2fc5171e3574e6177aa8bd3c54856.jpg?s=120&d=mm&r=g)
Andy F. wrote:
Przy probie przeladowania w syslogach wypluwa
lmsd: [htb/tc] Unable to read database
i nie generuje pliku z regulkami
inne instancje sie przeladowuja OK, wszystkie ustawione na tego samego hosta
co moze byc przyczyna ?
brak aktualnych zobowiązań klientów? a dokładniej to zapytanie poniższe zwróciło zero rekordów:
SELECT customerid AS id, \ SUM(uprate)/COUNT(DISTINCT nodes.id) AS uprate, \ SUM(downrate)/COUNT(DISTINCT nodes.id) AS downrate, \ SUM(upceil)/COUNT(DISTINCT nodes.id) AS upceil, \ SUM(downceil)/COUNT(DISTINCT nodes.id) AS downceil, \ SUM(climit)/COUNT(DISTINCT nodes.id) AS climit, \ SUM(plimit)/COUNT(DISTINCT nodes.id) AS plimit \ FROM assignments \ LEFT JOIN tariffs ON (tariffid = tariffs.id) \ LEFT JOIN nodes ON (customerid = ownerid) \ WHERE access = 1 AND (datefrom <= %NOW% OR datefrom = 0) AND (dateto
= %NOW% OR dateto = 0) \
GROUP BY customerid \ ORDER BY customerid