[2020-03-15 20:00:00.005 28278] dbquery: "BEGIN TRANSACTION"
[2020-03-15 20:00:00.012 28278] dbquery: "END TRANSACTION"
[2020-03-15 20:00:00.032 28278] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1584298786 );"
[2020-03-15 20:00:00.043 28278] dbquery: "UPDATE counters SET value = value + 117 WHERE id = 0;"
[2020-03-15 20:00:00.053 28278] dbquery: "UPDATE counters SET value = value + 24 WHERE id = 1;"
[2020-03-15 20:00:00.060 28278] Notice: Queries stored in FTL_db: 117 (took 57.5 ms, last SQLite ID 2103646)
[2020-03-15 20:00:00.060 28278] dbquery: "DELETE FROM queries WHERE timestamp <= 1552762800"
[2020-03-15 20:00:00.062 28278] Notice: Database size is 134.66 MB, deleted 0 rows
[2020-03-15 20:00:00.063 28278] dbquery: "BEGIN TRANSACTION"
[2020-03-15 20:00:00.073 28278] dbquery: "SELECT id FROM network WHERE hwaddr = '78:8a:20:45:43:a7';"
[2020-03-15 20:00:00.111 28278] dbquery: "INSERT INTO network (hwaddr,interface,firstSeen,lastQuery,numQueries,name,macVendor) VALUES ('78:8a:20:45:43:a7','eth0',1584298800, 1584298672, 4, 'cloudkey', 'Ubiquiti Networks Inc.');"
[2020-03-15 20:00:00.114 28278] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES(1,'10.0.1.2',(cast(strftime('%s', 'now') as int)));"
[2020-03-15 20:00:00.115 28278] dbquery: "SELECT id FROM network WHERE hwaddr = '3c:97:0e:13:36:c0';"
[2020-03-15 20:00:00.136 28278] dbquery: "INSERT INTO network (hwaddr,interface,firstSeen,lastQuery,numQueries,name,macVendor) VALUES ('3c:97:0e:13:36:c0','eth0',1584298800, 1584298760, 59, 'thinkpad-lan', 'Wistron InfoComm(Kunshan)Co.,Ltd.');"
[2020-03-15 20:00:00.138 28278] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES(2,'10.0.1.136',(cast(strftime('%s', 'now') as int)));"
[2020-03-15 20:00:00.139 28278] dbquery: "SELECT id FROM network WHERE hwaddr = 'f0:9f:c2:1e:8f:e9';"
[2020-03-15 20:00:00.169 28278] dbquery: "INSERT INTO network (hwaddr,interface,firstSeen,lastQuery,numQueries,name,macVendor) VALUES ('f0:9f:c2:1e:8f:e9','eth0',1584298800, 1584297914, 0, 'usg', 'Ubiquiti Networks Inc.');"
[2020-03-15 20:00:00.169 28278] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES(3,'10.0.1.1',(cast(strftime('%s', 'now') as int)));"
[2020-03-15 20:00:00.170 28278] dbquery: "SELECT id FROM network WHERE hwaddr = 'd4:38:9c:01:ac:6c';"
[2020-03-15 20:00:00.199 28278] dbquery: "INSERT INTO network (hwaddr,interface,firstSeen,lastQuery,numQueries,name,macVendor) VALUES ('d4:38:9c:01:ac:6c','eth0',1584298800, 1584298540, 5, 'sony-xz1-compact', 'Sony Mobile Communications Inc');"
[2020-03-15 20:00:00.199 28278] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES(4,'10.0.1.190',(cast(strftime('%s', 'now') as int)));"
[2020-03-15 20:00:00.200 28278] dbquery: "SELECT id FROM network WHERE hwaddr = 'a4:d9:31:60:b1:e3';"
[2020-03-15 20:00:00.226 28278] dbquery: "INSERT INTO network (hwaddr,interface,firstSeen,lastQuery,numQueries,name,macVendor) VALUES ('a4:d9:31:60:b1:e3','eth0',1584298800, 1584298414, 14, '', 'Apple, Inc.');"
[2020-03-15 20:00:00.226 28278] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen) VALUES(5,'10.0.1.183',(cast(strftime('%s', 'now') as int)));"
[2020-03-15 20:00:00.227 28278] Network table: 127.0.0.1 NOT known through ARP/neigh cache
[2020-03-15 20:00:00.227 28278] dbquery: "SELECT network_id FROM network_addresses WHERE ip = '127.0.0.1' AND timestamp > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC;"
[2020-03-15 20:00:00.227 28278] SQLite3 message: no such column: timestamp in "SELECT network_id FROM network_addresses WHERE ip = '127.0.0.1' AND timestamp > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC;" (1)
[2020-03-15 20:00:00.227 28278] db_query_int(SELECT network_id FROM network_addresses WHERE ip = '127.0.0.1' AND timestamp > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC;) - SQL error prepare (1): no such column: timestamp
[2020-03-15 20:00:00.227 28278] check_database(1): Disabling database connection due to error
[2020-03-15 20:00:00.228 28278] db_query_int("SELECT id FROM network WHERE hwaddr = 'ip-127.0.0.1';") called but database is not available!
[2020-03-15 20:00:00.228 28278] dbquery("COMMIT") called but database is not available!
[2020-03-15 20:00:00.228 28278] ERROR: parse_neighbor_cache() failed!
Will run debugging tomorrow.