Page 1 of 1

Error message when stopping daemon

Posted: Sun Apr 10, 2011 4:57 pm
by webaake
This is from console;

Code: Select all

Stopping bittorrent client transmission-daemon...
start-stop-daemon: warning: this system is not able to track process names
longer than 15 characters, please use --exec instead of --name.
It's Ubuntu 9.10, kernel 2.6.31-22, transmission-daemon 2.22 installed via transmission repo, and the init script from transmission trac (https://trac.transmissionbt.com/wiki/Scripts/initd).

Everything stops ok, but it would be nice to straighten this out.

Re: Error message when stopping daemon

Posted: Mon Apr 11, 2011 3:48 pm
by gunzip
based on the warning message you should replace the line in the wiki init script:

Code: Select all

do_stop()
{
.
.
start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --name $NAME
.
.
}
with

Code: Select all

do_stop()
{
.
.
start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --exec $DAEMON
.
.
}

Re: Error message when stopping daemon

Posted: Mon Apr 11, 2011 5:15 pm
by webaake
Great! I'll try that. Thx.

Re: Error message when stopping daemon

Posted: Mon Apr 11, 2011 6:23 pm
by webaake
Worked nicely, thank you!

Re: Error message when stopping daemon

Posted: Wed Dec 21, 2011 5:48 am
by ericalism
yeah,that works perfectly,thanks! :D