Q. I've forgotten the administrator password for the InterMapper DataCenter. How can I recover it or create a new one?
A. The password is stored in /config/imdc.db file along with the other InterMapper DataCenter-specific settings. It's encrypted so you can't read it; to reset the password you need to delete that file and go through the first-start wizard again.
- 1. Stop the InterMapper DataCenter daemon/service:
- Windows: Stop the InterMapper DataCenter service using the Windows Services control panel
Mac OS X: In Terminal, type: sudo /usr/local/imdc/sbin/imdc stop
Linux: From a command line, type: sudo /etc/init.d/imdc stop
2. Delete the /config/imdc.db file. The depends upon the platform:
- Windows: C:\Program Files\InterMapper\dwf\config\imdc.db
Mac OS X: /usr/local/imdc/config/imdc.db
Linux: /usr/local/imdc/config/imdc.db
3. Restart the InterMapper DataCenter daemon/service:
- Windows: Start the InterMapper DataCenter service using the Windows Services control panel
Mac OS X: In Terminal, type: sudo /usr/local/imdc/sbin/imdc start
Linux: From a command line, type: sudo /etc/init.d/imdc start
Note: You will lose configuration data specific to InterMapper DataCenter: the password, custom SSL certificate and InterMapper DataCenter logging level. The individual services (IMAuth, IMDatabase, etc.) each have separate files for their own configuration data.