How do I fix a VSI-FAX duplicate key error?

If the VSI-FAX database has been corrupted, you may receive an error similar to the following:

vfxstat: Cannot login: Duplicate key

If this happens, we recommend that you run the following procedure as provided by Esker technical support:

cd $VSIFAX/spool/dbs
vdbtool unload -h on user > user.csv
vfxsched stop
vdbtool delete user
vdbtool create $VSIFAX/lib/dbs/user.sch
vdbtool load -h on -u user < user.csv
vfxsched start
vfxadmin user -t umd=usr-admin vsifax

If that does not resolve your issues, you should contact Esker technical support for assistance.