Can you try to run the uninstall script, or remove the IM-configs with phpadmin? And then see what happens?