Check out the database pool section of the aolserver config file.
Look for this:
ns_param Verbose On
ns_param ExtendedTableInfo On
ns_param LogSQLErrors On
turning these one will give you the most information in the AOLserver error log about database errors.