Pomoc Monitorix się zepsuł :(

Kreonium

System Engineer
Q Specialist
14 Wrzesień 2018
108
6
18
61
QNAP
TS-x53B
Ethernet
1 GbE
Jestem w pracy a tu taka niespodzianka
ai63.tinypic.com_x0r15e.png

Odinstalowałem rtorrent-Pro, restart NAS, zainstalowałem ponownie i wygląda na to że zadziałał (ustawiłem w creditentials nowego usera (admin(!)) teraz restartuje NAS i zobaczę czy wszystko OK.
 
Niestety już mu przeszło a dodatkowo w rtorrent:
[04.10.2018 09:19:02] Bad response from server: (0 [error,gethistory])
[04.10.2018 09:19:02] Bad response from server: (0 [error,list])
:Loser:
Po wstaniu systemu problem powrócił. Więc od nowa , reinstall itd itp :s
Za każdym razem po restarcie, ta sama sytuacja.
Najbardziej denerwuje mnie to, że Monitorix gubi dane i jest "goły" po reinstal.
Ktoś wie gdzie on ma dane, żebym mógl mu je przywrócić?
A wogóle to dlaczemu ma adres "nas.rtorrent.ltd"
 

Załączniki

  • Monitorix.png
    Monitorix.png
    98,7 KB · Wyświetleń: 40
Log:
df: /share/CACHEDEV1_DATA: No such file or directory
df: /share/CACHEDEV2_DATA: No such file or directory
df: /share/CACHEDEV2_DATA: No such file or directory
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory
Tue Oct 16 12:25:00 2018 - mysql_update(): install_driver(mysql) failed: Can't l ocate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /share/CE_CACHEDEV1_DATA/.qpkg/rtorrent/bin/usr/bin/rtorrent/lib/moni torix /lib /usr/lib/monitorix /usr/bin/rtorrent/lib/monitorix /usr/bin/rtorrent/ perl/site/lib /usr/bin/rtorrent/perl/lib .) at (eval 44) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: CSV, DBM, ExampleP, File, Gofer, ODBC, Oracle, Pg, Proxy, SQL ite, Sponge.
at /usr/bin/rtorrent/lib/monitorix/mysql.pm line 202.
Tue Oct 16 12:25:37 2018 - SIGTERM caught.
Can't exec "ip6tables": No such file or directory at /usr/bin/rtorrent/lib/monit orix/Monitorix.pm line 362.
Can't exec "ip6tables": No such file or directory at /usr/bin/rtorrent/lib/monit orix/Monitorix.pm line 378.
Can't exec "ip6tables": No such file or directory at /usr/bin/rtorrent/lib/monit orix/Monitorix.pm line 418.
Tue Oct 16 12:25:37 2018 - Exiting.
 
w tamtym tygodniu (Środa o 22:17) zgłosiłem ten sam problem i występuje on od 2 ostatnich aktualizacji systemu
mam ten sam log co kolega wyżej

Kod:
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory
Tue Oct 16 14:02:01 2018 - mysql_update(): install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /share/CACHEDEV1_DATA/.qpkg/rtorrent/bin/usr/bin/rtorrent/lib/monitorix /lib /usr/lib/monitorix /usr/bin/rtorrent/lib/monitorix /usr/bin/rtorrent/perl/site/lib /usr/bin/rtorrent/perl/lib .) at (eval 424) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: CSV, DBM, ExampleP, File, Gofer, ODBC, Oracle, Pg, Proxy, SQLite, Sponge.
 at /usr/bin/rtorrent/lib/monitorix/mysql.pm line 202.

df: /share/CACHEDEV2_DATA: No such file or directory
df: /share/CACHEDEV2_DATA: No such file or directory
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV3_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV4_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory
df: /share/CACHEDEV5_DATA: No such file or directory

ba dodam, że zaraz po reinstalacji rtorrenta-pro i dodaniu nowego torrenta w katalogu wyżej od tego do którego chcemy pobrać torrenta tworzy się dziwne dowiązanie

przykładowo chcę coś pobrać do katalogu /share/CACHEDEV1_DATA/Multimedia/Dystrybucje
to w folderze Multimedia powstaje folder rtorrent

Kod:
lrwxrwxrwx   1 admin administrators    37 2018-10-16 06:09 rtorrent -> /share/Download/rtorrent/medialibrary/
 
@Silas Mariusz Ewidentnie coś Qnap szpąci. Skoro działało i przyszła aktualizacja i przestało to na kogo znów mam zwalać winę. Z każda aktualizacją albo się borykam z Kodi, albo z Plexem albo z rTorrent. Po ostatniej wszystko działa jakoś słabiej.

Czekam w takim razie na odchudzoną wersję ponieważ mimo tego ze mi wyłączyłeś Monitorix to nadal mam komunikat:
upload_2018-10-16_16-1-20.png
 
1. Zatrzymac rtorrent-Pro
Bash:
/etc/init.d/rtorrent.sh stop

2. Edytować plik:
Bash:
mcedit `getcfg -f /etc/config/qpkg.conf rtorrent Install_Path`/etc/def.p/rtorrent.sh.SERVICES

# lub...
vi `getcfg -f /etc/config/qpkg.conf rtorrent Install_Path`/etc/def.p/rtorrent.sh.SERVICES

3. Usunąć linie:
Kod:
		"monitorixd|monitorix.pid"

Tak, aby plik w rezultacie wyglądał w ten sposób:
Bash:
#!/usr/bin/env sh

SERVICES=(
		"php-fpm|php-fpm.pid"
		"rtorrent|rtorrent.lock"
		"lighttpd|rtorrent-webserver.pid"
	)

4. Uruchomić rtorrent-Pro
Bash:
/etc/init.d/rtorrent.sh start
 
@Silas Mariusz Miałeś usunąć linie monitoriX, a pokazujesz w punkcie 3 że jest.

Po za tym ja mam:
SERVICES=(
"php-fpm|php-fpm.pid"
"rtorrent|rtorrent.lock"
"lighttpd|rtorrent-webserver.pid"
)


i po restarcie nadal wymiotuje błędem.