How to fix 421 unable to read the indexed puredb file error? - ZirveSunucum Information
Login
Customer Panel
Login
Register

How to fix 421 unable to read the indexed puredb file error?

421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb

Have you installed pure-ftpd on your server, but are still receiving an error message despite entering the correct username/password? Here are some solutions.

Wrong config configuration and suggestions.

Open the configuration file with the following code.


nano /etc/pure-ftpd/pure-ftpd.conf
Make sure the following settings are correct in your config file.


TLS 1
PassivePortRange             30000 50000
#PureDB                       @sysconfigdir@/pureftpd.pdb
PureDB                       /etc/pure-ftpd/pureftpd.pdb
One of the most common mistakes is that @sysconfigdir@ is perceived by users as a template/syntax/variable, but it is not, you need to make sure that there is a correct file path in this field.

After adjusting these settings, restart pure-ftpd service.


systemctl restart pure-ftpd

We wish you success! 🐧