On 06/10/2011 02:34 PM, Сафонов Алексей wrote:
Thanks for the answer!
Here a command log:
----------------------------------------------
/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'
----------------------------------------------
admin server really it is not launched. But it and not probably to launch at fresh
install of the fds-server
I ask the help.
Looks like a bug in the migration code. Try this:
edit /usr/lib/dirsrv/perl/AdminServer.pm (or
/usr/lib64/dirsrv/perl/AdminServer.pm)
line 576-578 looks like this:
# Ignore the stop failure
debug(1,"Warning: Could not stop admin server: status
$status: output $output\n");
return 0;
change
return 0;
to
return 1;
----- Исходное сообщение -----
От: "Rich Megginson"<rmeggins(a)redhat.com>
Кому: "General discussion list for the 389 Directory server
project."<389-users(a)lists.fedoraproject.org>
Копия: "Сафонов Алексей"<alex-saf(a)npc.vrn.ru>
Отправленные: Понедельник, 6 Июнь 2011 г 19:43:09
Тема: Re: [389-users] Migration on new FDS server
On 06/04/2011 08:37 AM, Сафонов Алексей wrote:
> Hi,
> It is necessary for me to transfer server FDS on the new server. The old server
worked under control fedora 7 (i386) the software fds 1.0.4. The new server works under
control fedora 14 (x86_64). For transfer of the directory server I used the instruction
http://directory.fedoraproject.org/wiki/FDS_Setup#migrate-ds-admin.pl (Cross Platform
Migration Usage):
>
> /usr/sbin/migrate-ds-admin.pl - crossplatform - oldsroot =/mnt/old-fds/opt/fedora-ds
- actualsroot =/opt/fedora-ds General. ConfigDirectoryAdminPwd=FDS_password
>
> Transfer of the directory server has happened successfully. I didn't manage to
transfer and launch Admin Server. By script operation migrate-ds-admin.pl there is an
error:
>
> [Migration] Info Beginning migration of Administration server from/opt/fedora-ds...
[Migration] Fatal Exiting...
run migrate-ds-admin.pl with -ddd to get more debugging output.
> I ask the help.
> --
> 389 users mailing list
> 389-users(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/389-users