Fatal error while initing hosts watcher #5256

Closed
opened 2026-03-04 05:59:47 -05:00 by deekerman · 5 comments
Owner

Originally created by @oompaloomp on GitHub (Jun 14, 2024).

Originally assigned to: @EugeneOne1 on GitHub.

Prerequisites

Platform (OS and CPU architecture)

Custom (please mention in the description)

Installation

GitHub releases or script from README

Setup

On a router, DHCP is handled by the router

AdGuard Home version

0.107.51

Action

Platform:
Linux RM-AC2100 3.4.113 #1 SMP Sat Jun 1 02:51:01 EEST 2024 mips GNU/Linux aka Padavan (https://gitlab.com/hadzhioglu/padavan-ng/-/commits/master), router RM-AC2100.
Log AdGuard Home:
2024/06/14 04:32:26.322121 [info] AdGuard Home, version v0.107.51
2024/06/14 04:32:26.771555 [info] tls: using default ciphers
2024/06/14 04:32:26.771998 [fatal] initing hosts watcher: os watcher: creating watcher: function not implemented

Expected result

AdGuard Home web ui not up.

Actual result

Web not up, In log file - fatal error.

Additional information and/or screenshots

No response

Originally created by @oompaloomp on GitHub (Jun 14, 2024). Originally assigned to: @EugeneOne1 on GitHub. ### Prerequisites - [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer - [X] I have searched other issues and found no duplicates - [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) - [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.) ### Platform (OS and CPU architecture) Custom (please mention in the description) ### Installation GitHub releases or script from README ### Setup On a router, DHCP is handled by the router ### AdGuard Home version 0.107.51 ### Action Platform: Linux RM-AC2100 3.4.113 #1 SMP Sat Jun 1 02:51:01 EEST 2024 mips GNU/Linux aka Padavan (https://gitlab.com/hadzhioglu/padavan-ng/-/commits/master), router RM-AC2100. Log AdGuard Home: 2024/06/14 04:32:26.322121 [info] AdGuard Home, version v0.107.51 2024/06/14 04:32:26.771555 [info] tls: using default ciphers 2024/06/14 04:32:26.771998 [fatal] initing hosts watcher: os watcher: creating watcher: function not implemented ### Expected result AdGuard Home web ui not up. ### Actual result Web not up, In log file - fatal error. ### Additional information and/or screenshots _No response_
deekerman 2026-03-04 05:59:47 -05:00
Author
Owner

@ainar-g commented on GitHub (Jun 14, 2024):

Please specify the OS, the CPU architecture, and the filesystem type more precisely.

This is most likely due to the FS not supporting notifications. Which should definitely be an error, but not a fatal one. @EugeneOne1, please inspect why this is considered fatal and, if there aren't good reasons, fix.

In the meantime, setting dns.hostsfile_enabled and clients.runtime_sources.hosts to false could be the workaround.

@ainar-g commented on GitHub (Jun 14, 2024): Please specify the OS, the CPU architecture, and the filesystem type more precisely. This is most likely due to the FS not supporting notifications. Which should definitely be an error, but not a fatal one. @EugeneOne1, please inspect why this is considered fatal and, if there aren't good reasons, fix. In the meantime, setting `dns.hostsfile_enabled` and `clients.runtime_sources.hosts` to false could be the workaround.
Author
Owner

@oompaloomp commented on GitHub (Jun 14, 2024):

Jun 13 21:26:32 RM-AC2100: firmware version: 3.4.3.9L-102_233c967
Jun 13 21:26:32 kernel: Linux version 3.4.113 (test@test-virtual-machine) (gcc version 7.5.0 (crosstool-NG MIPS32) ) #1 SMP Sat Jun 1 02:51:01 EEST 2024
Jun 13 21:26:32 kernel: MediaTek SoC: MT7621A, RevID: 0104, RAM: DDR3, XTAL: 40MHz
Jun 13 21:26:32 kernel: CPU/OCP/SYS frequency: 880/293/220 MHz
Jun 13 21:26:32 kernel: CPU revision is: 0001992f (MIPS 1004Kc)
@ainar-g, setting dns.hostsfile_enabled and clients.runtime_sources.hosts to false, btw fatal error wile started agh
2024/06/14 10:59:12.692537 [info] AdGuard Home, version v0.107.51
2024/06/14 10:59:13.425514 [info] tls: using default ciphers
2024/06/14 10:59:13.430113 [fatal] initing hosts watcher: os watcher: creating watcher: function not implemented
File attached.
AdGuardHome.zip

@oompaloomp commented on GitHub (Jun 14, 2024): Jun 13 21:26:32 RM-AC2100: firmware version: 3.4.3.9L-102_233c967 Jun 13 21:26:32 kernel: Linux version 3.4.113 (test@test-virtual-machine) (gcc version 7.5.0 (crosstool-NG MIPS32) ) #1 SMP Sat Jun 1 02:51:01 EEST 2024 Jun 13 21:26:32 kernel: MediaTek SoC: MT7621A, RevID: 0104, RAM: DDR3, XTAL: 40MHz Jun 13 21:26:32 kernel: CPU/OCP/SYS frequency: 880/293/220 MHz Jun 13 21:26:32 kernel: CPU revision is: 0001992f (MIPS 1004Kc) @ainar-g, setting dns.hostsfile_enabled and clients.runtime_sources.hosts to false, btw fatal error wile started agh 2024/06/14 10:59:12.692537 [info] AdGuard Home, version v0.107.51 2024/06/14 10:59:13.425514 [info] tls: using default ciphers 2024/06/14 10:59:13.430113 [fatal] initing hosts watcher: os watcher: creating watcher: function not implemented File attached. [AdGuardHome.zip](https://github.com/user-attachments/files/15837181/AdGuardHome.zip)
Author
Owner

@oompaloomp commented on GitHub (Jun 14, 2024):

Thx for yours support, when i can try fix this bug in v0.107.52?

@oompaloomp commented on GitHub (Jun 14, 2024): Thx for yours support, when i can try fix this bug in v0.107.52?
Author
Owner

@EugeneOne1 commented on GitHub (Jun 17, 2024):

@oompaloomp, hello again and sorry for the late reply. We've pushed the edge build that disables /etc/hosts tracking for systems that don't support it, could you please check if it works?

@EugeneOne1 commented on GitHub (Jun 17, 2024): @oompaloomp, hello again and sorry for the late reply. We've pushed the edge build that disables `/etc/hosts` tracking for systems that don't support it, could you please check if it works?
Author
Owner

@oompaloomp commented on GitHub (Jun 18, 2024):

@EugeneOne1, unfortunately can't.
Changed the router to Keenetic Hopper DSL (KN-3610).

@oompaloomp commented on GitHub (Jun 18, 2024): @EugeneOne1, unfortunately can't. Changed the router to Keenetic Hopper DSL (KN-3610).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#5256
No description provided.