亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪(fǎng)問(wèn)板塊 發(fā)新帖
查看: 167916 | 回復(fù): 187
打印 上一主題 下一主題

[ldap] 寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人 [復(fù)制鏈接]

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2004-08-14 21:34 |只看該作者 |倒序?yàn)g覽
現(xiàn)在入門(mén)的人更多用的是OpenLDAP,如果你的OpenLDAP正常安裝,并經(jīng)過(guò)make test沒(méi)有問(wèn)題,而啟動(dòng)的時(shí)候遇到了問(wèn)題。那么請(qǐng)這樣做/usr/local/libexec/slapd -d 256
然后把出錯(cuò)信息貼出來(lái),我盡量給大家解決。

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2004-08-15 21:29 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

謝謝,請(qǐng)問(wèn)在哪兒找出錯(cuò)信息啊。我的系統(tǒng)是SOLARIS8,我看了/var/log/syslog和/var/adm/messages都沒(méi)什么出錯(cuò)信息。
andrewleading_h 該用戶(hù)已被刪除
3 [報(bào)告]
發(fā)表于 2004-08-16 07:26 |只看該作者
提示: 作者被禁止或刪除 內(nèi)容自動(dòng)屏蔽

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
4 [報(bào)告]
發(fā)表于 2004-08-16 08:53 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

