[Fedora-directory-users] Wierd failed install

Rich Megginson rmeggins at redhat.com
Thu Feb 7 14:51:20 UTC 2008


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 at 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 at 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 at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>   
>>     
>
>
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20080207/51725262/attachment.bin>


More information about the 389-users mailing list