Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157964 - proftpd server wont start
Summary: proftpd server wont start
Status: RESOLVED DUPLICATE of bug 137817
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 13:30 UTC by miguel
Modified: 2006-12-12 13:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description miguel 2006-12-12 13:30:32 UTC
The file /etc/init.d/proftpd has an error in line 21:

Goes -- /var/run/proftpd.pid where it should be -p var/run/proftpd.pid

18 start() {
19        checkconfig || return 1
20        ebegin "Starting proftpd"
21        start-stop-daemon --start --quiet --exec /usr/sbin/proftpd -- /var/run/proftpd.pid
22        eend $?
23 }


should be
21        start-stop-daemon --start --quiet --exec /usr/sbin/proftpd -p /var/run/proftpd.pid


The error when you try to start it up is:

tsutomete hasp # /etc/init.d/proftpd start
 * Starting proftpd ...
 - unknown parameter: '/var/run/proftpd.pid'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-12 13:34:34 UTC
No such thing there, you didn't run etc-update/dispatch-conf on upgrade.


*** This bug has been marked as a duplicate of 137817 ***