LDAP server. /etc/init.d/slapd не стартует - ошибка сегментирования.
asm64 7 октября, 2011 - 12:16
Здравствуйте уважаемые.
Настраивал по англицкому хендбуку. Запускался, запускался и как-то раз, после обновления, и перестал запускаться демон slapd. В dmesg вываливает ошибку сегментирования.
dmesg
slapd[6986]: segfault at 17d ip 00007fd5d3f66af9 sp 00007fff4a476670 error 4 in libc-2.13.so[7fd5d3eef000+181000]
cat /etc/conf.d/slapd
# conf.d file for openldap # # To enable both the standard unciphered server and the ssl encrypted # one uncomment this line or set any other server starting options # you may desire. # # OPTS="-h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'" # Uncomment the below to use the new slapd configuration for openldap 2.3 OPTS="-F /etc/openldap/slapd.d -h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'"
cat /etc/openldap/ldap.conf
# # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=okgvv,dc=net URI ldap://ldap.okgvv.net:389 TLS_REQCERT allow TIMELIMIT 2 #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never
cat /etc/openldap/slapd.conf
# # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/misc.schema # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args # Load dynamic backend modules: # modulepath /usr/lib64/openldap/openldap # moduleload back_sql.so # moduleload back_sock.so # moduleload back_shell.so # moduleload back_relay.so # moduleload back_perl.so # moduleload back_passwd.so # moduleload back_null.so # moduleload back_monitor.so # moduleload back_meta.so # moduleload back_ldap.so # moduleload back_dnssrv.so # Sample security restrictions # Require integrity protection (prevent hijacking) # Require 112-bit (3DES or better) encryption for updates # Require 63-bit encryption for simple bind # security ssf=1 update_ssf=112 simple_bind=64 # Sample access control policy: # Root DSE: allow anyone to read it # Subschema (sub)entry DSE: allow anyone to read it # Other DSEs: # Allow self write access # Allow authenticated users read access # Allow anonymous users to authenticate # Directives needed to implement policy: access to dn.base="" by * read access to dn.base="cn=Subschema" by * read access to attrs=userPassword,description,loginShell,givenName by anonymous auth by self write access to * by self write by users read by anonymous read # # if no access controls are present, the default policy # allows anyone and everyone to read anything but restricts # updates to rootdn. (e.g., "access to * by * read") # # rootdn can always read and write EVERYTHING! ####################################################################### # BDB database definitions ####################################################################### database hdb suffix "dc=okgvv,dc=net" # <kbyte> <min> checkpoint 32 30 rootdn "cn=Manager,dc=okgvv,dc=net" # Cleartext passwords, especially for the rootdn, should # be avoid. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. rootpw "{SSHA}THERE-IS-MY-HASH" # The database directory MUST exist prior to running slapd AND # should only be accessible by the slapd and slap tools. # Mode 700 recommended. directory /var/lib/openldap-data # Indices to maintain index objectClass eq
revdep-rebuild делал, права крутил.. разве-что мир не обновлял ещё раз. Что делать? Собирать с дебаг?
Спасибо.
»
- Для комментирования войдите или зарегистрируйтесь
Попробуй просто пересобрать,
Попробуй просто пересобрать, а потом - revdeb-rebuild
http://www.gentoo.org/proj/en
http://www.gentoo.org/proj/en/qa/backtraces.xml
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)