Různé err v logu - jejich původ a závažnost? ... contract_valid.sh


#1
2019-01-06 07:00:01 info /usr/sbin/cron[6944]: (root) CMD (/usr/share/server-uplink/contract_valid.sh)
2019-01-06 07:00:01 info /usr/sbin/cron[6945]: (root) CMD (netmetr --autostart --dwlhist --rwait 1800 &)
2019-01-06 07:00:01 info /usr/sbin/cron[6950]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-06 07:00:01 info /usr/sbin/cron[6949]: (root) CMD (/usr/share/firewall/turris-download)
2019-01-06 07:00:01 info /usr/sbin/cron[6946]: (root) CMD (/etc/init.d/haas-proxy restart  >/dev/null 2>&1)
2019-01-06 07:00:01 info /usr/sbin/cron[6947]: (root) CMD (/usr/share/nikola/bin/nikola.sh)
2019-01-06 07:00:01 info /usr/sbin/cron[6942]: (root) CMD (/usr/share/server-uplink/registration_code.sh)
2019-01-06 07:00:01 err server_uplink[]: Failed to download contract status
2019-01-06 07:00:02 info nikola[]: (v43) recognized WAN interfaces: eth1, lo
2019-01-06 07:00:30 err turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris-ipsets.gz.sign
2019-01-06 07:00:56 info nikola[]: (v43) Establishing connection took 0.580989 seconds
2019-01-06 07:00:56 info nikola[]: (v43) Logrotate took 0.004798 seconds
2019-01-06 07:00:56 info nikola[]: (v43) Syslog parsing took 0.047203 seconds
2019-01-06 07:00:57 info nikola[]: (v43) Session init took 0.593541 seconds
2019-01-06 07:00:57 info nikola[]: (v43) Records parsed: 55
2019-01-06 07:00:57 info nikola[]: (v43) Records after filtering: 40
2019-01-06 07:00:57 info nikola[]: (v43) Records filtering took 0.010722 seconds
2019-01-06 07:00:57 info nikola[]: (v43) {'msg': 'Data were inserted into work queue.'}
2019-01-06 07:00:57 info nikola[]: (v43) Sending records took 0.058816 seconds
2019-01-06 07:01:01 info /usr/sbin/cron[7149]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-06 07:02:01 info /usr/sbin/cron[7188]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-06 07:02:01 info /usr/sbin/cron[7189]: (root) CMD (nethist_stats.lua)
2019-01-06 07:02:01 err server_uplink[]: Failed to get registration code

#2

Tohle me tak trosku irituje taky. Uz jsem se po foru nekolikrat snazil ziskat nejake detailnejsi info (nejen pro tuhle hlasku, mam jich v zaloze jeste par … )

… ono otazkou je, zda-li tato hlaska je rekneme “chtena” protoze server api.turris.cz/challenge.cgi cas od casu neodpovi v limitu (120sec) a nebo zda-li je neco spatne na me strane a blbne to porad a ja bych neco mel poresit ). >> /usr/share/server-uplink/registration_code.sh pri spusteni z ruky mi obvykle v dobe kontroly dava rc=0.
btw: o kus nize (v tom vystupu z logu) je jina “sluzba” co se ji taky nepodarilo dobouchat na api.turris.cz …
Takze to beru, ze je to oukej.


#3

Já byl v jisté době zvyklý, že log byl zcela čistý. Pokud vidím v logu err (chyba) tak cítím nutnost něco spravovat. Netuším, zde je to jen u mně nebo u všech uživatelů, jestli jsem si něco zmastil, zda je to důležité nebo prkotina, která vyšumí. Taky člověk neví, zda s tím má prudit emailem podporu. Ta ostatně nemá rychlou reakci, 14 dní, žádná míra. Přitom by stačilo reagovat … buďte v klidu, nejedná se o nic závažného.

Na tyto možná méně podstatné, ale typické error hlášky v logu by mělo být jedno jediné spešl téma.

Admini !!! řekněte si jak to chcete ?


#4

Vybrány další jednotlivosti

2019-01-06 23:02:09 err turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris-ipsets.gz.sign
.

2019-01-08 08:01:28 err kresd[19847]: [priming] cannot resolve address 'm.root-servers.net.', type: 28
2019-01-08 08:01:29 err kresd[19847]: [priming] cannot resolve address 'm.root-servers.net.', type: 1

