Czy dziala Wam modul tc-new daemona? Walcze z nim od rana i za nic nie chce mi generowac zadnego pliku konfiguracyjnego.
W logach tylko: Feb 2 14:52:12 dell lmsd: LMS Daemon started. Feb 2 14:52:13 dell lmsd: DEBUG: [lmsd] Connected with params: db='xxxxxx' host='xxxxxxxx' user='xxxxxxx' port='xxxxxxxxx' passwd='*'. Feb 2 14:52:13 dell lmsd: DEBUG: [SQL] SELECT module, crontab FROM daemoninstances, hosts WHERE hosts.id = hostid AND disabled = 0 AND hosts.name = 'dell' AND daemoninstances.name = 'rc.qos_new'. Feb 2 14:52:13 dell lmsd: DEBUG: [lmsd] Disconnected. Feb 2 14:52:13 dell lmsd: DEBUG: [lmsd] Reloading... Feb 2 14:52:13 dell lmsd: DEBUG: [lmsd] Connected with params: db='xxxxx' host='xxxxxxx' user='xxxxx' port='xxxxx' passwd='*'. Feb 2 14:52:13 dell lmsd: DEBUG: [SQL] UPDATE hosts SET lastreload = EXTRACT(EPOCH FROM CURRENT_TIMESTAMP(0)), reload = 0 WHERE name = 'xxxxxxx'. Feb 2 14:52:13 dell lmsd: DEBUG: [SQL] SELECT daemoninstances.name AS section, var, value FROM daemonconfig, hosts, daemoninstances WHERE hostid=hosts.id AND instanceid=daemoninstances.id AND hosts.name='xxxxxxx' AND daemoninstances.name='rc.qos_new' AND daemonconfig.disabled=0. Feb 2 14:52:13 dell lmsd: DEBUG: [rc.qos_new/tc-new] initialized Feb 2 14:52:13 dell lmsd: DEBUG: [SQL] SELECT name, address, INET_ATON(mask) AS mask, interface FROM networks. Feb 2 14:52:13 dell lmsd: DEBUG: [SQL] SELECT t.downrate, t.downceil, t.uprate, t.upceil, t.climit, t.plimit, n.id, n.ownerid, n.name, INET_NTOA(n.ipaddr) AS ip, n.mac, na.assignmentid, TRIM(c.lastname || ' ' || c.name) AS customer FROM nodeassignments na JOIN assignments a ON (na.assignmentid = a.id) JOIN tariffs t ON (a.tariffid = t.id) JOIN nodes n ON (na.nodeid = n.id) JOIN customers c ON (a.customerid = c.id) WHERE (a.datefrom <= EXTRACT(EPOCH FROM CURRENT_TIMESTAMP(0)) OR a.datefrom = 0) AND (a.dateto >= EXTRACT(EPOCH FROM CURRENT_TIMESTAMP(0)) OR a.dateto = 0) AND n.access = 1 AND (t.downrate
0 OR t.downceil > 0 OR t.uprate > 0 OR t.upceil > 0) ORDER BY customer.
Feb 2 14:52:13 dell lmsd: DEBUG: [lmsd] Disconnected. Feb 2 14:52:13 dell lmsd: LMS Daemon exited.
Nawet jak utworze pusta instancje daemona bez zadnej konfiguracji (powinna utworzyc sie domyslna) zadnego pliczku nie mam :( Wczeniajszy modul "tc" tworzy pliczki prawidlowo.
Orientuje sie ktos co moze byc grane? Wymagania lms'a i daemona chyba sie nie zmienily.
-- pozdrawiam; Andrzej Banach
!DSPAM:47a476c341451436614547!