Archive for August, 2014

transmission-daemon failing on Debian Jessie

Posted in General on Saturday, August 2, 2014 by Yatta

I’m trying to setup flexget with transmission but it was failing for some reason.


Setting up transmission-daemon (2.82-1.1+b1) …
Job for transmission-daemon.service failed. See ‘systemctl status transmission-daemon.service’ and ‘journalctl -xn’ for details.
invoke-rc.d: initscript transmission-daemon, action “start” failed.
dpkg: error processing package transmission-daemon (–configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)


Once I followed the below post from debian bug forum transmission-daemon started to no problem


usermod debian-transmission -d /var/lib/transmission-daemon

mkdir -p /var/lib/transmission-daemon/.config/transmission-daemon

mv /var/lib/transmission-daemon/info/*

rmdir info

ln -s /var/lib/transmission-daemon/.config/transmission-daemon

chown -R debian-transmission:debian-transmission
/var/lib/transmission-daemon /var/lib/transmission-daemon/.config



ksenior@roamer:~$ transmission-daemon -f

[22:45:44.162] Transmission 2.82 (14160) started (session.c:738)

[22:45:44.162] RPC Server Adding address to whitelist: (rpc-server.c:828)

[22:45:44.162] RPC Server Serving RPC and Web requests on port (rpc-server.c:1035)

[22:45:44.162] RPC Server Whitelist enabled (rpc-server.c:1039)

[22:45:44.162] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:78)

[22:45:44.162] UDP Please add the line “net.core.rmem_max = 4194304” to /etc/sysctl.conf (tr-udp.c:83)

[22:45:44.162] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:89)

[22:45:44.162] UDP Please add the line “net.core.wmem_max = 1048576” to /etc/sysctl.conf (tr-udp.c:94)

[22:45:44.162] DHT Generating new id (tr-dht.c:310)

[22:45:44.162] Using settings from “/home/ksenior/.config/transmission-daemon” (daemon.c:526)





 I had to modify /etc/sysctl.conf

root@roamer:~# vi /etc/sysctl.conf

add the lines noted in the error log

UDP Please add the line “net.core.rmem_max = 4194304” to /etc/sysctl.conf (tr-udp.c:83)

UDP Please add the line “net.core.wmem_max = 1048576” to /etc/sysctl.conf


To restart:

root@roamer:~# sysctl -p /etc/sysctl.conf

net.core.rmem_max = 4194304

net.core.wmem_max = 1048576