>> /usr/sbin/migrate-ds-admin.pl -ddd --crossplatform --oldsroot=/mnt/old-fds/opt/fedora-ds --actualsroot=/opt/fedora-ds General.ConfigDirectoryAdminPwd=FDS_password >> >> Beginning migration of Administration server from /mnt/old-fds/opt/fedora-ds . . . >> +++stopping admin server returns status 256: output server not running >> >> +Warning: Could not stop admin server: status 256: output server not running >> >> Exiting . . . >> Log file is '/tmp/migrate3A8KRY.log' Migration should continue if you attempt to stop admin server and it is not running.
Created attachment 510879 [details] 0001-Bug-713000-Migration-stops-if-old-admin-server-canno.patch
To ssh://git.fedorahosted.org/git/389/admin.git 7edcc2b..81f194a master -> master commit 81f194a1f6ae1e3f658832081844b2908b2dd0ee Author: Rich Megginson <rmeggins> Date: Fri Jul 1 07:34:52 2011 -0600 Reviewed by: nkinder (Thanks!) Branch: master Fix Description: If the admin server could not be stopped, just assume it is not running and return a success code. Platforms tested: Fedora 15 x86_64 Flag Day: no Doc impact: no
Steps to verify: 1. Stops the admin server. 2. Start migration. Note: Migration should continue if you attempt to stop admin server and it is not running.
This is what we follow : <richm> ami: on the source, stop the servers before creating the tarball <ami> richm, : yeah <richm> on the destination, follow these steps: <richm> untar the tarball <richm> setup-ds.pl -u <richm> service dirsrv start <richm> setup-ds-admin.pl -u -ddd -l /tmp/setup2.log ...other parameters for config ds upgrade as documented... <richm> service dirsrv-admin start So here we are doing the migration when the server is in stopped state And it works fine. Hence marking VERIFIED.