Re: [pure-ftpd] Sorry, we were unable to read [.]

Holger <[email protected]> Mon, 24 Feb 2020 12:41:42 +0000
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Hi Lorenzo,

On 22/02/2020 10:13, Lorenzo Milesi wrote:

 > I enabled VerboseLog but the only messages I get on the server are:
 > Feb 21 17:07:18 ServerWebLinu pure-ftpd: ([email protected]) [DEBUG] 
Command [pasv] []
 > Feb 21 17:07:18 ServerWebLinu pure-ftpd: ([email protected]) [DEBUG] 
Command [list] []
 > Feb 21 17:07:25 ServerWebLinu pure-ftpd: ([email protected]) [DEBUG] 
Command [cwd] [hugefolder]
 > Feb 21 17:07:26 ServerWebLinu pure-ftpd: ([email protected]) [DEBUG] 
Command [pasv] []
 > Feb 21 17:07:26 ServerWebLinu pure-ftpd: ([email protected]) [DEBUG] 
Command [list] []


I'm guessing that you have "enabled VerboseLog" by putting "yes" into 
/etc/pure-ftpd/conf/VerboseLog - this only adds the switch "-d" in 
/usr/sbin/pure-ftpd-wrapper (at least that's how it works on Debian).

If you change "-d" to "-dd" in /usr/sbin/pure-ftpd-wrapper you will also 
be able to log FTP responses - 
https://download.pureftpd.org/pub/pure-ftpd/doc/README says:

 > - '-d': Send various debugging messages to the syslog. Don't use this
 > unless you really want to debug Pure-FTPd. Passwords aren't logged.
 > Duplicate '-d' to log responses, too.


Maybe also check that the disk where these files are stored is mounted 
with the options "noatime,nodiratime" (or at least with "noatime").

Best wishes,

Holger