This is a real sticky situation. I was handed over a machine (running an AIX 7.1), and my first task was to re-install DB2 server on it. But someone before me had conveniently removed an instance owner account, and probably recreated it. Now, the problem is this:
1) When I try to uninstall DB2, it says the instance is active and has to be dropped first.
2) When I try to drop this instance, DB2 says there is no such instance.
I am quite new to DB2 administration. Not sure how to proceed here. Any help is appreciated
Thanks

db2greg -dumpto list everything DB2 knows about its environment. It will list all instances ("I" as the first field in the record), as well as the expected instance directories. If the instance directory referenced in the registry does not exist, you can remove the instance record withdb2greg -delinstrec instancename=whatever– mustaccio May 30 at 17:31