Closed Bazo0Z0o closed 2 years ago
Looks like a lack of RAM... You need at least 256 MB of RAM at the moment. To optimize RAM usage, try the following settings:
uci set ruantiblock.config.bllist_source="rublacklist"
uci set ruantiblock.config.ipset_clear_sets="1"
uci commit ruantiblock
You can also read: Lack of RAM (paragraph 8), Blacklist optimization.
То же самое. Судя по системлогу, при запуске ruantiblock dnsmasq
не находит ruantiblock.conf
и далее уже ничего не резолвится. В моем случае включена RAM-конфигурация (256 MB RAM), установлен https-dns-proxy.
Sat Apr 9 13:32:05 2022 user.info ruantiblock: start...
Sat Apr 9 13:32:05 2022 daemon.info dnsmasq[1]: exiting on receipt of SIGTERM
Sat Apr 9 13:32:10 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:10 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:15 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:15 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:20 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:20 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:25 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:25 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:30 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:30 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:35 2022 daemon.crit dnsmasq[1]: cannot access /tmp/dnsmasq.d/ruantiblock.conf: No such file or directory
Sat Apr 9 13:32:35 2022 daemon.crit dnsmasq[1]: FAILED to start up
Sat Apr 9 13:32:35 2022 daemon.info procd: Instance dnsmasq::cfg01411c s in a crash loop 6 crashes, 0 seconds since last crash
Пользовался ранее прежней версией на Падаване, там всё работало.
@spvkgn, у вас есть те же сообщения об ошибке модуля при обновлении, что и у @Bazo0Z0o?
Добрый день. Спасибо за ответ! Наконец удалось выкроить время - проверить. Не помогает(((((:
root@gate:~# uci set ruantiblock.config.bllist_source="rublacklist"
root@gate:~# uci set ruantiblock.config.ipset_clear_sets="1"
root@gate:~# uci commit ruantiblock
root@gate:~# /usr/bin/ruantiblock update
ruantiblock update...
Killed
Module run attempt 1: failed [/usr/libexec/ruantiblock/ruab_parser.lua]
Killed
Module run attempt 2: failed [/usr/libexec/ruantiblock/ruab_parser.lua]
Killed
Module run attempt 3: failed [/usr/libexec/ruantiblock/ruab_parser.lua]
Module error! [/usr/libexec/ruantiblock/ruab_parser.lua]
Filling ipsets...
Ok
udhcpc: started, v1.33.2
udhcpc: sending discover
udhcpc: no lease, failing
Памяти 128 Мб, Железяка: Xiaomi Redmi Router AC2100
@Bazo0Z0o, попробуйте самую лёгкую конфигурацию:
uci set ruantiblock.config.bllist_mode="ip"
uci set ruantiblock.config.ipset_clear_sets="1"
uci set ruantiblock.config.bllist_source="antifilter"
uci commit ruantiblock
Так заработало, спасибо большое!
@335maria335, парсер отрабатывает со второй попытки. Если ошибка при загрузке роутера, то может быть интернет ещё недоступен в момент начала обновления блэклиста (или DNS и т.п.)
Hello! When i trying to "ruantiblock update" - i always get " Module run attempt: failed". I tryed to remove/install and no effect(.
root@Bazoozoo:~# /usr/bin/ruantiblock update ruantiblock update... Killed Module run attempt 1: failed [/usr/libexec/ruantiblock/ruab_parser.lua] Killed Module run attempt 2: failed [/usr/libexec/ruantiblock/ruab_parser.lua] Killed Module run attempt 3: failed [/usr/libexec/ruantiblock/ruab_parser.lua] Module error! [/usr/libexec/ruantiblock/ruab_parser.lua] udhcpc: started, v1.33.2 udhcpc: sending discover udhcpc: no lease, failing