0

Sorry for the newb factor but I'm trying to set up a server using this guide:

http://www.intac.net/build-your-own-server/

I'm at the end of step 5 and when I try to restart proftp I get the following error message

me@me-desktop:~$ sudo service proftpd restart
 * Stopping ftp server proftpd                                                                       [ OK ] 
 * Starting ftp server proftpd
 Fatal: unknown configuration directive 'DisplayFirstChdir' on line 22 of '/etc/proftpd/proftpd.conf'
                                                                                                     [fail]

Any clues on how to change line 22?

Castaglia
  • 3,349
  • 3
  • 21
  • 42
user784637
  • 1,542
  • 7
  • 35
  • 52

1 Answers1

3

The DisplayFirstChdir directive is deprecated. Comment it out and try again.

quanta
  • 51,413
  • 19
  • 159
  • 217
  • Thanks sir, shall I comment out the following code? ` #DenyAll TransferRate RETR 50 DenyAll ` – user784637 Nov 14 '11 at 10:33
  • 1
    This code make your ftp server is read-only. Also comment it out if you want to allow your users to upload. There's no need to find HOWTO anywhere, just read the [document](http://www.proftpd.org/docs/howto/Directory.html) in the homepage first. – quanta Nov 14 '11 at 10:42
  • For any other readers: `DisplayFirstChdir` was deprecated, and *replaced with* [`DisplayChdir`](http://www.proftpd.org/docs/modules/mod_core.html#DisplayChdir). – Castaglia Jan 20 '16 at 22:10