[Date Prev][Date Next] [Chronological] [Thread] [Top]

Resource temporarily unavailable Problem.



hello,
when I run slapcat this return:
 
dn: ou=groups, dc=sunset , dc=ce , dc=sharif , dc=edu
objectClass: top
objectClass: organizationalUnit
ou: groups
 
dn: ou=people, dc=sunset , dc=ce , dc=sharif , dc=edu
objectClass: top
objectClass: organizationalUnit
ou: people
 
dn: cn=mehdi jabalameli, ou=people, dc=sunset , dc=ce , dc=sharif , dc=edu
cn: mehdi jabalameli
sn: jablameli
objectClass: top
objectClass: person
 
but when I run slapd and then run
ldapsearch 'cn=mehdi' -x
its returns:
 
# search result
search: 2
result: 32 No such object
 
and slapd daemon returns following :
 
daemon: new connection on 12
daemon: conn=2 fd=12 connection from IP=127.0.0.1:32858 (IP=0.0.0.0:34049)
accepted.
daemon: added 12r
daemon: activity on:
daemon: select: listen=9 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 12r
daemon: read activity on 12
connection_get(12)
connection_get(12): got connid=2
connection_read(12): checking for input on id=2
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  0c                                                 .
ldap_read: want=12, got=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x080d9040 ptr=0x080d9040 end=0x080d904c len=12
  0000:  02 01 01 60 07 02 01 03  04 00 80 00               ...`........
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({iat) ber:
ber_dump: buf=0x080d9040 ptr=0x080d9043 end=0x080d904c len=9
  0000:  60 07 02 01 03 04 00 80  00                        `........
ber_scanf fmt (o}) ber:
ber_dump: buf=0x080d9040 ptr=0x080d904a end=0x080d904c len=2
  0000:  80 00                                              ..
do_bind: version=3 dn="" method=128
conn=2 op=0 BIND dn="" method=128
daemon: select: listen=9 active_threads=1 tvp=NULL
send_ldap_result: conn=2 op=0 p=3
send_ldap_result: 0::
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 12
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
conn=2 op=0 RESULT tag=97 err=0 text=
daemon: activity on 1 descriptors
daemon: activity on: 12r
daemon: read activity on 12
connection_get(12)
connection_get(12): got connid=2
connection_read(12): checking for input on id=2
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  25                                                 %
ldap_read: want=37, got=37
  0000:  02 01 02 63 20 04 00 0a  01 02 0a 01 00 02 01 00   ...c
...........
  0010:  02 01 00 01 01 00 a3 0b  04 02 63 6e 04 05 6d 65
..........cn..me
  0020:  68 64 69 30 00                                     hdi0.
ber_get_next: tag 0x30 len 37 contents:
ber_dump: buf=0x080d9160 ptr=0x080d9160 end=0x080d9185 len=37
  0000:  02 01 02 63 20 04 00 0a  01 02 0a 01 00 02 01 00   ...c
...........
  0010:  02 01 00 01 01 00 a3 0b  04 02 63 6e 04 05 6d 65
..........cn..me
  0020:  68 64 69 30 00                                     hdi0.
deferring operation
do_bind: v3 anonymous bind
ber_get_next
ldap_read: want=1 error=Resource temporarily unavailable
ber_get_next on fd 12 failed errno=11 (Resource temporarily unavailable)
daemon: select: listen=9 active_threads=2 tvp=NULL
do_search
ber_scanf fmt ({aiiiib) ber:
ber_dump: buf=0x080d9160 ptr=0x080d9163 end=0x080d9185 len=34
  0000:  63 20 04 00 0a 01 02 0a  01 00 02 01 00 02 01 00   c
..............
  0010:  01 01 00 a3 0b 04 02 63  6e 04 05 6d 65 68 64 69
.......cn..mehdi
  0020:  30 00                                              0.
SRCH "" 2 0    0 0 0
begin get_filter
EQUALITY
ber_scanf fmt ({oo}) ber:
ber_dump: buf=0x080d9160 ptr=0x080d9176 end=0x080d9185 len=15
  0000:  a3 0b 04 02 63 6e 04 05  6d 65 68 64 69 30 00      ....cn..mehdi0.
end get_filter 0
    filter: (cn=mehdi)
ber_scanf fmt ({v}}) ber:
ber_dump: buf=0x080d9160 ptr=0x080d9183 end=0x080d9185 len=2
  0000:  30 00                                              0.
    attrs:
conn=2 op=1 SRCH base="" scope=2 filter="(cn=mehdi)"
send_ldap_result: conn=2 op=1 p=3
send_ldap_result: 10::
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 12
  0000:  30 0c 02 01 02 65 07 0a  01 20 04 00 04 00         0....e... ....
ldap_write: want=14, written=14
  0000:  30 0c 02 01 02 65 07 0a  01 20 04 00 04 00         0....e... ....
conn=2 op=1 RESULT tag=101 err=32 text=
daemon: activity on 1 descriptors
daemon: activity on: 12r
daemon: read activity on 12
connection_get(12)
connection_get(12): got connid=2
connection_read(12): checking for input on id=2
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0
ldap_read: want=1, got=1
  0000:  05                                                 .
ldap_read: want=5, got=5
  0000:  02 01 03 42 00                                     ...B.
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf=0x080d9060 ptr=0x080d9060 end=0x080d9065 len=5
  0000:  02 01 03 42 00                                     ...B.
ber_get_next
ldap_read: want=1, got=0
 
ber_get_next on fd 12 failed errno=0 (Success)
connection_read(12): input error=-2 id=2, closing.
connection_closing: readying conn=2 sd=12 for close
connection_close: deferring conn=2 sd=12
connection_resched: attempting closing conn=2 sd=12
connection_close: deferring conn=2 sd=12
daemon: select: listen=9 active_threads=2 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=9 active_threads=2 tvp=NULL
do_unbind
conn=2 op=2 UNBIND
connection_resched: attempting closing conn=2 sd=12
connection_close: conn=2 sd=12
daemon: removing 12
conn=-1 fd=12 closed
 
would you told me how can I resolve this problem?