Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235591 - net-ftp/proftpd-1.3.1_rc2-r3 - "please fix your configuration file" using /etc/proftpd/proftpd.conf.distrib
Summary: net-ftp/proftpd-1.3.1_rc2-r3 - "please fix your configuration file" using /et...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 04:59 UTC by Jakub Kaláb
Modified: 2009-02-17 22:12 UTC (History)
1 user (show)

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 Jakub Kaláb 2008-08-24 04:59:25 UTC
Crashes when starting the service (/etc/init.d/proftpd start):
 * Checking proftpd configuration ...
 * Configuration error: please fix your configuration file (/etc/proftpd/proftpd.conf).
But i just made a clean install and copied the /etc/proftpd/proftpd.conf.distrib to /etc/proftpd/proftpd.conf

Reproducible: Always

Steps to Reproduce:
1. emerge proftpd
2. copy /etc/proftpd/proftpd.conf.distrib to /etc/proftpd/proftpd.conf
3. start the server (/etc/init.d/proftpd start)

Actual Results:  
 * Checking proftpd configuration ...
 * Configuration error: please fix your configuration file (/etc/proftpd/proftpd.conf).

Expected Results:  
start the server and dont complain about the default conf file
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-25 00:40:50 UTC
Does it help to use /etc/proftpd/proftpd.conf.sample instead?
Comment 2 Jakub Kaláb 2008-08-31 07:15:52 UTC
(In reply to comment #1)
> Does it help to use /etc/proftpd/proftpd.conf.sample instead?
> 

It doesn't, i can put there anything and it still outputs the same. but i use the ~x86 version now and it works fine.
Comment 3 Peter Grasch 2008-09-19 13:53:00 UTC
I just ran into the same problem (but with proftpd-1.3.1 final) and just wanted to let you know that I fixed it by adding the hostname of the machine to /etc/hosts (apparently I forgot to do that earlier).

If you ran into a similar error and can't figure, start proftpd directly (by entering "proftpd" instead of using the init-script) because you will get to see the error message instead of the unhelpful "please fix your configuration file".
Comment 4 Bernard Cafarelli gentoo-dev 2009-02-17 22:12:28 UTC
Init script shows configuration errors now, and sample configuration was updated in 1.3.2-r1 ebuild. Thanks for your patience