Dear Fedora Directory community, After system upgrade is complete, I run yum install 389-ds to install fedora directory server on Fedora 11. I don''t have db2bak or ldif2db command(or scripts). Did I miss some packages? Regards, Michael -- Michael Kang(康上明学) There is a giant asleep within every man. When the giant awakens,miracles happen. Personal blog: http://ufusion.org - United Fusion
John A. Sullivan III
2009-Sep-25 11:06 UTC
Re: [389-users] Do not find db2bak or ldif2db command
On Fri, 2009-09-25 at 14:58 +0800, Michael Kang wrote:> Dear Fedora Directory community, > > After system upgrade is complete, I run yum install 389-ds to install > fedora directory server on Fedora 11. > > I don''t have db2bak or ldif2db command(or scripts). Did I miss some > packages?<snip> In my CentOS 5.3 installation, they installed to /usr/lib64/dirsrv/slapd-ldap2/db2bak /usr/lib64/dirsrv/slapd-ldap2/db2bak.pl in other words /usr/lib64/dirsrv/<directory server instance name>/ or do you mean they disappeared after upgrading? - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan@opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society
Rich Megginson
2009-Sep-25 17:29 UTC
Re: [389-users] Do not find db2bak or ldif2db command
Michael Kang wrote:> Dear Fedora Directory community, > > After system upgrade is complete, I run yum install 389-ds to install > fedora directory server on Fedora 11. > > I don''t have db2bak or ldif2db command(or scripts). Did I miss some > packages?They are not part of the package. They are generated from templates when you run setup-ds-admin.pl to create an instance of directory server. You can see the templates by doing rpm -ql 389-ds-base | grep template-> > Regards, > Michael > > -- > Michael Kang(康上明学) > There is a giant asleep within every man. When the giant > awakens,miracles happen. > > Personal blog: http://ufusion.org - United Fusion > ------------------------------------------------------------------------ > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Rich Megginson is right. I''ve got it: */usr/share/dirsrv/script-templates/template-db2bak.pl* Another question: How to use those templates? I searched all the documents on Fedora 389 directory website(http://directory.fedoraproject.org/wiki/Documentation). But I didn''t find any tutorials. On Sat, Sep 26, 2009 at 1:29 AM, Rich Megginson <rmeggins@redhat.com> wrote:> Michael Kang wrote: > >> Dear Fedora Directory community, >> >> After system upgrade is complete, I run yum install 389-ds to install >> fedora directory server on Fedora 11. >> >> I don''t have db2bak or ldif2db command(or scripts). Did I miss some >> packages? >> > They are not part of the package. They are generated from templates when > you run setup-ds-admin.pl to create an instance of directory server. You > can see the templates by doing > rpm -ql 389-ds-base | grep template- > >> >> Regards, >> Michael >> >> -- >> Michael Kang(康上明学) >> There is a giant asleep within every man. When the giant awakens,miracles >> happen. >> >> Personal blog: http://ufusion.org - United Fusion >> ------------------------------------------------------------------------ >> >> -- >> 389 users mailing list >> 389-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >-- Michael Kang(康上明学) There is a giant asleep within every man. When the giant awakens,miracles happen. Personal blog: http://ufusion.org - United Fusion
Andreas Andersson
2009-Sep-27 09:09 UTC
Re: [389-users] Do not find db2bak or ldif2db command
Hi! http://directory.fedoraproject.org/wiki/Documentation#Use_and_Deployment Under "These are the official Red Hat Directory Server 8.1 docs but they apply to 389 DS 1.1: " you will find "Configuration, Command, and File Reference" which desribes how to use these commands in detail: http://www.redhat.com/docs/manuals/dir-server/8.1/cli/Configuration_Command_File_Reference-Command_Line_Scripts-Perl_Scripts.html#Configuration_Command_File_Reference-Perl_Scripts-db2bak.pl_Create_backup_of_database Regards - Andreas On Sep 27, 2009, at 8:39 AM, Michael Kang wrote:> Rich Megginson is right. > > I''ve got it: /usr/share/dirsrv/script-templates/template-db2bak.pl > > Another question: > How to use those templates? I searched all the documents on Fedora > 389 directory website(http://directory.fedoraproject.org/wiki/Documentation > ). But I didn''t find any tutorials. > > > On Sat, Sep 26, 2009 at 1:29 AM, Rich Megginson > <rmeggins@redhat.com> wrote: > Michael Kang wrote: > Dear Fedora Directory community, > > After system upgrade is complete, I run yum install 389-ds to > install fedora directory server on Fedora 11. > > I don''t have db2bak or ldif2db command(or scripts). Did I miss some > packages? > They are not part of the package. They are generated from templates > when you run setup-ds-admin.pl to create an instance of directory > server. You can see the templates by doing > rpm -ql 389-ds-base | grep template- > > Regards, > Michael > > -- > Michael Kang(康上明学) > There is a giant asleep within every man. When the giant > awakens,miracles happen. > > Personal blog: http://ufusion.org - United Fusion > ------------------------------------------------------------------------ > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > -- > Michael Kang(康上明学) > There is a giant asleep within every man. When the giant > awakens,miracles happen. > > Personal blog: http://ufusion.org - United Fusion > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Wow! Thanks ~!~! On Sun, Sep 27, 2009 at 5:09 PM, Andreas Andersson <zreoxx@gmail.com> wrote:> Hi! > > http://directory.fedoraproject.org/wiki/Documentation#Use_and_Deployment > > Under "These are the official Red Hat Directory Server 8.1 docs but they > apply to 389 DS 1.1: " > you will find "Configuration, Command, and File Reference" which desribes > how to use these commands in detail: > > http://www.redhat.com/docs/manuals/dir-server/8.1/cli/Configuration_Command_File_Reference-Command_Line_Scripts-Perl_Scripts.html#Configuration_Command_File_Reference-Perl_Scripts-db2bak.pl_Create_backup_of_database > > Regards - Andreas > > On Sep 27, 2009, at 8:39 AM, Michael Kang wrote: > > Rich Megginson is right. > > I''ve got it: */usr/share/dirsrv/script-templates/template-db2bak.pl* > > Another question: > How to use those templates? I searched all the documents on Fedora 389 > directory website(http://directory.fedoraproject.org/wiki/Documentation). > But I didn''t find any tutorials. > > > On Sat, Sep 26, 2009 at 1:29 AM, Rich Megginson <rmeggins@redhat.com>wrote: > >> Michael Kang wrote: >> >>> Dear Fedora Directory community, >>> >>> After system upgrade is complete, I run yum install 389-ds to install >>> fedora directory server on Fedora 11. >>> >>> I don''t have db2bak or ldif2db command(or scripts). Did I miss some >>> packages? >>> >> They are not part of the package. They are generated from templates when >> you run setup-ds-admin.pl to create an instance of directory server. You >> can see the templates by doing >> rpm -ql 389-ds-base | grep template- >> >>> >>> Regards, >>> Michael >>> >>> -- >>> Michael Kang(康上明学) >>> There is a giant asleep within every man. When the giant awakens,miracles >>> happen. >>> >>> Personal blog: http://ufusion.org - United Fusion >>> ------------------------------------------------------------------------ >>> >>> -- >>> 389 users mailing list >>> 389-users@redhat.com >>> https://www.redhat.com/mailman/listinfo/fedora-directory-users >>> >>> >> >> >> >> -- >> 389 users mailing list >> 389-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > > -- > Michael Kang(康上明学) > There is a giant asleep within every man. When the giant awakens,miracles > happen. > > Personal blog: http://ufusion.org - United Fusion > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > -- > 389 users mailing list > 389-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users > >-- Michael Kang(康上明学) There is a giant asleep within every man. When the giant awakens,miracles happen. Personal blog: http://ufusion.org - United Fusion