Upgrade from DNSmanager 4

From ISPWiki
Jump to: navigation, search

Complete the steps described in the article DNSmanager installation guide to install DNSmanager 5. Be sure to set the MIGRATION=mgr5 environment variable

export MIGRATION=mgr5

Stop DNSmanager 4 to avoid data de-synchronization.

chmod -x /usr/local/ispmgr/bin/dnsmgr
killall dnsmgr

Import the data into your new server with DNSmanager

/usr/local/mgr5/sbin/mgrctl -m dnsmgr import clear=on

Enter the path to the directory where you want to install DNSmanager, if it differs from the default one (/usr/local/mgr5). If your new DNSmanager contains important data, remove the clear=on parameter, otherwise the data will be deleted before importing. Some errors may occur during the import process due to a large number of ambiguities.

Once completed, the program will return either OK or an error message. Make sure that the data have been successfully imported and no errors have occurred due to data corruption on the old version.


grep "WARNING" /usr/local/mgr5/var/dnsmgr.log 

Resolve issues, if any and try again.

Edit the URL to DNSmanager in all the software products integrated with DNSmanager.

Alternatively, you can use the old URL for your new DNSmanager. We do not recommend using this method until you are not an experienced server administrator. Moreover, it may vary depending on your server settings and other requirements.

When upgrading from DNSmanager 4, edit the "/etc/rc.local" file by uncommenting or deleting the following strings:
#/usr/local/ispmgr/sbin/ihttpd 1500
#/usr/local/ispmgr/sbin/mgrctl -m dnsmgr bindip

  • - your IP address
  • 1500 - the number of the port ihttpd is associated with