[quote]原帖由 "朽木可雕"]謝謝,請(qǐng)問(wèn)在哪兒找出錯(cuò)信息啊。我的系統(tǒng)是SOLARIS8,我看了/var/log/syslog和/var/adm/messages都沒(méi)什么出錯(cuò)信息。[/quote 發(fā)表:

啟動(dòng)的時(shí)候就可以看到,這樣啟動(dòng)openldap,/usr/local/libexec/slapd -d 256

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2004-08-16 11:12 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

還是不行啊。
我的系統(tǒng)是SOLARIS8

  1. bash-2.05# /usr/local/libexec/slapd -d 256
  2. Killed
  3. bash-2.05# tail /var/log/syslog
  4. Jul 29 00:05:57 ms1.darren.com sendmail[3544]: [ID 801593 mail.info] i6SG5vMR003544: from=<wjz@darren.com>;, size=539, class=0, nrcpts=1, msgid=<200407281605.i6SG5vMR003544@ms1.darren.com>;, proto=ESMTP, daemon=MSA, relay=[10.1.2.19]
  5. Jul 29 00:06:08 ms1.darren.com sendmail[3546]: [ID 801593 mail.info] i6SG5vMR003544: to=<mail5@test.com>;, ctladdr=<wjz@darren.com>; (1000/1), delay=00:00:11, xdelay=00:00:05, mailer=esmtp, pri=120539, relay=ms1.test.com. [10.1.2.52], dsn=2.0.0, stat=Sent (i6SG63S0001503 Message accepted for delivery)
  6. Jul 29 00:09:10 ms1.darren.com sendmail[3548]: [ID 702911 mail.info] AUTH=server, relay=[10.1.2.19], authid=mail1, mech=LOGIN, bits=0
  7. Jul 29 00:09:10 ms1.darren.com sendmail[3548]: [ID 801593 mail.info] i6SG9AYe003548: from=<mail1@darren.com>;, size=567, class=0, nrcpts=1, msgid=<200407281609.i6SG9AYe003548@ms1.darren.com>;, proto=ESMTP, daemon=MSA, relay=[10.1.2.19]
  8. Jul 29 00:09:14 ms1.darren.com sendmail[3550]: [ID 801593 mail.info] i6SG9AYe003548: to=<mail5@test.com>;, ctladdr=<mail1@darren.com>; (2001/1), delay=00:00:04, xdelay=00:00:04, mailer=esmtp, pri=120567, relay=ms1.test.com. [10.1.2.52], dsn=2.0.0, stat=Sent (i6SG9Ae1001515 Message accepted for delivery)
  9. Jul 29 20:25:08 ms1.darren.com sendmail[3623]: [ID 801593 mail.info] i6TCOqcU003623: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
  10. Jul 30 02:30:37 ms1.darren.com sendmail[4234]: [ID 702911 mail.info] AUTH=server, relay=[10.1.2.19], authid=wjz, mech=LOGIN, bits=0
  11. Jul 30 02:30:54 ms1.darren.com sendmail[4234]: [ID 801593 mail.info] i6TIUb16004234: from=<wjz@darren.com>;, size=2446917, class=0, nrcpts=1, msgid=<200407291830.i6TIUb16004234@ms1.darren.com>;, proto=ESMTP, daemon=MSA, relay=[10.1.2.19]
  12. Jul 30 02:31:17 ms1.darren.com sendmail[4236]: [ID 801593 mail.info] i6TIUb16004234: to=<mail5@test.com>;, ctladdr=<wjz@darren.com>; (1000/1), delay=00:00:40, xdelay=00:00:23, mailer=esmtp, pri=2566917, relay=ms1.test.com. [10.1.2.52], dsn=2.0.0, stat=Sent (i6TIV1G9001495 Message accepted for delivery)
  13. Jul 31 00:51:57 ms1.darren.com sendmail[4350]: [ID 801593 mail.info] i6UGpmH8004350: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MSA
  14. bash-2.05# tail /var/adm/messages
  15. Aug 15 05:58:17 ms1.darren.com fdc: [ID 114370 kern.info] fd0 at fdc0
  16. Aug 15 05:58:17 ms1.darren.com genunix: [ID 936769 kern.info] fd0 is /isa/fdc@1,3f0/fd@0,0
  17. Aug 15 05:58:36 ms1.darren.com pcplusmp: [ID 637496 kern.info] pcplusmp: asy (asy) instance 0 vector 0x4 ioapic 0x1 intin 0x4 is bound to cpu 0
  18. Aug 15 05:58:36 ms1.darren.com last message repeated 1 time
  19. Aug 15 05:58:36 ms1.darren.com isa: [ID 202937 kern.info] ISA-device: asy0
  20. Aug 15 05:58:36 ms1.darren.com genunix: [ID 936769 kern.info] asy0 is /isa/asy@1,3f8
  21. Aug 15 05:58:36 ms1.darren.com pcplusmp: [ID 398438 kern.info] pcplusmp: asy (asy) instance #1 vector 0x3 ioapic 0x1 intin 0x3 is bound to cpu 0
  22. Aug 15 05:58:36 ms1.darren.com last message repeated 1 time
  23. Aug 15 05:58:36 ms1.darren.com isa: [ID 202937 kern.info] ISA-device: asy1
  24. Aug 15 05:58:36 ms1.darren.com genunix: [ID 936769 kern.info] asy1 is /isa/asy@1,2f8
  25. bash-2.05#

復(fù)制代碼

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
6 [報(bào)告]
發(fā)表于 2004-08-16 12:22 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

我的系統(tǒng)是solaris9,你的openldap是編譯安裝的嗎?make test都通過(guò)了嗎?
openldap啟動(dòng)的時(shí)候如果指定了log level,應(yīng)該是可以看到報(bào)錯(cuò)的,你這樣試試/usr/local/libexec/slapd -d -1

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2004-08-17 10:57 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

是編譯安裝的啊,編譯的時(shí)候沒(méi)報(bào)什么錯(cuò)啊。我的配置文件有錯(cuò)嗎?下面是我的配置文件,大家?guī)蛶臀野伞?br />

  1. bash-2.05# more slapd.conf
  2. # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.23.2.8 2003/05/24 23:19:14 kurt Exp $
  3. #
  4. # See slapd.conf(5) for details on configuration options.
  5. # This file should NOT be world readable.
  6. #
  7. include         /usr/local/etc/openldap/schema/core.schema

  8. # Define global ACLs to disable default read access.

  9. # Do not enable referrals until AFTER you have a working directory
  10. # service AND an understanding of referrals.
  11. #referral       ldap://root.openldap.org

  12. pidfile         /usr/local/var/slapd.pid
  13. argsfile        /usr/local/var/slapd.args




  14. loglevel -1
  15. replogfile /var/log/ldap.log



  16. # Load dynamic backend modules:
  17. # modulepath    /usr/local/libexec/openldap
  18. # moduleload    back_bdb.la
  19. # moduleload    back_ldap.la
  20. # moduleload    back_ldbm.la
  21. # moduleload    back_passwd.la
  22. # moduleload    back_shell.la

  23. # Sample security restrictions
  24. #       Require integrity protection (prevent hijacking)
  25. #       Require 112-bit (3DES or better) encryption for updates
  26. #       Require 63-bit encryption for simple bind
  27. # security ssf=1 update_ssf=112 simple_bind=64

  28. # Sample access control policy:
  29. #       Root DSE: allow anyone to read it
  30. #       Subschema (sub)entry DSE: allow anyone to read it
  31. #       Other DSEs:
  32. #               Allow self write access
  33. #               Allow authenticated users read access
  34. #               Allow anonymous users to authenticate
  35. #       Directives needed to implement policy:
  36. # access to dn.base="" by * read
  37. # access to dn.base="cn=Subschema" by * read
  38. # access to *
  39. #       by self write
  40. #       by users read
  41. #       by anonymous auth
  42. #
  43. # if no access controls are present, the default policy is:
  44. #       Allow read by all
  45. #
  46. # rootdn can always write!

  47. #######################################################################
  48. # ldbm database definitions
  49. #######################################################################

  50. database        bdb
  51. suffix          "dc=darren,dc=com"
  52. rootdn          "cn=root,dc=darren,dc=com"
  53. # Cleartext passwords, especially for the rootdn, should
  54. # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
  55. # Use of strong authentication encouraged.
  56. rootpw          1234
  57. # The database directory MUST exist prior to running slapd AND
  58. # should only be accessible by the slapd and slap tools.
  59. # Mode 700 recommended.
  60. directory       /usr/local/var/openldap-data
  61. # Indices to maintain
  62. index   objectClass     eq


  63. defaultaccess none

  64. access to dn=".*,dc=darren,dc=com"
  65. by self read
  66. by dn="cn=root,dc=darren,dc=com" write
  67. by * none

  68. access to *
  69. by self read
  70. by dn="cn=root,dc=darren,dc=com" write
  71. by * none
  72. bash-2.05#
復(fù)制代碼

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
8 [報(bào)告]
發(fā)表于 2004-08-17 12:55 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

1。access to dn=".*,dc=darren,dc=com"不要再用這樣的acl格式,openldap2.1.x已經(jīng)不再支持
2。把其余的schema也include進(jìn)來(lái)
3。把ACL部分先寫(xiě)成這樣:
access to *
        by self write
        by * read
然后重新啟動(dòng)/usr/local/libexec/slapd -d -1,看看會(huì)有什么錯(cuò)誤

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2004-08-18 15:27 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

試了,還是不行,日志也沒(méi)任何顯示。請(qǐng)問(wèn)為什么。课叶伎旒彼懒。

論壇徽章:
1
2015年辭舊歲徽章
日期:2015-03-03 16:54:15
10 [報(bào)告]
發(fā)表于 2004-08-18 16:02 |只看該作者

寫(xiě)給所有OpenLDAP不能正常啟動(dòng)的人

裝了這么多次openldap,還沒(méi)這樣過(guò),呵呵,再想想辦法吧,你是裝的openldap的新版本嗎?
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP