This is my second upgrade to fedora-ds 1.1 on fedora-core 6. The config O/S install is the same. The first went great, no problem, but then after running setup-ds-admin.pl on the second server got: Are you ready to set up your servers? [yes]: Creating directory server . . . Your new DS instance ''p4ds03'' was successfully created. Creating the configuration directory server . . . Error: failed to open an LDAP connection to host ''p4ds03.mydomain.com'' port ''389'' as user ''cn=Directory Manager''. Error : unknown. Failed to create the configuration directory server Exiting . . . Log file is ''/tmp/setupHxsAmb.log'' In log file: /var/log/dirsrv/admin-serv/error : Configuration Failed [Wed Feb 06 10:00:01 2008] [warn] Unable to bind as LocalAdmin to populate LocalAdmin tasks into cache. [Wed Feb 06 10:00:01 2008] [notice] Access Host filter is: *.mydomain.com [Wed Feb 06 10:00:01 2008] [notice] Access Address filter is: * Tried to manually connect but got: [root@p4ds03 dirsrv]# ldapsearch -x -h p4ds03.mydomain.com -p 389 -D "cn=directory manager" -w "mypassword" -s base -b "" ldap_bind: Can''t contact LDAP server (-1) /var/log/dirsrv/slapd-p4ds03/errors: [06/Feb/2008:10:01:32 -0500] - slapd shutting down - signaling operation threads [06/Feb/2008:10:01:32 -0500] - slapd shutting down - waiting for 25 threads to terminate [06/Feb/2008:10:01:32 -0500] - slapd shutting down - closing down internal subsystems and plugins [06/Feb/2008:10:01:32 -0500] - Waiting for 4 database threads to stop [06/Feb/2008:10:01:32 -0500] - All database threads now stopped [06/Feb/2008:10:01:32 -0500] - slapd stopped. [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, pages: 518667, procpages: 6666 [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, import_pages: 51200, pagesize: 4096 [06/Feb/2008:10:02:43 -0500] - WARNING: Import is running with nsslapd-db-private-import-mem on; No other process is allowed to access the database [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, pages: 518667, procpages: 6666 [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, import_pages: 51200, pagesize: 4096 [06/Feb/2008:10:02:43 -0500] - import userRoot: Beginning import job... [06/Feb/2008:10:02:43 -0500] - import userRoot: Index buffering enabled with bucket size 100 [06/Feb/2008:10:02:43 -0500] - import userRoot: Processing file "/tmp/ldifXRKznG.ldif" [06/Feb/2008:10:02:43 -0500] - import userRoot: Finished scanning file "/tmp/ldifXRKznG.ldif" (9 entries) [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers finished; cleaning up... [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers cleaned up. [06/Feb/2008:10:02:44 -0500] - import userRoot: Cleaning up producer thread... [06/Feb/2008:10:02:44 -0500] - import userRoot: Indexing complete. Post-processing... [06/Feb/2008:10:02:44 -0500] - import userRoot: Flushing caches... [06/Feb/2008:10:02:44 -0500] - import userRoot: Closing files... [06/Feb/2008:10:02:44 -0500] - All database threads now stopped [06/Feb/2008:10:02:44 -0500] - import userRoot: Import complete. Processed 9 entries in 1 seconds. (9.00 entries/sec) [06/Feb/2008:10:02:44 -0500] - Fedora-Directory/1.1.0 B2007.354.1236 starting up [06/Feb/2008:10:02:44 -0500] - I''m resizing my cache now...cache was 209715200 and is now 8000000 [06/Feb/2008:10:02:44 -0500] - slapd started. Listening on All Interfaces port 389 for LDAP requests /var/log/dirsrv/slapd-p4ds03/access: [06/Feb/2008:10:00:40 -0500] conn=0 op=-1 fd=64 closed - B1 [06/Feb/2008:10:01:02 -0500] conn=1 fd=64 slot=64 connection from 10.188.49.54 to 10.188.135.186 [06/Feb/2008:10:01:02 -0500] conn=1 op=0 BIND dn="(null)" method=128 version=3 [06/Feb/2008:10:01:02 -0500] conn=1 op=0 RESULT err=32 tag=97 nentries=0 etime=0 [06/Feb/2008:10:01:08 -0500] conn=1 op=-1 fd=64 closed - B1 Any ideas before I give up and just upgrade to Fedora 8? Chris
Hendry, Chris wrote:> > This is my second upgrade to fedora-ds 1.1 on fedora-core 6. > The config O/S install is the same. > The first went great, no problem, but then after running > setup-ds-admin.pl on the second server got: > Are you ready to set up your servers? [yes]: > Creating directory server . . . > Your new DS instance ''p4ds03'' was successfully created. > Creating the configuration directory server . . . > Error: failed to open an LDAP connection to host ''p4ds03.mydomain.com'' > port ''389'' as user ''cn=Directory Manager''. Error > : unknown. > Failed to create the configuration directory server > Exiting . . . > Log file is ''/tmp/setupHxsAmb.log'' >/usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D "cn=directory manager" -w yourpassword -s base -b "" "objectclass=*" Does that display anything? If you get an error - is p4ds03.mydomain.com defined in DNS or /etc/hosts? If the former, do you have your DNS and /etc/resolv.conf settings correct? If the latter, do you have /etc/nsswitch.conf configured properly?> > > > In log file: /var/log/dirsrv/admin-serv/error : > Configuration Failed > [Wed Feb 06 10:00:01 2008] [warn] Unable to bind as LocalAdmin to > populate LocalAdmin tasks into cache. > [Wed Feb 06 10:00:01 2008] [notice] Access Host filter is: *.mydomain.com > [Wed Feb 06 10:00:01 2008] [notice] Access Address filter is: * > > Tried to manually connect but got: > > [root@p4ds03 dirsrv]# ldapsearch -x -h p4ds03.mydomain.com -p 389 -D > "cn=directory manager" -w “mypassword" -s base -b "" > ldap_bind: Can''t contact LDAP server (-1) > > > /var/log/dirsrv/slapd-p4ds03/errors: > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - signaling > operation threads > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - waiting for 25 > threads to terminate > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - closing down > internal subsystems and plugins > [06/Feb/2008:10:01:32 -0500] - Waiting for 4 database threads to stop > [06/Feb/2008:10:01:32 -0500] - All database threads now stopped > [06/Feb/2008:10:01:32 -0500] - slapd stopped. > [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, > pages: 518667, procpages: 6666 > [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k > [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, > import_pages: 51200, pagesize: 4096 > [06/Feb/2008:10:02:43 -0500] - WARNING: Import is running with > nsslapd-db-private-import-mem on; No other process is allowed to > access the database > [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, > pages: 518667, procpages: 6666 > [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k > [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, > import_pages: 51200, pagesize: 4096 > [06/Feb/2008:10:02:43 -0500] - import userRoot: Beginning import job... > [06/Feb/2008:10:02:43 -0500] - import userRoot: Index buffering > enabled with bucket size 100 > [06/Feb/2008:10:02:43 -0500] - import userRoot: Processing file > "/tmp/ldifXRKznG.ldif" > [06/Feb/2008:10:02:43 -0500] - import userRoot: Finished scanning file > "/tmp/ldifXRKznG.ldif" (9 entries) > [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers finished; > cleaning up... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers cleaned up. > [06/Feb/2008:10:02:44 -0500] - import userRoot: Cleaning up producer > thread... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Indexing complete. > Post-processing... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Flushing caches... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Closing files... > [06/Feb/2008:10:02:44 -0500] - All database threads now stopped > [06/Feb/2008:10:02:44 -0500] - import userRoot: Import complete. > Processed 9 entries in 1 seconds. (9.00 entries/sec) > [06/Feb/2008:10:02:44 -0500] - Fedora-Directory/1.1.0 B2007.354.1236 > starting up > [06/Feb/2008:10:02:44 -0500] - I''m resizing my cache now...cache was > 209715200 and is now 8000000 > [06/Feb/2008:10:02:44 -0500] - slapd started. Listening on All > Interfaces port 389 for LDAP requests > > > /var/log/dirsrv/slapd-p4ds03/access: > [06/Feb/2008:10:00:40 -0500] conn=0 op=-1 fd=64 closed - B1 > [06/Feb/2008:10:01:02 -0500] conn=1 fd=64 slot=64 connection from > 10.188.49.54 to 10.188.135.186 > [06/Feb/2008:10:01:02 -0500] conn=1 op=0 BIND dn="(null)" method=128 > version=3 > [06/Feb/2008:10:01:02 -0500] conn=1 op=0 RESULT err=32 tag=97 > nentries=0 etime=0 > [06/Feb/2008:10:01:08 -0500] conn=1 op=-1 fd=64 closed - B1 > > Any ideas before I give up and just upgrade to Fedora 8? > > Chris > > ------------------------------------------------------------------------ > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
If I execute the following on the actual ldap server: /usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D cn="directory manager" -w yourpassword -s base -b "" "objectclass=*" I get: ldap_bind: Can''t contact LDAP server (-1) p4ds03 is in DNS and resolf.conf properly configured, but as I stated above, I''m running the command on the actual server. -----Original Message----- From: Rich Megginson [mailto:rmeggins@redhat.com] Sent: Wednesday, February 06, 2008 3:44 PM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] Wierd failed install Hendry, Chris wrote:> > This is my second upgrade to fedora-ds 1.1 on fedora-core 6. > The config O/S install is the same. > The first went great, no problem, but then after running > setup-ds-admin.pl on the second server got: > Are you ready to set up your servers? [yes]: > Creating directory server . . . > Your new DS instance ''p4ds03'' was successfully created. > Creating the configuration directory server . . . > Error: failed to open an LDAP connection to host ''p4ds03.mydomain.com''> port ''389'' as user ''cn=Directory Manager''. Error > : unknown. > Failed to create the configuration directory server > Exiting . . . > Log file is ''/tmp/setupHxsAmb.log'' >/usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D "cn=directory manager" -w yourpassword -s base -b "" "objectclass=*" Does that display anything? If you get an error - is p4ds03.mydomain.com defined in DNS or /etc/hosts? If the former, do you have your DNS and /etc/resolv.conf settings correct? If the latter, do you have /etc/nsswitch.conf configured properly?> > > > In log file: /var/log/dirsrv/admin-serv/error : > Configuration Failed > [Wed Feb 06 10:00:01 2008] [warn] Unable to bind as LocalAdmin to > populate LocalAdmin tasks into cache. > [Wed Feb 06 10:00:01 2008] [notice] Access Host filter is:*.mydomain.com> [Wed Feb 06 10:00:01 2008] [notice] Access Address filter is: * > > Tried to manually connect but got: > > [root@p4ds03 dirsrv]# ldapsearch -x -h p4ds03.mydomain.com -p 389 -D > "cn=directory manager" -w "mypassword" -s base -b "" > ldap_bind: Can''t contact LDAP server (-1) > > > /var/log/dirsrv/slapd-p4ds03/errors: > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - signaling > operation threads > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - waiting for 25 > threads to terminate > [06/Feb/2008:10:01:32 -0500] - slapd shutting down - closing down > internal subsystems and plugins > [06/Feb/2008:10:01:32 -0500] - Waiting for 4 database threads to stop > [06/Feb/2008:10:01:32 -0500] - All database threads now stopped > [06/Feb/2008:10:01:32 -0500] - slapd stopped. > [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096,> pages: 518667, procpages: 6666 > [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k > [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, > import_pages: 51200, pagesize: 4096 > [06/Feb/2008:10:02:43 -0500] - WARNING: Import is running with > nsslapd-db-private-import-mem on; No other process is allowed to > access the database > [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096,> pages: 518667, procpages: 6666 > [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k > [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, > import_pages: 51200, pagesize: 4096 > [06/Feb/2008:10:02:43 -0500] - import userRoot: Beginning importjob...> [06/Feb/2008:10:02:43 -0500] - import userRoot: Index buffering > enabled with bucket size 100 > [06/Feb/2008:10:02:43 -0500] - import userRoot: Processing file > "/tmp/ldifXRKznG.ldif" > [06/Feb/2008:10:02:43 -0500] - import userRoot: Finished scanning file> "/tmp/ldifXRKznG.ldif" (9 entries) > [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers finished; > cleaning up... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers cleaned up. > [06/Feb/2008:10:02:44 -0500] - import userRoot: Cleaning up producer > thread... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Indexing complete. > Post-processing... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Flushing caches... > [06/Feb/2008:10:02:44 -0500] - import userRoot: Closing files... > [06/Feb/2008:10:02:44 -0500] - All database threads now stopped > [06/Feb/2008:10:02:44 -0500] - import userRoot: Import complete. > Processed 9 entries in 1 seconds. (9.00 entries/sec) > [06/Feb/2008:10:02:44 -0500] - Fedora-Directory/1.1.0 B2007.354.1236 > starting up > [06/Feb/2008:10:02:44 -0500] - I''m resizing my cache now...cache was > 209715200 and is now 8000000 > [06/Feb/2008:10:02:44 -0500] - slapd started. Listening on All > Interfaces port 389 for LDAP requests > > > /var/log/dirsrv/slapd-p4ds03/access: > [06/Feb/2008:10:00:40 -0500] conn=0 op=-1 fd=64 closed - B1 > [06/Feb/2008:10:01:02 -0500] conn=1 fd=64 slot=64 connection from > 10.188.49.54 to 10.188.135.186 > [06/Feb/2008:10:01:02 -0500] conn=1 op=0 BIND dn="(null)" method=128 > version=3 > [06/Feb/2008:10:01:02 -0500] conn=1 op=0 RESULT err=32 tag=97 > nentries=0 etime=0 > [06/Feb/2008:10:01:08 -0500] conn=1 op=-1 fd=64 closed - B1 > > Any ideas before I give up and just upgrade to Fedora 8? > > Chris > >------------------------------------------------------------------------> > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
Hendry, Chris wrote:> If I execute the following on the actual ldap server: > /usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D cn="directory > manager" -w yourpassword -s base -b "" "objectclass=*" > > I get: > ldap_bind: Can''t contact LDAP server (-1) > > p4ds03 is in DNS and resolf.conf properly configured, but as I stated > above, I''m running the command on the actual server. >Is your ds running? ps -ef|grep ns-slapd Is your ds listening to port 389? netstat -an | grep 389 Does ping p4ds03.mydomain.com work? Does nslookup p4ds03.mydomain.com work?> -----Original Message----- > From: Rich Megginson [mailto:rmeggins@redhat.com] > Sent: Wednesday, February 06, 2008 3:44 PM > To: General discussion list for the Fedora Directory server project. > Subject: Re: [Fedora-directory-users] Wierd failed install > > Hendry, Chris wrote: > >> This is my second upgrade to fedora-ds 1.1 on fedora-core 6. >> The config O/S install is the same. >> The first went great, no problem, but then after running >> setup-ds-admin.pl on the second server got: >> Are you ready to set up your servers? [yes]: >> Creating directory server . . . >> Your new DS instance ''p4ds03'' was successfully created. >> Creating the configuration directory server . . . >> Error: failed to open an LDAP connection to host ''p4ds03.mydomain.com'' >> > > >> port ''389'' as user ''cn=Directory Manager''. Error >> : unknown. >> Failed to create the configuration directory server >> Exiting . . . >> Log file is ''/tmp/setupHxsAmb.log'' >> >> > /usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D "cn=directory > manager" -w yourpassword -s base -b "" "objectclass=*" > > Does that display anything? If you get an error - is p4ds03.mydomain.com > > defined in DNS or /etc/hosts? If the former, do you have your DNS and > /etc/resolv.conf settings correct? If the latter, do you have > /etc/nsswitch.conf configured properly? > >> >> In log file: /var/log/dirsrv/admin-serv/error : >> Configuration Failed >> [Wed Feb 06 10:00:01 2008] [warn] Unable to bind as LocalAdmin to >> populate LocalAdmin tasks into cache. >> [Wed Feb 06 10:00:01 2008] [notice] Access Host filter is: >> > *.mydomain.com > >> [Wed Feb 06 10:00:01 2008] [notice] Access Address filter is: * >> >> Tried to manually connect but got: >> >> [root@p4ds03 dirsrv]# ldapsearch -x -h p4ds03.mydomain.com -p 389 -D >> "cn=directory manager" -w "mypassword" -s base -b "" >> ldap_bind: Can''t contact LDAP server (-1) >> >> >> /var/log/dirsrv/slapd-p4ds03/errors: >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - signaling >> operation threads >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - waiting for 25 >> threads to terminate >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - closing down >> internal subsystems and plugins >> [06/Feb/2008:10:01:32 -0500] - Waiting for 4 database threads to stop >> [06/Feb/2008:10:01:32 -0500] - All database threads now stopped >> [06/Feb/2008:10:01:32 -0500] - slapd stopped. >> [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, >> > > >> pages: 518667, procpages: 6666 >> [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k >> [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, >> import_pages: 51200, pagesize: 4096 >> [06/Feb/2008:10:02:43 -0500] - WARNING: Import is running with >> nsslapd-db-private-import-mem on; No other process is allowed to >> access the database >> [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize: 4096, >> > > >> pages: 518667, procpages: 6666 >> [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache: 204800k >> [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, >> import_pages: 51200, pagesize: 4096 >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Beginning import >> > job... > >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Index buffering >> enabled with bucket size 100 >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Processing file >> "/tmp/ldifXRKznG.ldif" >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Finished scanning file >> > > >> "/tmp/ldifXRKznG.ldif" (9 entries) >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers finished; >> cleaning up... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers cleaned up. >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Cleaning up producer >> thread... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Indexing complete. >> Post-processing... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Flushing caches... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Closing files... >> [06/Feb/2008:10:02:44 -0500] - All database threads now stopped >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Import complete. >> Processed 9 entries in 1 seconds. (9.00 entries/sec) >> [06/Feb/2008:10:02:44 -0500] - Fedora-Directory/1.1.0 B2007.354.1236 >> starting up >> [06/Feb/2008:10:02:44 -0500] - I''m resizing my cache now...cache was >> 209715200 and is now 8000000 >> [06/Feb/2008:10:02:44 -0500] - slapd started. Listening on All >> Interfaces port 389 for LDAP requests >> >> >> /var/log/dirsrv/slapd-p4ds03/access: >> [06/Feb/2008:10:00:40 -0500] conn=0 op=-1 fd=64 closed - B1 >> [06/Feb/2008:10:01:02 -0500] conn=1 fd=64 slot=64 connection from >> 10.188.49.54 to 10.188.135.186 >> [06/Feb/2008:10:01:02 -0500] conn=1 op=0 BIND dn="(null)" method=128 >> version=3 >> [06/Feb/2008:10:01:02 -0500] conn=1 op=0 RESULT err=32 tag=97 >> nentries=0 etime=0 >> [06/Feb/2008:10:01:08 -0500] conn=1 op=-1 fd=64 closed - B1 >> >> Any ideas before I give up and just upgrade to Fedora 8? >> >> Chris >> >> >> > ------------------------------------------------------------------------ > >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >
OK, thank you, found the problem, due to your questions. Yes, it is running and listening to port 389. But when I tried to ping the server p4ds03 on the server itself p4ds03, it 1st tried to ping using an older IP address. I had to change its IP address a day before. I made the change the ifcfg-eth0 file and in DNS, I did do a ifdown eth0 and ifup eth0, but there was still an entry in the arp cache with the older IP address. Thus I cleared it out with "arp -d p4ds03" and all works!!! Rich, thank you for your persistence!!!! Most grateful!!! Chris -----Original Message----- From: Rich Megginson [mailto:rmeggins@redhat.com] Sent: Thursday, February 07, 2008 9:51 AM To: General discussion list for the Fedora Directory server project. Subject: Re: [Fedora-directory-users] Wierd failed install Hendry, Chris wrote:> If I execute the following on the actual ldap server: > /usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D cn="directory > manager" -w yourpassword -s base -b "" "objectclass=*" > > I get: > ldap_bind: Can''t contact LDAP server (-1) > > p4ds03 is in DNS and resolf.conf properly configured, but as I stated > above, I''m running the command on the actual server. >Is your ds running? ps -ef|grep ns-slapd Is your ds listening to port 389? netstat -an | grep 389 Does ping p4ds03.mydomain.com work? Does nslookup p4ds03.mydomain.com work?> -----Original Message----- > From: Rich Megginson [mailto:rmeggins@redhat.com] > Sent: Wednesday, February 06, 2008 3:44 PM > To: General discussion list for the Fedora Directory server project. > Subject: Re: [Fedora-directory-users] Wierd failed install > > Hendry, Chris wrote: > >> This is my second upgrade to fedora-ds 1.1 on fedora-core 6. >> The config O/S install is the same. >> The first went great, no problem, but then after running >> setup-ds-admin.pl on the second server got: >> Are you ready to set up your servers? [yes]: >> Creating directory server . . . >> Your new DS instance ''p4ds03'' was successfully created. >> Creating the configuration directory server . . . >> Error: failed to open an LDAP connection to host''p4ds03.mydomain.com''>> > > >> port ''389'' as user ''cn=Directory Manager''. Error >> : unknown. >> Failed to create the configuration directory server >> Exiting . . . >> Log file is ''/tmp/setupHxsAmb.log'' >> >> > /usr/bin/ldapsearch -x -h p4ds03.mydomain.com -p 389 -D "cn=directory > manager" -w yourpassword -s base -b "" "objectclass=*" > > Does that display anything? If you get an error - isp4ds03.mydomain.com> > defined in DNS or /etc/hosts? If the former, do you have your DNS and > /etc/resolv.conf settings correct? If the latter, do you have > /etc/nsswitch.conf configured properly? > >> >> In log file: /var/log/dirsrv/admin-serv/error : >> Configuration Failed >> [Wed Feb 06 10:00:01 2008] [warn] Unable to bind as LocalAdmin to >> populate LocalAdmin tasks into cache. >> [Wed Feb 06 10:00:01 2008] [notice] Access Host filter is: >> > *.mydomain.com > >> [Wed Feb 06 10:00:01 2008] [notice] Access Address filter is: * >> >> Tried to manually connect but got: >> >> [root@p4ds03 dirsrv]# ldapsearch -x -h p4ds03.mydomain.com -p 389 -D >> "cn=directory manager" -w "mypassword" -s base -b "" >> ldap_bind: Can''t contact LDAP server (-1) >> >> >> /var/log/dirsrv/slapd-p4ds03/errors: >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - signaling >> operation threads >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - waiting for 25 >> threads to terminate >> [06/Feb/2008:10:01:32 -0500] - slapd shutting down - closing down >> internal subsystems and plugins >> [06/Feb/2008:10:01:32 -0500] - Waiting for 4 database threads to stop >> [06/Feb/2008:10:01:32 -0500] - All database threads now stopped >> [06/Feb/2008:10:01:32 -0500] - slapd stopped. >> [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize:4096,>> > > >> pages: 518667, procpages: 6666 >> [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache:204800k>> [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, >> import_pages: 51200, pagesize: 4096 >> [06/Feb/2008:10:02:43 -0500] - WARNING: Import is running with >> nsslapd-db-private-import-mem on; No other process is allowed to >> access the database >> [06/Feb/2008:10:02:43 -0500] - dblayer_instance_start: pagesize:4096,>> > > >> pages: 518667, procpages: 6666 >> [06/Feb/2008:10:02:43 -0500] - cache autosizing: import cache:204800k>> [06/Feb/2008:10:02:43 -0500] - li_import_cache_autosize: 50, >> import_pages: 51200, pagesize: 4096 >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Beginning import >> > job... > >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Index buffering >> enabled with bucket size 100 >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Processing file >> "/tmp/ldifXRKznG.ldif" >> [06/Feb/2008:10:02:43 -0500] - import userRoot: Finished scanningfile>> > > >> "/tmp/ldifXRKznG.ldif" (9 entries) >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers finished; >> cleaning up... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Workers cleaned up. >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Cleaning up producer >> thread... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Indexing complete. >> Post-processing... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Flushing caches... >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Closing files... >> [06/Feb/2008:10:02:44 -0500] - All database threads now stopped >> [06/Feb/2008:10:02:44 -0500] - import userRoot: Import complete. >> Processed 9 entries in 1 seconds. (9.00 entries/sec) >> [06/Feb/2008:10:02:44 -0500] - Fedora-Directory/1.1.0 B2007.354.1236 >> starting up >> [06/Feb/2008:10:02:44 -0500] - I''m resizing my cache now...cache was >> 209715200 and is now 8000000 >> [06/Feb/2008:10:02:44 -0500] - slapd started. Listening on All >> Interfaces port 389 for LDAP requests >> >> >> /var/log/dirsrv/slapd-p4ds03/access: >> [06/Feb/2008:10:00:40 -0500] conn=0 op=-1 fd=64 closed - B1 >> [06/Feb/2008:10:01:02 -0500] conn=1 fd=64 slot=64 connection from >> 10.188.49.54 to 10.188.135.186 >> [06/Feb/2008:10:01:02 -0500] conn=1 op=0 BIND dn="(null)" method=128 >> version=3 >> [06/Feb/2008:10:01:02 -0500] conn=1 op=0 RESULT err=32 tag=97 >> nentries=0 etime=0 >> [06/Feb/2008:10:01:08 -0500] conn=1 op=-1 fd=64 closed - B1 >> >> Any ideas before I give up and just upgrade to Fedora 8? >> >> Chris >> >> >> >------------------------------------------------------------------------> >> -- >> Fedora-directory-users mailing list >> Fedora-directory-users@redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-directory-users >> >> > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users >