How to run proftpd in debug mode


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Ftp

How to run proftpd in debug modeLast Modified: Jul 15, 2008, 2:41 pm
If you are having any issues logging in, or uploading files, creating directories, etc.. you can run proftpd in debug mode to see what the proftpd server is doing and possibly find out why it's generating the errors it is.

To do so, type the following:

/etc/init.d/proftpd stop
proftpd -n -d 20

This will stop proftpd and then start it up in the console in debug mode.  Note on freebsd, you'd use "/usr/local/etc/rc.d/proftpd stop" to stop proftpd.

Then use whatever client again to generate the error.  Proftpd will dump out a lot of information.  The errors you want usually happen right near the bottom of all of the output.  Once you find what you need, press ctrl-c to quit the daemon.  DA should automatically start proftpd up again in normal mode within a minute, or just start it with the same command as above, but with "start" instead of "stop.
 
Related Helpfiles
How ftp accounts for default domains on owned IP's work

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST