The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  ВХОД  слежка  RSS
"slapd перестал слушает сеть на 389 порту"
Вариант для распечатки  
Пред. тема | След. тема 
Форумы OpenNET: Виртуальная конференция (Public)
Изначальное сообщение [Проследить за развитием треда]

"slapd перестал слушает сеть на 389 порту" 
Сообщение от vl409 emailИскать по авторуВ закладки(ok) on 16-Май-05, 09:54  (MSK)
slapd перестал слушает сеть на 389 порту

Проблема такая:

Есть openldap2-2.2.15-5.1 на SuSe 9.2

Всё нормально работало до некоторого момента. Потому почему-то
при запуске slapd перестал слушать сеть. Вообще. 389 порт
закрыт. Ошибок при этом никаких не выдавалось(даже
при максимальном уровне дебага). Я рестартанул slapd,
потом сервер, никаких изменений.

Посмотрел strace`ом: вроде бы сокет создаётся и bind возвращает
успешный результат:

...
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(7, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
...

{serv}[root@~]# ps -e|grep slap
7609 ?        00:00:00 slapd
{serv}[root@~]# telnet localhost 389
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
{serv}[root@~]# telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.99-OpenSSH_3.9p1
^X
Connection closed by foreign host.
{serv}[root@~]#

Кто-нибудь может объяснить что вообще происходит и что делать ?
Что-нибудь я ещё могу проверить?

  Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

 Оглавление

Индекс форумов | Темы | Пред. тема | След. тема
Сообщения по теме

1. "slapd перестал слушает сеть на 389 порту" 
Сообщение от bass Искать по авторуВ закладки(??) on 16-Май-05, 12:38  (MSK)
>slapd перестал слушает сеть на 389 порту
>
>Проблема такая:
>
>Есть openldap2-2.2.15-5.1 на SuSe 9.2
>
>Всё нормально работало до некоторого момента. Потому почему-то
>при запуске slapd перестал слушать сеть. Вообще. 389 порт
>закрыт. Ошибок при этом никаких не выдавалось(даже
>при максимальном уровне дебага). Я рестартанул slapd,
>потом сервер, никаких изменений.
>
>Посмотрел strace`ом: вроде бы сокет создаётся и bind возвращает
>успешный результат:
>
>...
>socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
>setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
>bind(7, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
>...
>
>{serv}[root@~]# ps -e|grep slap
> 7609 ?        00:00:00 slapd
>
>{serv}[root@~]# telnet localhost 389
>Trying 127.0.0.1...
>telnet: connect to address 127.0.0.1: Connection refused
>Trying ::1...
>telnet: connect to address ::1: Connection refused
>{serv}[root@~]# telnet localhost 22
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>SSH-1.99-OpenSSH_3.9p1
>^X
>Connection closed by foreign host.
>{serv}[root@~]#
>
>Кто-нибудь может объяснить что вообще происходит и что делать ?
>Что-нибудь я ещё могу проверить?


slapd -d 16383

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх

2. "slapd перестал слушает сеть на 389 порту" 
Сообщение от vl409 emailИскать по авторуВ закладки(ok) on 17-Май-05, 13:43  (MSK)
>> slapd -d 16383
это я так понял тоже самое что и Loglevel -1 в конфиге.

Вот оно:

========================================================
May 17 15:20:04 mail slapd[13449]: @(#) $OpenLDAP: slapd 2.2.15 (Dec  7 2004 12:08:05) $ abuild@boltzmann:/usr/src/packages/BUILD/openldap-2.2.15/servers/slapd
May 17 15:20:04 mail slapd[13449]: bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (October  5, 2004)
May 17 15:20:04 mail slapd[13449]: line 30 (allow bind_v2)
May 17 15:20:04 mail slapd[13449]: line 47 (defaultsearchbase "dc=mail,dc=vc,dc=lan")
May 17 15:20:04 mail slapd[13449]: >>> dnPrettyNormal: <dc=mail,dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: <<< dnPrettyNormal: <dc=mail,dc=vc,dc=lan>, <dc=mail,dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: line 48 (database bdb)
May 17 15:20:04 mail slapd[13449]: bdb_db_init: Initializing bdb database
May 17 15:20:04 mail slapd[13449]: line 49 (suffix "dc=mail, dc=vc,dc=lan")
May 17 15:20:04 mail slapd[13449]: >>> dnPrettyNormal: <dc=mail, dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: <<< dnPrettyNormal: <dc=mail,dc=vc,dc=lan>, <dc=mail,dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: line 52 (include   /etc/openldap/mail.vc.lan.access)
May 17 15:20:04 mail slapd[13449]: reading config file /etc/openldap/mail.vc.lan.access
May 17 15:20:04 mail slapd[13449]: line 4 (rootdn "cn=ldapadmin, dc=mail, dc=vc,dc=lan")
May 17 15:20:04 mail slapd[13449]: >>> dnPrettyNormal: <cn=ldapadmin, dc=mail, dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: <<< dnPrettyNormal: <cn=ldapadmin,dc=mail,dc=vc,dc=lan>, <cn=ldapadmin,dc=mail,dc=vc,dc=lan>
May 17 15:20:04 mail slapd[13449]: line 5 (rootpw ***)
May 17 15:20:04 mail slapd[13449]: line 57 (directory /var/lib/ldap/mail-vc)
May 17 15:20:04 mail slapd[13449]: line 61 (index uid eq)
May 17 15:20:04 mail slapd[13449]: index uid 0x0004
May 17 15:20:04 mail slapd[13449]: line 63 (index cn,gn,mail eq,sub)
May 17 15:20:04 mail slapd[13449]: index cn 0x0714
May 17 15:20:04 mail slapd[13449]: index givenName 0x0714
May 17 15:20:04 mail slapd[13449]: index mail 0x0714
May 17 15:20:04 mail slapd[13449]: line 65 (index sn eq,sub,subany,subfinal)
May 17 15:20:04 mail slapd[13449]: index sn 0x0714
May 17 15:20:04 mail slapd[13449]: line 67 (index ou eq)
May 17 15:20:04 mail slapd[13449]: index ou 0x0004
May 17 15:20:04 mail slapd[13449]: line 69 (index default eq,sub)
May 17 15:20:04 mail slapd[13449]: line 71 (index telephonenumber)
May 17 15:20:04 mail slapd[13449]: index telephoneNumber 0x0714
May 17 15:20:04 mail slapd[13449]: line 72 (index objectClass eq )
May 17 15:20:04 mail slapd[13449]: index objectClass 0x0004
May 17 15:20:04 mail slapd[13449]: line 76 (cachesize 10000)
May 17 15:20:04 mail slapd[13449]: line 77 (checkpoint 128 15)
May 17 15:20:04 mail slapd[13449]: line 79 (dirtyread)
May 17 15:20:04 mail slapd[13449]: line 80 (searchstack 10)
May 17 15:20:04 mail slapd[13449]: matching_rule_use_init
May 17 15:20:04 mail slapd[13449]:     1.2.840.113556.1.4.804 (integerBitOrMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 1.2.840.113556.1.4.804 NAME 'integerBitOrMatch' APPLIES ( qlaMailSizeMax $ qlaMailQuotaCount $ qlaMailQuotaSize $ qlaQmailGid $ qlaQmailUid $ mailSizeMax $ mailQuotaCount $ mailQuotaSize $ qmailGID $ qmailUID $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
May 17 15:20:04 mail slapd[13449]:     1.2.840.113556.1.4.803 (integerBitAndMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 1.2.840.113556.1.4.803 NAME 'integerBitAndMatch' APPLIES ( qlaMailSizeMax $ qlaMailQuotaCount $ qlaMailQuotaSize $ qlaQmailGid $ qlaQmailUid $ mailSizeMax $ mailQuotaCount $ mailQuotaSize $ qmailGID $ qmailUID $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
May 17 15:20:04 mail slapd[13449]:     1.3.6.1.4.1.1466.109.114.2 (caseIgnoreIA5Match):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.2 NAME 'caseIgnoreIA5Match' APPLIES ( defaultdelivery $ virtualdomainuser $ virtualdomain $ mailsource $ maildrop $ quota $ mailbox $ qlaMailHostList $ qlaMailMStorePrefix $ qlaUidPrefix $ qlaDomainList $ filtersender $ rfc822sender $ rfc822moderator $ filtermember $ rfc822member $ accountStatus $ deliveryMode $ qmailDotMode $ deliveryProgramPath $ mailForwardingAddress $ mailHost $ mailAlternateAddress $ mailMessageStore $ nisMapEntry $ bootFile $ macAddress $ ipNetmaskNumber $ ipNetworkNumber $ ipHostNumber $ memberNisNetgroup $ memberUid $ loginShell $ homeDirectory $ gecos $ janetMailbox $ cNAMERecord $ sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $ associatedDomain $ dc $ mail $ altServer ) )
May 17 15:20:04 mail slapd[13449]:     1.3.6.1.4.1.1466.109.114.1 (caseExactIA5Match):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 1.3.6.1.4.1.1466.109.114.1 NAME 'caseExactIA5Match' APPLIES ( defaultdelivery $ virtualdomainuser $ virtualdomain $ mailsource $ maildrop $ quota $ mailbox $ qlaMailHostList $ qlaMailMStorePrefix $ qlaUidPrefix $ qlaDomainList $ filtersender $ rfc822sender $ rfc822moderator $ filtermember $ rfc822member $ accountStatus $ deliveryMode $ qmailDotMode $ deliveryProgramPath $ mailForwardingAddress $ mailHost $ mailAlternateAddress $ mailMessageStore $ nisMapEntry $ bootFile $ macAddress $ ipNetmaskNumber $ ipNetworkNumber $ ipHostNumber $ memberNisNetgroup $ memberUid $ loginShell $ homeDirectory $ gecos $ janetMailbox $ cNAMERecord $ sOARecord $ nSRecord $ mXRecord $ mDRecord $ aRecord $ email $ associatedDomain $ dc $ mail $ altServer ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.35 (certificateMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.35 NAME 'certificateMatch' APPLIES ( cACertificate $ userCertificate ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.34 (certificateExactMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.34 NAME 'certificateExactMatch' APPLIES ( cACertificate $ userCertificate ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.30 (objectIdentifierFirstComponentMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.30 NAME 'objectIdentifierFirstComponentMatch' APPLIES ( supportedApplicationContext $ ldapSyntaxes $ supportedFeatures $ supportedExtension $ supportedControl ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.29 (integerFirstComponentMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.29 NAME 'integerFirstComponentMatch' APPLIES ( qlaMailSizeMax $ qlaMailQuotaCount $ qlaMailQuotaSize $ qlaQmailGid $ qlaQmailUid $ mailSizeMax $ mailQuotaCount $ mailQuotaSize $ qmailGID $ qmailUID $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.27 (generalizedTimeMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.27 NAME 'generalizedTimeMatch' APPLIES ( modifyTimestamp $ createTimestamp ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.24 (protocolInformationMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.24 NAME 'protocolInformationMatch' APPLIES protocolInformation )
May 17 15:20:04 mail slapd[13449]:     2.5.13.23 (uniqueMemberMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.23 NAME 'uniqueMemberMatch' APPLIES uniqueMember )
May 17 15:20:04 mail slapd[13449]:     2.5.13.22 (presentationAddressMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.22 NAME 'presentationAddressMatch' APPLIES presentationAddress )
May 17 15:20:04 mail slapd[13449]:     2.5.13.20 (telephoneNumberMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.20 NAME 'telephoneNumberMatch' APPLIES ( pager $ mobile $ homePhone $ telephoneNumber ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.17 (octetStringMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.17 NAME 'octetStringMatch' APPLIES ( clearPassword $ userPassword ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.16 (bitStringMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.16 NAME 'bitStringMatch' APPLIES x500UniqueIdentifier )
May 17 15:20:04 mail slapd[13449]:     2.5.13.14 (integerMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.14 NAME 'integerMatch' APPLIES ( qlaMailSizeMax $ qlaMailQuotaCount $ qlaMailQuotaSize $ qlaQmailGid $ qlaQmailUid $ mailSizeMax $ mailQuotaCount $ mailQuotaSize $ qmailGID $ qmailUID $ oncRpcNumber $ ipProtocolNumber $ ipServicePort $ shadowFlag $ shadowExpire $ shadowInactive $ shadowWarning $ shadowMax $ shadowMin $ shadowLastChange $ gidNumber $ uidNumber $ mailPreferenceOption $ supportedLDAPVersion ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.13 (booleanMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.13 NAME 'booleanMatch' APPLIES ( membersonly $ senderconfirm $ hasSubordinates ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.11 (caseIgnoreListMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.11 NAME 'caseIgnoreListMatch' APPLIES ( homePostalAddress $ registeredAddress $ postalAddress ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.8 (numericStringMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.8 NAME 'numericStringMatch' APPLIES ( qmailAccountPurge $ internationaliSDNNumber $ x121Address ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.7 (caseExactSubstringsMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.7 NAME 'caseExactSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.6 (caseExactOrderingMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.6 NAME 'caseExactOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.5 (caseExactMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.5 NAME 'caseExactMatch' APPLIES ( moderatortext $ confirmtext $ mailReplyText $ nisMapName $ ipServiceProtocol $ preferredLanguage $ employeeType $ employeeNumber $ displayName $ departmentNumber $ carLicense $ documentPublisher $ buildingName $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle $ documentLocation $ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ dmdName $ houseIdentifier $ dnQualifier $ generationQualifier $ initials $ givenName $ destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $ businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $ sn $ knowledgeInformation $ labeledURI $ cn $ name $ ref $ vendorVersion $ vendorName $ supportedSASLMechanisms ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.4 (caseIgnoreSubstringsMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.4 NAME 'caseIgnoreSubstringsMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.3 (caseIgnoreOrderingMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.3 NAME 'caseIgnoreOrderingMatch' APPLIES ( dnQualifier $ destinationIndicator $ serialNumber ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.2 (caseIgnoreMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.2 NAME 'caseIgnoreMatch' APPLIES ( moderatortext $ confirmtext $ mailReplyText $ nisMapName $ ipServiceProtocol $ preferredLanguage $ employeeType $ employeeNumber $ displayName $ departmentNumber $ carLicense $ documentPublisher $ buildingName $ organizationalStatus $ uniqueIdentifier $ co $ personalTitle $ documentLocation $ documentVersion $ documentTitle $ documentIdentifier $ host $ userClass $ roomNumber $ drink $ info $ textEncodedORAddress $ uid $ dmdName $ houseIdentifier $ dnQualifier $ generationQualifier $ initials $ givenName $ destinationIndicator $ physicalDeliveryOfficeName $ postOfficeBox $ postalCode $ businessCategory $ description $ title $ ou $ o $ street $ st $ l $ c $ serialNumber $ sn $ knowledgeInformation $ labeledURI $ cn $ name $ ref $ vendorVersion $ vendorName $ supportedSASLMechanisms ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.1 (distinguishedNameMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.1 NAME 'distinguishedNameMatch' APPLIES ( qladnmanager $ dnsender $ dnmoderator $ dnmember $ dITRedirect $ associatedName $ secretary $ documentAuthor $ manager $ seeAlso $ roleOccupant $ owner $ member $ distinguishedName $ aliasedObjectName $ namingContexts $ subschemaSubentry $ modifiersName $ creatorsName ) )
May 17 15:20:04 mail slapd[13449]:     2.5.13.0 (objectIdentifierMatch):
May 17 15:20:04 mail slapd[13449]: matchingRuleUse: ( 2.5.13.0 NAME 'objectIdentifierMatch' APPLIES ( supportedApplicationContext $ supportedFeatures $ supportedExtension $ supportedControl ) )
May 17 15:20:04 mail slapd[13450]: slapd startup: initiated.
May 17 15:20:04 mail slapd[13450]: backend_startup: starting "dc=mail,dc=vc,dc=lan"
May 17 15:20:04 mail slapd[13450]: bdb_db_open: dc=mail,dc=vc,dc=lan
May 17 15:20:04 mail slapd[13450]: bdb_db_open: dbenv_open(/var/lib/ldap/mail-vc)

========================================================

Ещё я попробовал посмотреть открытые файлы и тут кое-что выяснил:

в последних 2 строках что-то странное:

lsof -u ldap:

COMMAND   PID USER   FD   TYPE     DEVICE    SIZE   NODE NAME
slapd   12516 root  cwd    DIR        3,2    1888   2712 /root
slapd   12516 root  rtd    DIR        3,2     536      2 /
slapd   12516 root  txt    REG        3,2  760440 106502 /usr/lib/openldap/slapd
slapd   12516 root  mem    REG        3,2  106308   4303 /lib/ld-2.3.3.so
slapd   12516 root  mem    REG        3,2   21736 115451 /usr/lib/sasl2/libsasldb.so.2.0.19
slapd   12516 root  mem    REG        3,2   17029  31440 /usr/lib/sasl2/liblogin.so.2.0.19
slapd   12516 root  mem    REG        3,2   16297  31436 /usr/lib/sasl2/libanonymous.so.2.0.19
slapd   12516 root  mem    REG        3,2  252074  36368 /usr/lib/libldap_r-2.2.so.7.0.8
slapd   12516 root  mem    REG        3,2   57741  36364 /usr/lib/liblber-2.2.so.7.0.8
slapd   12516 root  mem    REG        3,2  953590   8914 /usr/lib/tls/libdb-4.2.so
slapd   12516 root  mem    REG        3,2   90783   4331 /lib/tls/libpthread.so.0
slapd   12516 root  mem    REG        3,2   94476 119375 /usr/lib/libslp.so.1.0.0
slapd   12516 root  mem    REG        3,2  174623   4330 /lib/tls/libm.so.6
slapd   12516 root  mem    REG        3,2   91523   4315 /lib/libnsl.so.1
slapd   12516 root  mem    REG        3,2   94878  31431 /usr/lib/libsasl2.so.2.0.19
slapd   12516 root  mem    REG        3,2  219497  35373 /usr/lib/libssl.so.0.9.7
slapd   12516 root  mem    REG        3,2 1135139  35371 /usr/lib/libcrypto.so.0.9.7
slapd   12516 root  mem    REG        3,2   43512   4311 /lib/libcrypt.so.1
slapd   12516 root  mem    REG        3,2   73086   4324 /lib/libresolv.so.2
slapd   12516 root  mem    REG        3,2   29879  12116 /usr/lib/libltdl.so.3.1.0
slapd   12516 root  mem    REG        3,2   13072   4312 /lib/libdl.so.2
slapd   12516 root  mem    REG        3,2   36803   9605 /lib/libwrap.so.0.7.6
slapd   12516 root  mem    REG        3,2 1359489   4329 /lib/tls/libc.so.6
slapd   12516 root  mem    REG        3,2   41661   4318 /lib/libnss_files.so.2
slapd   12516 root  mem    REG        3,3   16384   1544 /var/lib/ldap/mail-vc/__db.001
slapd   12516 root    0u   CHR        1,3          19889 /dev/null
slapd   12516 root    1u   CHR        1,3          19889 /dev/null
slapd   12516 root    2u   CHR        1,3          19889 /dev/null
slapd   12516 root    3u  unix 0xd64a9e00          33767 socket
slapd   12516 root    4r  FIFO        0,7          33768 pipe
slapd   12516 root    5w  FIFO        0,7          33768 pipe
slapd   12516 root    6u  sock        0,4          33771 can't identify protocol
slapd   12516 root    7u  sock        0,4          33772 can't identify protocol
===============================================

Чтобы проверить что у меня на 389 порт можно нормально повесить сервис, скомпилировал минимальную прогу, слушающую этот порт: тут всё нормально работает,могу подключиться telnet`ом, всё ok. вот lsof:

COMMAND   PID USER   FD   TYPE DEVICE    SIZE   NODE NAME
listen  12259 root  cwd    DIR    3,2    1784   2712 /root
listen  12259 root  rtd    DIR    3,2     536      2 /
listen  12259 root  txt    REG    3,2   10480 201903 /root/listen
listen  12259 root  mem    REG    3,2  106308   4303 /lib/ld-2.3.3.so
listen  12259 root  mem    REG    3,2 1359489   4329 /lib/tls/libc.so.6
listen  12259 root    0u   CHR  136,2              4 /dev/pts/2
listen  12259 root    1u   CHR  136,2              4 /dev/pts/2
listen  12259 root    2u   CHR  136,2              4 /dev/pts/2
listen  12259 root    3u  IPv4  32640            TCP *:ldap (LISTEN)

Тут с последней строкой всё в порядке...

strace от slapd:

execve("/usr/lib/openldap/slapd", ["/usr/lib/openldap/slapd"], [/* 53 vars */]) = 0
uname({sys="Linux", node="mail", ...})  = 0
brk(0)                                  = 0x8110000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61593, ...}) = 0
old_mmap(NULL, 61593, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/usr/lib/libldap_r-2.2.so.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\233\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=252074, ...}) = 0
old_mmap(NULL, 232416, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40028000
madvise(0x40028000, 232416, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4005d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x34000) = 0x4005d000
old_mmap(0x4005f000, 7136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4005f000
close(3)                                = 0
open("/usr/lib/liblber-2.2.so.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\'\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=57741, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40061000
old_mmap(NULL, 51188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40062000
madvise(0x40062000, 51188, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4006e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0x4006e000
close(3)                                = 0
open("/usr/lib/tls/libdb-4.2.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000l\1\000"..., 512) = 512
lseek(3, 861716, SEEK_SET)              = 861716
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\6\0\0\0"..., 32) = 32
fstat64(3, {st_mode=S_IFREG|0755, st_size=953590, ...}) = 0
old_mmap(NULL, 872060, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4006f000
madvise(0x4006f000, 872060, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40142000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd3000) = 0x40142000
close(3)                                = 0
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300G\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=90783, ...}) = 0
old_mmap(NULL, 70124, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40144000
madvise(0x40144000, 70124, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40152000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x40152000
old_mmap(0x40154000, 4588, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40154000
close(3)                                = 0
open("/usr/lib/libslp.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pB\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=94476, ...}) = 0
old_mmap(NULL, 85404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40156000
madvise(0x40156000, 85404, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4016a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x4016a000
close(3)                                = 0
open("/lib/tls/libm.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P3\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=174623, ...}) = 0
old_mmap(NULL, 139424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4016b000
madvise(0x4016b000, 139424, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4018c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x4018c000
close(3)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300:\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=91523, ...}) = 0
old_mmap(NULL, 88288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4018e000
madvise(0x4018e000, 88288, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x401a0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x401a0000
old_mmap(0x401a2000, 6368, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401a2000
close(3)                                = 0
open("/usr/lib/libsasl2.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340/\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=94878, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401a4000
old_mmap(NULL, 85948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401a5000
madvise(0x401a5000, 85948, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x401b9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x401b9000
close(3)                                = 0
open("/usr/lib/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\203"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=219497, ...}) = 0
old_mmap(NULL, 196324, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401ba000
madvise(0x401ba000, 196324, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x401e7000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c000) = 0x401e7000
close(3)                                = 0
open("/usr/lib/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\276"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1135139, ...}) = 0
old_mmap(NULL, 985976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401ea000
madvise(0x401ea000, 985976, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x402c5000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xda000) = 0x402c5000
old_mmap(0x402d7000, 15224, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402d7000
close(3)                                = 0
mprotect(0xbffff000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
open("/lib/libcrypt.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\10"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43512, ...}) = 0
old_mmap(NULL, 201500, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x402db000
madvise(0x402db000, 201500, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x402e3000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x402e3000
old_mmap(0x402e6000, 156444, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402e6000
close(3)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20)\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=73086, ...}) = 0
old_mmap(NULL, 76212, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4030d000
madvise(0x4030d000, 76212, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4031c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x4031c000
old_mmap(0x4031e000, 6580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4031e000
close(3)                                = 0
open("/usr/lib/libltdl.so.3", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=29879, ...}) = 0
old_mmap(NULL, 27800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40320000
madvise(0x40320000, 27800, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40326000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x40326000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\v\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=13072, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40327000
old_mmap(NULL, 12388, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40328000
madvise(0x40328000, 12388, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4032a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x4032a000
close(3)                                = 0
open("/lib/libwrap.so.0", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340 \0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=36803, ...}) = 0
old_mmap(NULL, 32132, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4032c000
madvise(0x4032c000, 32132, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40332000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x40332000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0L\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1359489, ...}) = 0
old_mmap(NULL, 1137708, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40334000
madvise(0x40334000, 1137708, MADV_SEQUENTIAL|0x1) = 0
mprotect(0x40443000, 27692, PROT_NONE)  = 0
old_mmap(0x40444000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x40444000
old_mmap(0x40448000, 7212, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40448000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4044a000
mprotect(0x40444000, 4096, PROT_READ)   = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x4044a780, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 61593)               = 0
set_tid_address(0x4044a7c8)             = 5964
rt_sigaction(SIGRTMIN, {0x40148720, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff268, 31, (nil), 0}) = 0
brk(0)                                  = 0x8110000
brk(0x8131000)                          = 0x8131000
uname({sys="Linux", node="mail", ...})  = 0
gettimeofday({1116227342, 874686}, NULL) = 0
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=35, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "domain vc.lan\nnameserver localho"..., 4096) = 35
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1297, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1297
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=61593, ...}) = 0
old_mmap(NULL, 61593, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\33"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=41661, ...}) = 0
old_mmap(NULL, 37536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4044b000
madvise(0x4044b000, 37536, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40453000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x40453000
close(3)                                = 0
munmap(0x40018000, 61593)               = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# /etc/host.conf - resolver co"..., 4096) = 370
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
futex(0x40448e60, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=680, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# hosts         This file desc"..., 4096) = 680
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
open("/etc/openldap/ldap.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=265, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "#\n# LDAP Defaults\n#\n\n# See ldap."..., 4096) = 265
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
getuid32()                              = 0
geteuid32()                             = 0
open("/root/ldaprc", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/root/.ldaprc", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("ldaprc", O_RDONLY)                = -1 ENOENT (No such file or directory)
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
time([1116227342])                      = 1116227342
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0"..., 4096) = 815
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(4)                                = 0
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(4)                                = 0
open("/etc/localtime", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(4)                                = 0
rt_sigaction(SIGPIPE, {0x403e75c0, [], 0}, {SIG_DFL}, 8) = 0
send(3, "<167>May 16 11:09:02 slapd[5964]"..., 160, 0) = 160
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
pipe([4, 5])                            = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 6
connect(6, {sa_family=AF_INET6, sin6_port=htons(389), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(6, {sa_family=AF_INET6, sin6_port=htons(32772), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
close(6)                                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 6
connect(6, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(6, {sa_family=AF_INET, sin_port=htons(32772), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(6)                                = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 6
setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(6, SOL_IPV6, IPV6_V6ONLY, [1], 4) = 0
bind(6, {sa_family=AF_INET6, sin6_port=htons(389), inet_pton(AF_INET6, "::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(7, {sa_family=AF_INET, sin_port=htons(389), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
open("/usr/lib/sasl2/slapd.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/sasl2", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 8
fstat64(8, {st_mode=S_IFDIR|0755, st_size=496, ...}) = 0
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
getdents(8, /* 15 entries */, 4096)     = 396
open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0755, st_size=704, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(9, "# libsasldb.la - a libtool libra"..., 4096) = 704
close(9)                                = 0
munmap(0x40018000, 4096)                = 0
futex(0x4032b060, FUTEX_WAKE, 2147483647) = 0
open("/usr/lib/sasl2/libsasldb.so.2", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \17\0\000"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=21736, ...}) = 0
old_mmap(NULL, 21240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x40018000
madvise(0x40018000, 21240, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x4001d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x4000) = 0x4001d000
close(9)                                = 0
open("/usr/lib/sasl2/libsasldb.la", O_RDONLY) = 9
close(9)                                = 0
open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0755, st_size=679, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
read(9, "# liblogin.la - a libtool librar"..., 4096) = 679
close(9)                                = 0
munmap(0x4001e000, 4096)                = 0
open("/usr/lib/sasl2/liblogin.so.2", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\f\0\000"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=17029, ...}) = 0
old_mmap(NULL, 12828, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x4001e000
madvise(0x4001e000, 12828, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40021000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0x40021000
close(9)                                = 0
open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 9
close(9)                                = 0
open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0755, st_size=695, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40022000
read(9, "# libanonymous.la - a libtool li"..., 4096) = 695
close(9)                                = 0
munmap(0x40022000, 4096)                = 0
open("/usr/lib/sasl2/libanonymous.so.2", O_RDONLY) = 9
read(9, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\f\0\000"..., 512) = 512
fstat64(9, {st_mode=S_IFREG|0755, st_size=16297, ...}) = 0
old_mmap(NULL, 16092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x40022000
madvise(0x40022000, 16092, MADV_SEQUENTIAL|0x1) = 0
old_mmap(0x40025000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x2000) = 0x40025000
close(9)                                = 0
open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 9
close(9)                                = 0
getdents(8, /* 0 entries */, 4096)      = 0
close(8)                                = 0
time([1116227342])                      = 1116227342
open("/etc/localtime", O_RDONLY)        = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(8)                                = 0
open("/etc/localtime", O_RDONLY)        = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(8)                                = 0
open("/etc/localtime", O_RDONLY)        = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(8)                                = 0
rt_sigaction(SIGPIPE, {0x403e75c0, [], 0}, {SIG_DFL}, 8) = 0
send(3, "<167>May 16 11:09:02 slapd[5964]"..., 109, 0) = 109
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/dev/urandom", O_RDONLY)          = 8
read(8, "\264\264", 2)                  = 2
close(8)                                = 0
gettimeofday({1116227342, 884269}, NULL) = 0
open("/dev/urandom", O_RDONLY)          = 8
read(8, "\363E\'<\36o", 6)              = 6
close(8)                                = 0
open("/etc/openldap/slapd.conf", O_RDONLY) = 8
fstat64(8, {st_mode=S_IFREG|0640, st_size=2138, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40026000
read(8, "#\n###### SAMPLE 1 - SIMPLE DIREC"..., 4096) = 2138
open("/etc/openldap/schema/core.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0444, st_size=19562, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "# OpenLDAP Core schema\n# $OpenLD"..., 4096) = 4096
read(9, "1.3.6.1.4.1.1466.115.121.1.15{12"..., 4096) = 4096
read(9, "password of user\'\n#\tEQUALITY oct"..., 4096) = 4096
read(9, "Method $ telexNumber $ teletexTe"..., 4096) = 4096
read(9, "cRLDistributionPoint\'\n\tSUP top S"..., 4096) = 3178
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/ctype.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=21536, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\3762\0\30T\0\0\0\0\272\0 \1(\1P\1X\1|\1\210\1\212"..., 4096) = 4096
read(9, "\204\36\0\0\204\36\0\0\206\36\0\0\206\36\0\0\210\36\0\0"..., 16384) = 16384
read(9, "[\37\0\0[\37\0\0]\37\0\0]\37\0\0_\37\0\0}\37\0\0\200\37"..., 4096) = 1056
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/case.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=16784, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376v\5\264\2\276\2A\0\0\0a\0\0\0A\0\0\0B\0\0\0b\0"..., 4096) = 4096
brk(0x8154000)                          = 0x8154000
read(9, "\272\4\0\0\274\4\0\0\275\4\0\0\274\4\0\0\276\4\0\0\277"..., 12288) = 12288
read(9, "\314$\0\0\347$\0\0\315$\0\0\315$\0\0\350$\0\0\316$\0\0"..., 4096) = 400
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/decomp.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=20912, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376\35\5\250Q\0\0\300\0\0\0\0\0\0\0\301\0\0\0\2\0"..., 4096) = 4096
read(9, "k\36\0\0.\4\0\0l\36\0\0000\4\0\0m\36\0\0002\4\0\0n\36\0"..., 16384) = 16384
read(9, "X\213\0\0\300N\0\0006\203\0\0:R\0\0\7R\0\0\246^\0\0\323"..., 4096) = 432
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/cmbcl.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=1772, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376\223\0\344\6\0\0\0\3\0\0\24\3\0\0\346\0\0\0\25"..., 4096) = 1772
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/num.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=3440, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376*\3h\r\0\0000\0\0\0\0\0\0\0001\0\0\0\2\0\0\000"..., 4096) = 3440
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/comp.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=14760, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376h\16\2409\0\0n\"\0\0\2\0\0\0<\0\0\0008\3\0\0`\""..., 4096) = 4096
read(9, "i\0\0\0\4\3\0\0-\1\0\0\2\0\0\0i\0\0\0\6\3\0\0\357\0\0\0"..., 8192) = 8192
read(9, "@\37\0\0\1\3\0\0C\37\0\0\2\0\0\0A\37\0\0\0\3\0\0E\37\0"..., 4096) = 2472
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/usr/share/openldap/ucdata/kdecomp.dat", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=53820, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "\377\376\231\r4\322\0\0\240\0\0\0\0\0\0\0\250\0\0\0\1\0"..., 4096) = 4096
read(9, "!\36\0\0\4\4\0\0\"\36\0\0\6\4\0\0#\36\0\0\10\4\0\0$\36"..., 49152) = 49152
read(9, "r\0\0\0s\0\0\0t\0\0\0u\0\0\0v\0\0\0w\0\0\0x\0\0\0y\0\0"..., 4096) = 572
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/etc/openldap/schema/cosine.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0444, st_size=74026, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "# RFC1274: Cosine and Internet X"..., 4096) = 4096
read(9, "t Encoded O/R Address attribute "..., 4096) = 4096
read(9, "es\n#  no distinction between com"..., 4096) = 4096
read(9, "NumberSyntax\n#    ::= {pilotAttr"..., 4096) = 4096
read(9, "}\n#\n## incorrect syntax!!\nattrib"..., 4096) = 4096
read(9, " pager telephone\n#  number for a"..., 4096) = 4096
read(9, "     professional-list-inclusion"..., 4096) = 4096
read(9, " ::= {pilotAttributeType 53}\n#\na"..., 4096) = 4096
read(9, "OSINE/Internet object classes\n#\n"..., 4096) = 4096
read(9, "cumentLocation $ documentPublish"..., 4096) = 4096
read(9, "$ NSRecord $\n\t\tSOARecord $ CNAME"..., 4096) = 4096
read(9, "works and ISDN Systems\n#        "..., 4096) = 4096
read(9, " top\n#        MUST CONTAIN {\n#  "..., 4096) = 4096
read(9, "erid,\n#                    textE"..., 4096) = 4096
read(9, "#    aliasedObjectName AliasedOb"..., 4096) = 4096
read(9, "IBUTE-SYNTAX deliveryMethod\n#   "..., 4096) = 4096
read(9, "ub-photo))\n#    ::= {pilotAttrib"..., 4096) = 4096
read(9, "fier))\n#    ::= {pilotAttributeT"..., 4096) = 4096
read(9, "lass INTEGER ::= 256\n#\n#    ub-u"..., 4096) = 298
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/etc/openldap/schema/inetorgperson.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0444, st_size=6360, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "# inetorgperson.schema -- InetOr"..., 4096) = 4096
read(9, "4.1.1466.115.121.1.15\n\tSINGLE-VA"..., 4096) = 2264
read(9, "", 4096)                       = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/etc/openldap/schema/nis.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0444, st_size=7681, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "# $OpenLDAP: pkg/ldap/servers/sl"..., 4096) = 4096
read(9, " \'oncRpcNumber\'\n\tEQUALITY intege"..., 4096) = 3585
brk(0x8175000)                          = 0x8175000
read(9, "", 4096)                       = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/etc/openldap/schema/qmail.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=9571, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "#\n# qmail-ldap (20030901) ldapv3"..., 4096) = 4096
read(9, " )\n\n#\n# qmailGroup attributes\n#\n"..., 4096) = 4096
read(9, " 1.3.6.1.4.1.1466.115.121.1.27 S"..., 4096) = 1379
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
open("/etc/openldap/schema/courier.schema", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=2783, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "#$Id: authldap.schema,v 1.5 2004"..., 4096) = 2783
read(9, "", 4096)                       = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
time([1116227342])                      = 1116227342
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(9)                                = 0
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(9)                                = 0
open("/etc/localtime", O_RDONLY)        = 9
fstat64(9, {st_mode=S_IFREG|0644, st_size=815, ...}) = 0
close(9)                                = 0
rt_sigaction(SIGPIPE, {0x403e75c0, [], 0}, {SIG_DFL}, 8) = 0
send(3, "<167>May 16 11:09:02 slapd[5964]"..., 73, 0) = 73
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
open("/etc/openldap/mail.vc.lan.access", O_RDONLY) = 9
fstat64(9, {st_mode=S_IFREG|0640, st_size=484, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40027000
read(9, "# Mail.vc.lan directory access l"..., 4096) = 484
read(9, "", 4096)                       = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40027000, 4096)                = 0
read(8, "", 4096)                       = 0
close(8)                                = 0
munmap(0x40026000, 4096)                = 0
rt_sigaction(SIGSTKFLT, {0x805e5e0, [], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGSYS, {0x805e610, [], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x805e610, [], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x805e610, [], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x805e610, [], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x80563a0, [], SA_RESTART}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x4044a7c8) = 5965
exit_group(0)                           = ?


Мне лично от таких дел уже башню сносит: ЧТО могло случиться? ничего ж ведь не трогал..

ldap переустановил из rpm, всё то же самое, так что файлы по крайней мере в порядке...

  Удалить Правка | Высказать мнение | Ответить | Рекомендовать в FAQ | Cообщить модератору | Наверх


Архив | Удалить

Индекс форумов | Темы | Пред. тема | След. тема
Оцените тред (1=ужас, 5=супер)? [ 1 | 2 | 3 | 4 | 5 ]
Пожалуйста, прежде чем написать сообщение, ознакомьтесь с данными рекомендациями.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру