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@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/389-users -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users |
Migration on new FDS server
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 "); return 0; change return 0; to return 1; > > ----- Исходное сообщение ----- > От: "Rich Megginson"<rmeggins@redhat.com> > Кому: "General discussion list for the 389 Directory server project."<389-users@lists.fedoraproject.org> > Копия: "Сафонов Алексей"<alex-saf@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@lists.fedoraproject.org >> https://admin.fedoraproject.org/mailman/listinfo/389-users -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users |
Migration on new FDS server
On 06/10/2011 04:10 PM, Сафонов Алексей wrote:
> Thanks! > > Has made as you have advised - on the screen such messages got enough sleep here: > > +Entry cn=change-sie-password,cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > +Entry cn=sync-task-sie-data,cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > +Entry cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > ..... > +Entry cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot already exists - skipping > +Entry cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot already exists - skipping > +Running stage pre update /usr/share/dirsrv/updates-admin/30updateglobalpref.pl > The map value 'ServerAdminPwd' for key 'as_passwd' did not map to a value in any of the given information files. > Exiting . . . > Log file is '/tmp/migrate2WqZEZ.log' > > > Nevertheless admin server it was launched. The control console 389-console is launched, but in a tab "Servers and Applications" not directory server and admin server. > It can is necessary to delete the fds-server and to lead export anew? try running setup-ds-admin.pl -u > > ----- Исходное сообщение ----- > От: "Rich Megginson"<rmeggins@redhat.com> > Кому: "Сафонов Алексей"<alex-saf@npc.vrn.ru> > Копия: "General discussion list for the 389 Directory server project."<389-users@lists.fedoraproject.org> > Отправленные: Суббота, 11 Июнь 2011 г 0:56:53 > Тема: Re: [389-users] Migration on new FDS server > > 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 "); > return 0; > change > return 0; > to > return 1; >> ----- Исходное сообщение ----- >> От: "Rich Megginson"<rmeggins@redhat.com> >> Кому: "General discussion list for the 389 Directory server project."<389-users@lists.fedoraproject.org> >> Копия: "Сафонов Алексей"<alex-saf@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@lists.fedoraproject.org >>> https://admin.fedoraproject.org/mailman/listinfo/389-users -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users |
Migration on new FDS server
Thanks!
All works! best regards! ----- Исходное сообщение ----- От: "Rich Megginson" <rmeggins@redhat.com> Кому: "Сафонов Алексей" <alex-saf@npc.vrn.ru> Копия: "General discussion list for the 389 Directory server project." <389-users@lists.fedoraproject.org> Отправленные: Суббота, 11 Июнь 2011 г 2:28:23 Тема: Re: [389-users] Migration on new FDS server On 06/10/2011 04:10 PM, Сафонов Алексей wrote: > Thanks! > > Has made as you have advised - on the screen such messages got enough sleep here: > > +Entry cn=change-sie-password,cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > +Entry cn=sync-task-sie-data,cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > +Entry cn=Commands,cn=admin-serv-srv-fds1,cn=389 Administration Server,cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot does not exist - skipping > ..... > +Entry cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot already exists - skipping > +Entry cn=Server Group,cn=srv-fds1.vac.vrn.ru,ou=vac.vrn.ru,o=NetscapeRoot already exists - skipping > +Running stage pre update /usr/share/dirsrv/updates-admin/30updateglobalpref.pl > The map value 'ServerAdminPwd' for key 'as_passwd' did not map to a value in any of the given information files. > Exiting . . . > Log file is '/tmp/migrate2WqZEZ.log' > > > Nevertheless admin server it was launched. The control console 389-console is launched, but in a tab "Servers and Applications" not directory server and admin server. > It can is necessary to delete the fds-server and to lead export anew? try running setup-ds-admin.pl -u > > ----- Исходное сообщение ----- > От: "Rich Megginson"<rmeggins@redhat.com> > Кому: "Сафонов Алексей"<alex-saf@npc.vrn.ru> > Копия: "General discussion list for the 389 Directory server project."<389-users@lists.fedoraproject.org> > Отправленные: Суббота, 11 Июнь 2011 г 0:56:53 > Тема: Re: [389-users] Migration on new FDS server > > 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 "); > return 0; > change > return 0; > to > return 1; >> ----- Исходное сообщение ----- >> От: "Rich Megginson"<rmeggins@redhat.com> >> Кому: "General discussion list for the 389 Directory server project."<389-users@lists.fedoraproject.org> >> Копия: "Сафонов Алексей"<alex-saf@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@lists.fedoraproject.org >>> https://admin.fedoraproject.org/mailman/listinfo/389-users -- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users |
| All times are GMT. The time now is 07:38 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.