.

2019-01-08 09:00:09 err nikola[]: (v43) Exception thrown: failed to initialize crypto library
2019-01-08 09:00:09 err nikola[]: (v43) Exception traceback: [<FrameSummary file /usr/lib/python3.6/site-packages/nikola/__main__.py, line 186 in main>, <FrameSummary file /usr/lib/python3.6/site-packages/nikola/rpc_wrapper.py, line 30 in __init__>]
2019-01-08 09:00:15 err server_uplink[]: Failed to get registration code

#5

I tried to get the answers too - in Failed to download turris-ipsets.gz.sign or Certificate for api.turris.cz but no answer …


#6

Cca 1x denně “crypto”

2019-01-09 21:00:01 err server_uplink[]: Failed to download contract status
2019-01-09 21:00:02 info nikola[]: (v43) recognized WAN interfaces: eth1, lo
2019-01-09 21:00:09 err nikola[]: (v43) Exception thrown: failed to initialize crypto library
2019-01-09 21:00:09 err nikola[]: (v43) Exception traceback: [<FrameSummary file /usr/lib/python3.6/site-packages/nikola/__main__.py, line 186 in main>, <FrameSummary file /usr/lib/python3.6/site-packages/nikola/rpc_wrapper.py, line 30 in __init__>]

#7

No tímhle se není potřeba znepokojovat, pokud jsou tedy v malém množství. Třeba v případě že internet vůbec nejde, můžou se tam vyskytovat periodicky. Vidím to jen dost výjimečně; zatím tedy nevím přesně proč.


#8
2019-01-16 19:00:01 err server_uplink[]: Failed to download contract status
2019-01-16 19:00:02 info nikola[]: (v43) recognized WAN interfaces: eth1, lo
2019-01-16 19:00:14 info nikola[]: (v43) Establishing connection took 0.586622 seconds
2019-01-16 19:00:14 info nikola[]: (v43) Logrotate took 0.004578 seconds
2019-01-16 19:00:14 info nikola[]: (v43) Syslog parsing took 0.067535 seconds
2019-01-16 19:00:15 info nikola[]: (v43) Session init took 0.586223 seconds
2019-01-16 19:00:15 info nikola[]: (v43) Records parsed: 71
2019-01-16 19:00:15 info nikola[]: (v43) Records after filtering: 51
2019-01-16 19:00:15 info nikola[]: (v43) Records filtering took 0.011610 seconds
2019-01-16 19:00:15 info nikola[]: (v43) {'msg': 'Data were inserted into work queue.'}
2019-01-16 19:00:15 info nikola[]: (v43) Sending records took 0.032709 seconds
2019-01-16 19:00:34 err server_uplink[]: Failed to get registration code
2019-01-16 19:00:55 err foris-controller[6332]: WARNING:turrishw:unsupported TOS version (on omnia): 3
2019-01-16 19:01:00 err foris-controller[6011]: Last message 'WARNING:turrishw:uns' repeated 3 times, suppressed by syslog-ng on Omnia

#9

Setrvalé chybky

2019-01-22 01:00:01 err server_uplink[]: Failed to download contract status
2019-01-22 01:00:02 info nikola[]: (v43) recognized WAN interfaces: eth1, lo
2019-01-22 01:00:16 err turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris-ipsets.gz.sign
2019-01-22 01:00:16 info nikola[]: (v43) Establishing connection took 1.716633 seconds
2019-01-22 01:00:16 info nikola[]: (v43) Logrotate took 0.004972 seconds
2019-01-22 01:00:16 info nikola[]: (v43) Syslog parsing took 0.062104 seconds
2019-01-22 01:00:17 info nikola[]: (v43) Session init took 0.955504 seconds
2019-01-22 01:00:17 info nikola[]: (v43) Records parsed: 64
2019-01-22 01:00:17 info nikola[]: (v43) Records after filtering: 52
2019-01-22 01:00:17 info nikola[]: (v43) Records filtering took 0.011078 seconds
2019-01-22 01:00:17 info nikola[]: (v43) {'msg': 'Data were inserted into work queue.'}
2019-01-22 01:00:17 info nikola[]: (v43) Sending records took 0.484936 seconds
2019-01-22 01:01:01 info /usr/sbin/cron[20973]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-22 01:01:05 err server_uplink[]: Failed to get registration code

===

2019-01-22 06:01:20 err nikola[]: (v43) socket: [Errno 104] Connection reset by peer
2019-01-22 06:01:29 err turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris-ipsets.gz.sign
2019-01-22 06:01:29 err server_uplink[]: Failed to get registration code
2019-01-22 06:02:01 info /usr/sbin/cron[8299]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-22 06:02:01 info /usr/sbin/cron[8300]: (root) CMD (nethist_stats.lua)
2019-01-22 06:02:44 err ucollect[14007]: Too many pings not answered on api.turris.cz:5679, reconnecting
2019-01-22 06:02:44 info ucollect[14007]: Reconnecting to api.turris.cz:5679 now
2019-01-22 06:02:44 info ucollect[14007]: Socat started
2019-01-22 06:02:44 err ucollect[14007]: Error from socat: 2019/01/22 06:02:44 socat[8325] E connect(5, AF=10 [2001:1488:ac15:ff80:0000:0000:0000:0101]:5679, 28): Permission denied
2019-01-22 06:02:44 warning ucollect[14007]: Remote closed the uplink api.turris.cz:5679, reconnecting

#11

??

2019-01-28 16:06:51 info ucollect[12980]: Loading plugin library libplugin_ucollect_fake_23.so
2019-01-28 16:06:51 info ucollect[12980]: Installing plugin Fake with api version 0
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server telnet socket 16 to port 1392: Address in use
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server telnet_alt socket 16 to port 3692: Address in use
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server http socket 16 to port 1449: Address in use
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server squid_http_proxy socket 16 to port 4497: Address in use
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server http_proxy socket 16 to port 9449: Address in use
2019-01-28 16:06:51 err ucollect[12980]: Couldn't bind fake server polipo_http_proxy socket 16 to port 9492: Address in use
2019-01-28 16:06:51 info ucollect[12980]: Loading plugin library libplugin_ucollect_flow_33.so
2019-01-28 16:06:51 info ucollect[12980]: Installing plugin Flow with api version 2

#12

??

2019-01-28 16:14:14 err foris-controller[6283]: WARNING:turrishw:unsupported TOS version (on omnia): 3
2019-01-28 16:14:18 err foris-controller[6021]: Last message 'WARNING:turrishw:uns' repeated 1 times, suppressed by syslog-ng on Omnia

#13

??

2019-01-28 16:54:01 info /usr/sbin/cron[11695]: (root) CMD (/root/connCheck.sh > /dev/null 2>&1)
2019-01-28 16:54:01 info /usr/sbin/cron[11696]: (root) CMD (nethist_stats.lua)
2019-01-28 16:54:01 info /usr/sbin/cron[11697]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-28 16:54:19 err kernel[]: [ 2958.187619] tpacket_rcv: packet too big, clamped from 42834 to 32638. macoff=82
2019-01-28 16:55:01 info /usr/sbin/cron[11766]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-28 16:55:01 info /usr/sbin/cron[11767]: (root) CMD (   /usr/bin/notifier)

#14

Pokud používáte samba4 a nemáte připojenou tiskárnu, vidíte v logu:

root@turris:~# cat /var/log/messages | grep smbd

2019-01-29 22:04:19 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 22:16:49 err smbd[9606]: [2019/01/29 22:16:49.730251,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 22:16:49 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 22:29:19 err smbd[9606]: [2019/01/29 22:29:19.823603,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 22:29:19 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 22:41:49 err smbd[9606]: [2019/01/29 22:41:49.917775,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 22:41:49 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 22:54:20 err smbd[9606]: [2019/01/29 22:54:20.004084,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 22:54:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 23:06:50 err smbd[9606]: [2019/01/29 23:06:50.097388,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 23:06:50 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 23:19:20 err smbd[9606]: [2019/01/29 23:19:20.191413,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 23:19:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 23:31:50 err smbd[9606]: [2019/01/29 23:31:50.284183,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 23:31:50 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 23:44:20 err smbd[9606]: [2019/01/29 23:44:20.371915,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 23:44:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-29 23:56:50 err smbd[9606]: [2019/01/29 23:56:50.465093,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-29 23:56:50 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 00:09:20 err smbd[9606]: [2019/01/30 00:09:20.559631,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 00:09:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 00:21:50 err smbd[9606]: [2019/01/30 00:21:50.653743,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 00:21:50 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 00:34:20 err smbd[9606]: [2019/01/30 00:34:20.740427,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 00:34:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 00:46:50 err smbd[9606]: [2019/01/30 00:46:50.835447,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 00:46:50 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 00:59:20 err smbd[9606]: [2019/01/30 00:59:20.928418,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 00:59:20 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 01:11:51 err smbd[9606]: [2019/01/30 01:11:51.022022,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 01:11:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 01:24:21 err smbd[9606]: [2019/01/30 01:24:21.110478,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 01:24:21 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 01:36:51 err smbd[9606]: [2019/01/30 01:36:51.202782,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 01:36:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 01:49:21 err smbd[9606]: [2019/01/30 01:49:21.296545,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 01:49:21 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 02:01:51 err smbd[9606]: [2019/01/30 02:01:51.390569,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 02:01:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 02:14:21 err smbd[9606]: [2019/01/30 02:14:21.477789,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 02:14:21 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 02:26:51 err smbd[9606]: [2019/01/30 02:26:51.570838,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 02:26:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 02:39:21 err smbd[9606]: [2019/01/30 02:39:21.664166,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 02:39:21 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 02:51:51 err smbd[9606]: [2019/01/30 02:51:51.757890,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 02:51:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 03:04:21 err smbd[9606]: [2019/01/30 03:04:21.846150,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 03:04:21 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 03:16:51 err smbd[9606]: [2019/01/30 03:16:51.940737,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 03:16:51 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 03:29:22 err smbd[9606]: [2019/01/30 03:29:22.035822,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 03:29:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 03:41:52 err smbd[9606]: [2019/01/30 03:41:52.129741,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 03:41:52 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 03:54:22 err smbd[9606]: [2019/01/30 03:54:22.218745,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 03:54:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 04:06:52 err smbd[9606]: [2019/01/30 04:06:52.313377,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 04:06:52 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 04:19:22 err smbd[9606]: [2019/01/30 04:19:22.406927,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 04:19:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 04:31:52 err smbd[9606]: [2019/01/30 04:31:52.500715,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 04:31:52 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 04:44:22 err smbd[9606]: [2019/01/30 04:44:22.589868,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 04:44:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 04:56:52 err smbd[9606]: [2019/01/30 04:56:52.683969,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 04:56:52 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 05:09:22 err smbd[9606]: [2019/01/30 05:09:22.777125,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 05:09:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 05:21:52 err smbd[9606]: [2019/01/30 05:21:52.872489,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 05:21:52 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 05:34:22 err smbd[9606]: [2019/01/30 05:34:22.961615,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 05:34:22 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 05:46:53 err smbd[9606]: [2019/01/30 05:46:53.055028,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 05:46:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 05:59:23 err smbd[9606]: [2019/01/30 05:59:23.149526,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 05:59:23 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 06:11:53 err smbd[9606]: [2019/01/30 06:11:53.243094,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 06:11:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 06:24:23 err smbd[9606]: [2019/01/30 06:24:23.330388,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 06:24:23 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 06:36:53 err smbd[9606]: [2019/01/30 06:36:53.424498,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 06:36:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 06:49:23 err smbd[9606]: [2019/01/30 06:49:23.517344,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 06:49:23 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 07:01:53 err smbd[9606]: [2019/01/30 07:01:53.610877,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 07:01:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 07:14:23 err smbd[9606]: [2019/01/30 07:14:23.698599,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 07:14:23 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 07:26:53 err smbd[9606]: [2019/01/30 07:26:53.793490,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 07:26:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 07:39:23 err smbd[9606]: [2019/01/30 07:39:23.886704,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 07:39:23 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 07:51:53 err smbd[9606]: [2019/01/30 07:51:53.980288,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 07:51:53 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 08:04:24 err smbd[9606]: [2019/01/30 08:04:24.068268,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 08:04:24 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 08:16:54 err smbd[9606]: [2019/01/30 08:16:54.162239,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 08:16:54 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 08:29:24 err smbd[9606]: [2019/01/30 08:29:24.255685,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 08:29:24 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!
2019-01-30 08:41:54 err smbd[9606]: [2019/01/30 08:41:54.349548,  0] ../source3/printing/print_standard.c:71(std_pcap_cache_reload)
2019-01-30 08:41:54 err smbd[9606]:   Unable to open printcap file /etc/printcap for read!

Doporučená náprava je doplnit do /etc/samba/smb.conf.template

[global]
load printers = no
printcap name = /dev/null
printing = bsd

a následně /etc/init.d/samba4 reload


#15

Stále a trvale přetrvává, poslední hláška každou hodinu:
… server_uplink[]: Failed to download contract status
… server_uplink[]: Failed to get registration code
… turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris-ipsets.gz.sign

Co je to to problém ?

019-01-31 23:00:01 err server_uplink[]: Failed to download contract status
2019-01-31 23:00:02 info nikola[]: (v43) recognized WAN interfaces: eth1, lo
2019-01-31 23:00:21 info nikola[]: (v43) Establishing connection took 4.675640 seconds
2019-01-31 23:00:21 info nikola[]: (v43) Logrotate took 0.004768 seconds
2019-01-31 23:00:21 info nikola[]: (v43) Syslog parsing took 0.052203 seconds
2019-01-31 23:00:22 info nikola[]: (v43) Session init took 0.674711 seconds
2019-01-31 23:00:22 info nikola[]: (v43) Records parsed: 62
2019-01-31 23:00:22 info nikola[]: (v43) Records after filtering: 45
2019-01-31 23:00:22 info nikola[]: (v43) Records filtering took 0.010375 seconds
2019-01-31 23:00:22 info nikola[]: (v43) {'msg': 'Data were inserted into work queue.'}
2019-01-31 23:00:22 info nikola[]: (v43) Sending records took 0.215104 seconds
2019-01-31 23:01:01 info /usr/sbin/cron[2464]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-31 23:02:01 err server_uplink[]: Failed to get registration code
2019-01-31 23:02:01 info /usr/sbin/cron[2498]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2019-01-31 23:02:01 info /usr/sbin/cron[2500]: (root) CMD (nethist_stats.lua)
2019-01-31 23:02:09 err turris-firewall-rules[]: (v63) Failed to download https://api.turris.cz/firewall/turris- 
   ipsets.gz.sign

#16

A vadí to něčemu? :slight_smile:


#17

Protože tomu nerozumím, domnívám se že ano … připadá mi, že to nestahuje od turrise aktualizace nějakého nastavení, které by stahovat mělo a má vliv na iptables.


#18

Všiml jsem si, že máte 2x turris-firewall-rules Turris firewall rules , tak to zkuste oboje odinstalovat a znovu nainstalovat.

opkg update
opkg remove turris-firewall-rules --force-remove
opkg remove turris-firewall-rules-tests --force-remove
opkg install turris-firewall-rules


#19

V tuto chvíli (bez zásahu) je to v pořádku, ani v procesech to není jinak. Nikdy jsem si dvou instancí v procesech nevšiml … zmíněná chybka přetrvává

image


#20

Zkuste přes router ručně stáhnout tento soubor do adresáře /tmp

wget https://api.turris.cz/firewall/turris-ipsets.gz.sign -P /tmp/

Provede se to korektně?

Mám totiž podezření, že problém může být v DNS nebo v certifikátech a api.turris.cz se již někde na fóru řešilo.

EDIT1: pardon, ještě jsem opravil příkaz.
EDIT2: něco podobného se řešilo zde: Certificate for api.turris.cz a co jsem z toho pochopil, tak se certifikát pro api.turris.cz musí naimportovat ručně.


#21

Odpověď číslo 1 — ano je tam problém

root@Omnia:~# wget https://api.turris.cz/firewall/turris-ipsets.gz.sign -P /tmp/
--2019-02-01 18:04:46--  https://api.turris.cz/firewall/turris-ipsets.gz.sign
Resolving api.turris.cz... 217.31.192.101, 2001:1488:ac15:ff80::101
Connecting to api.turris.cz|217.31.192.101|:443... connected.
ERROR: cannot verify api.turris.cz's certificate, issued by 'emailAddress=michal.vaner@nic.cz,CN=Turris Emergency CA,OU=Labs,O=CZ.NIC,L=Prague,ST=Czech republic,C=CZ':
  Unable to locally verify the issuer's authority.
To connect to api.turris.cz insecurely, use `--no-check-certificate'.
root@Omnia:~#