On 10/10/2017 12:36 PM, Trevor Fong wrote:
> Hi Mark and Michael,
>
> Thanks a lot for your replies.
> I've run the setup-ds.pl <http://setup-ds.pl/> (and also
> tried setup-ds-admin.pl <http://setup-ds-admin.pl/>),
> /etc/dirsrv/slapd-<instance>/schema only contains 99user.ldif.
> /usr/share/dirsrv/schema does indeed contain all the default schema
> files, but it doesn't look like they're copied to the instance schema dir.
Correct, the core schema stays in /usr/share/dirsrv/schema, while custom
schema is in the instance directory.

Are you running into problems?
>
> Trev 
>
> On 10 October 2017 at 08:19, Mark Reynolds <marey...@redhat.com
> <mailto:marey...@redhat.com>> wrote:
>
>
>
>     On 10/10/2017 11:13 AM, Trevor Fong wrote:
>     > Hi Everyone,
>     >
>     > I just did a new install and it looks like no schema files were
>     included with it?
>     > I seem to remember that previously, included schema files would
>     be in /etc/dirsrv/schema and would get copied into any new
>     instances that were set up.
>     > However with this install /etc/dirsrv/schema/ only contained
>     99user.ldif
>     > Am I missing something?
>     Things were changed for the "core" server schema.  It should be in
>     /usr/share/dirsrv/schema
>     >
>     > Thanks a lot,
>     > Trev
>     >
>     > Here’s what I did:
>     >
>     > [root@eldapdch1 tfong]# uname -a
>     > Linux eldapdch1 3.10.0-693.2.2.el7.x86_64 #1 SMP Sat Sep 9
>     03:55:24 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
>     > [root@eldapdch1 etc]# yum install 389-ds
>     > Loaded plugins: rhnplugin, search-disabled-repos
>     > This system is receiving updates from RHN Classic or Red Hat
>     Satellite.
>     > Resolving Dependencies
>     > --> Running transaction check
>     > ---> Package 389-ds.noarch 0:1.2.2-6.el7 will be installed
>     > --> Processing Dependency: 389-dsgw for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-ds-console-doc for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-ds-console for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-ds-base for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-console for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-admin-console-doc for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-admin-console for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Processing Dependency: 389-admin for package:
>     389-ds-1.2.2-6.el7.noarch
>     > --> Running transaction check
>     > ---> Package 389-admin.x86_64 0:1.1.46-1.el7 will be installed
>     > --> Processing Dependency: libadmsslutil.so.0()(64bit) for
>     package: 389-admin-1.1.46-1.el7.x86_64
>     > --> Processing Dependency: libadminutil.so.0()(64bit) for
>     package: 389-admin-1.1.46-1.el7.x86_64
>     > ---> Package 389-admin-console.noarch 0:1.1.12-1.el7 will be
>     installed
>     > ---> Package 389-admin-console-doc.noarch 0:1.1.12-1.el7 will be
>     installed
>     > ---> Package 389-console.noarch 0:1.1.18-1.el7 will be installed
>     > ---> Package 389-ds-base.x86_64 0:1.3.6.1-19.el7_4 will be installed
>     > --> Processing Dependency: 389-ds-base-libs = 1.3.6.1-19.el7_4
>     for package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
>     > --> Processing Dependency: libnunc-stans.so.0()(64bit) for
>     package: 389-ds-base-1.3.6.1-19.el7_4.x86_64
>     > --> Processing Dependency: libsds.so.0()(64bit) for package:
>     389-ds-base-1.3.6.1-19.el7_4.x86_64
>     > --> Processing Dependency: libns-dshttpd-1.3.6.1.so
>     <http://libns-dshttpd-1.3.6.1.so>()(64bit) for package:
>     389-ds-base-1.3.6.1-19.el7_4.x86_64
>     > --> Processing Dependency: libslapd.so.0()(64bit) for package:
>     389-ds-base-1.3.6.1-19.el7_4.x86_64
>     > ---> Package 389-ds-console.noarch 0:1.2.16-1.el7 will be installed
>     > ---> Package 389-ds-console-doc.noarch 0:1.2.16-1.el7 will be
>     installed
>     > ---> Package 389-dsgw.x86_64 0:1.1.11-5.el7 will be installed
>     > --> Running transaction check
>     > ---> Package 389-adminutil.x86_64 0:1.1.21-2.el7 will be installed
>     > ---> Package 389-ds-base-libs.x86_64 0:1.3.6.1-19.el7_4 will be
>     installed
>     > --> Finished Dependency Resolution
>     >
>     > Dependencies Resolved
>     >
>     >
>     
> =========================================================================================================================================================================================================
>     > Package                                              Arch       
>                               Version                                 
>               Repository                                           Size
>     >
>     
> =========================================================================================================================================================================================================
>     > Installing:
>     > 389-ds                                               noarch     
>                               1.2.2-6.el7                             
>               epel                                                 11 k
>     > Installing for dependencies:
>     > 389-admin                                            x86_64     
>                               1.1.46-1.el7                           
>                epel                                                391 k
>     > 389-admin-console                                    noarch     
>                               1.1.12-1.el7                           
>                epel                                                204 k
>     > 389-admin-console-doc                                noarch     
>                               1.1.12-1.el7                           
>                epel                                                 45 k
>     > 389-adminutil                                        x86_64     
>                               1.1.21-2.el7                           
>                epel                                                 73 k
>     > 389-console                                          noarch     
>                               1.1.18-1.el7                           
>                epel                                                 75 k
>     > 389-ds-base                                          x86_64     
>                               1.3.6.1-19.el7_4                       
>                rhel-x86_64-server-7                                1.7 M
>     > 389-ds-base-libs                                     x86_64     
>                               1.3.6.1-19.el7_4                       
>                rhel-x86_64-server-7                                678 k
>     > 389-ds-console                                       noarch     
>                               1.2.16-1.el7                           
>                epel                                                1.4 M
>     > 389-ds-console-doc                                   noarch     
>                               1.2.16-1.el7                           
>                epel                                                 57 k
>     > 389-dsgw                                             x86_64     
>                               1.1.11-5.el7                           
>                epel                                                513 k
>     >
>     > Transaction Summary
>     >
>     
> =========================================================================================================================================================================================================
>     > Install  1 Package (+10 Dependent packages)
>     >
>     > Total download size: 5.1 M
>     > Installed size: 14 M
>     > Is this ok [y/d/N]: y
>     > Downloading packages:
>     > (7/11): 389-ds-base-1.3.6.1-19.el7_4.x86_64.rpm                 
>                                                                      
>                                                    | 1.7 MB  00:00:00
>     > (8/11): 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64.rpm           
>                                                                      
>                                                     | 678 kB  00:00:00
>     > (1/9): 389-admin-1.1.46-1.el7.x86_64.rpm                       
>                                                                      
>                                                     | 391 kB  00:00:00
>     > (2/9): 389-admin-console-1.1.12-1.el7.noarch.rpm               
>                                                                      
>                                                     | 204 kB  00:00:00
>     > (3/9): 389-admin-console-doc-1.1.12-1.el7.noarch.rpm           
>                                                                      
>                                                     |  45 kB  00:00:00
>     > (4/9): 389-adminutil-1.1.21-2.el7.x86_64.rpm                   
>                                                                      
>                                                     |  73 kB  00:00:00
>     > (5/9): 389-console-1.1.18-1.el7.noarch.rpm                     
>                                                                      
>                                                     |  75 kB  00:00:00
>     > (6/9): 389-ds-1.2.2-6.el7.noarch.rpm                           
>                                                                      
>                                                     |  11 kB  00:00:00
>     > (7/9): 389-ds-console-1.2.16-1.el7.noarch.rpm                   
>                                                                      
>                                                    | 1.4 MB  00:00:02
>     > (8/9): 389-ds-console-doc-1.2.16-1.el7.noarch.rpm               
>                                                                      
>                                                    |  57 kB  00:00:00
>     > (9/9): 389-dsgw-1.1.11-5.el7.x86_64.rpm                         
>                                                                      
>                                                    | 513 kB  00:00:00
>     >
>     
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>     > Total                                                           
>                                                                      
>                                           842 kB/s | 5.1 MB  00:00:06
>     > Running transaction check
>     > Running transaction test
>     > Transaction test succeeded
>     > Running transaction
>     >   Installing : 389-adminutil-1.1.21-2.el7.x86_64               
>                                                                      
>                                                                       1/11
>     >   Installing : 389-console-1.1.18-1.el7.noarch                 
>                                                                      
>                                                                       2/11
>     >   Installing : 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64         
>                                                                      
>                                                                      3/11
>     >   Installing : 389-ds-base-1.3.6.1-19.el7_4.x86_64             
>                                                                      
>                                                                       4/11
>     >   Installing : 389-admin-1.1.46-1.el7.x86_64                   
>                                                                      
>                                                                       5/11
>     >   Installing : 389-admin-console-1.1.12-1.el7.noarch           
>                                                                      
>                                                                       6/11
>     >   Installing : 389-ds-console-1.2.16-1.el7.noarch               
>                                                                      
>                                                                      7/11
>     >   Installing : 389-ds-console-doc-1.2.16-1.el7.noarch           
>                                                                      
>                                                                      8/11
>     >   Installing : 389-admin-console-doc-1.1.12-1.el7.noarch       
>                                                                      
>                                                                       9/11
>     >   Installing : 389-dsgw-1.1.11-5.el7.x86_64                     
>                                                                      
>                                                                     10/11
>     >   Installing : 389-ds-1.2.2-6.el7.noarch                       
>                                                                      
>                                                                      11/11
>     >   Verifying  : 389-adminutil-1.1.21-2.el7.x86_64               
>                                                                      
>                                                                       1/11
>     >   Verifying  : 389-dsgw-1.1.11-5.el7.x86_64                     
>                                                                      
>                                                                      2/11
>     >   Verifying  : 389-admin-console-doc-1.1.12-1.el7.noarch       
>                                                                      
>                                                                       3/11
>     >   Verifying  : 389-ds-console-doc-1.2.16-1.el7.noarch           
>                                                                      
>                                                                      4/11
>     >   Verifying  : 389-ds-base-1.3.6.1-19.el7_4.x86_64             
>                                                                      
>                                                                       5/11
>     >   Verifying  : 389-admin-console-1.1.12-1.el7.noarch           
>                                                                      
>                                                                       6/11
>     >   Verifying  : 389-ds-base-libs-1.3.6.1-19.el7_4.x86_64         
>                                                                      
>                                                                      7/11
>     >   Verifying  : 389-ds-1.2.2-6.el7.noarch                       
>                                                                      
>                                                                       8/11
>     >   Verifying  : 389-ds-console-1.2.16-1.el7.noarch               
>                                                                      
>                                                                      9/11
>     >   Verifying  : 389-admin-1.1.46-1.el7.x86_64                   
>                                                                      
>                                                                      10/11
>     >   Verifying  : 389-console-1.1.18-1.el7.noarch                 
>                                                                      
>                                                                      11/11
>     >
>     > Installed:
>     >   389-ds.noarch 0:1.2.2-6.el7
>     >
>     > Dependency Installed:
>     >   389-admin.x86_64 0:1.1.46-1.el7                 
>      389-admin-console.noarch 0:1.1.12-1.el7         
>     389-admin-console-doc.noarch 0:1.1.12-1.el7         
>     389-adminutil.x86_64 0:1.1.21-2.el7
>     >   389-console.noarch 0:1.1.18-1.el7               
>      389-ds-base.x86_64 0:1.3.6.1-19.el7_4           
>     389-ds-base-libs.x86_64 0:1.3.6.1-19.el7_4         
>      389-ds-console.noarch 0:1.2.16-1.el7
>     >   389-ds-console-doc.noarch 0:1.2.16-1.el7         
>     389-dsgw.x86_64 0:1.1.11-5.el7
>     >
>     > Complete!
>     > [root@eldapdch1 etc]# cd /etc/dirsrv/
>     > [root@eldapdch1 dirsrv]# ll
>     > total 4
>     > drwx------. 2 dirsrv root 4096 Oct  6 14:52 admin-serv
>     > drwxr-xr-x. 2 root   root   79 Oct  6 14:52 config
>     > drwxr-xr-x. 2 root   root   28 Oct  6 14:53 dsgw
>     > drwxr-xr-x. 2 root   root   24 Oct  6 14:52 schema
>     > [root@eldapdch1 dirsrv]# cd schema/
>     > [root@eldapdch1 schema]# ll
>     > total 4
>     > -rw-r--r--. 1 root root 291 Aug 22 06:32 99user.ldif
>     > _______________________________________________
>     > 389-users mailing list -- 389-users@lists.fedoraproject.org
>     <mailto:389-users@lists.fedoraproject.org>
>     > To unsubscribe send an email to
>     389-users-le...@lists.fedoraproject.org
>     <mailto:389-users-le...@lists.fedoraproject.org>
>
>
>
>
> _______________________________________________
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org

_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org

Reply via email to