db_connect: error connecting to master1