LINUX.ORG.RU

Gentoo + Deluge автозапуск

 , ,


0

1

Почему Deluge не стартует при запуске(при этом dnsmasq запускается)? Deluge 1.3.11, ОС - Gentoo, добавляю в автозапуск с помощью

rc-update add deluged default

cat /var/log/rc.log

rc default logging started at Wed Sep 30 20:04:07 2015

 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
 [ ok ]
 * Starting syslog-ng ...
 [ ok ]
 * Loading iptables state and starting firewall ...
 [ ok ]
 * Bringing up interface enp1s0
 [ ok ]
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...
 [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive
 * Bringing up interface wlp3s0
 *   192.168.107.1 ...
 [ ok ]
 * WARNING: dnsmasq will start when net.ppp0 has started
 * Setting clock via the NTP client 'ntpdate' ...
Exiting, name server cannot be used: Temporary failure in name resolution (-3) * Failed to set clock
 [ !! ]
 * ERROR: ntp-client failed to start
 * Starting cronie ...
 [ ok ]
 * Starting sshd ...
 [ ok ]
 * WARNING: deluged will start when net.ppp0 has started
 * Starting hostapd ...
Configuration file: /etc/hostapd/hostapd.conf
wlp3s0: interface state UNINITIALIZED->HT_SCAN
 [ ok ]
 * WARNING: netmount will start when net.ppp0 has started
 * Starting ntpd ...
 [ ok ]
 * Starting local ...
 [ ok ]



Последнее исправление: antoshka117 (всего исправлений: 1)
Ответ на: комментарий от Pinkbyte

rc-status

Runlevel: default
 syslog-ng	[  started  ]
 iptables	[  started  ]
 net.enp1s0	[  started  ]
 net.ppp0	[  started  ]
 net.wlp3s0	[  started  ]
 dnsmasq	[  started  ]
 ntp-client	[  stopped  ]
 cronie	[  started  ]
 hostapd	[  started  ]
 netmount	[  started  ]
 sshd	[  started  ]
 deluged	[  crashed  ]
 ntpd	[  started  ]
 local	[  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed
Dynamic Runlevel: manual

grep -i strict /etc/rc.conf

# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# one comes up. With rc_depend_strict="YES" we would require them both to
rc_depend_strict="YES"

antoshka117
() автор топика
Ответ на: комментарий от antoshka117

deluged [ crashed ]
crashed

Кури логи, чо. В dmesg сегфолтов нет?

rc_depend_strict=«YES»

Поставь NO - сэкономишь нервы, особенно если у тебя не 1 сетевой интерфейс.

Pinkbyte ★★★★★
()
Ответ на: комментарий от Pinkbyte

Как я понял, проблема в этом

Sep 30 22:14:26 aaaa /etc/init.d/deluged[3843]: start-stop-daemon: no matching processes found
Sep 30 22:14:26 aaaa /etc/init.d/deluged[3846]: start-stop-daemon: no matching processes found
Sep 30 22:14:47 aaaa start-stop-daemon[3059]: pam_unix(start-stop-daemon:session): session opened for user deluge by (uid=0)
Sep 30 22:14:47 aaaa start-stop-daemon[3063]: pam_unix(start-stop-daemon:session): session opened for user deluge by (uid=0)
Т.е. start-stop-daemon стартует позже чем deluge.

antoshka117
() автор топика

deluge — это треш, используй qbittorrent.

kep
()
Ответ на: комментарий от antoshka117

Нет, это всё следствия, а не причина. Сам deluge логи не ведет?

Pinkbyte ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.