You should not use dbvalid directly. Instead, use the configureDb.pl wrapper. For example, to validate the integrity of the ANI database:
NMSROOT/bin/perl NMSROOT/objects/db/conf/configureDb.pl action=validate dsn=ani
You must have Daemon Manager shutdown to use this tool. This tool does not repair errors. True errors in the database cannot be fixed. If you encounter any, you will need to either reinitialize the database or restore from a known good backup.