[389-devel] Please review: [389 Project] #35: Log not clear enough on schema errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://fedorahosted.org/389/ticket/35

https://fedorahosted.org/389/attachment/ticket/35/0001-Trac-Ticket-35-Log-not-clear-enough-on-schema-errors.patch

Comment:

  Fix description: Cryptic error message:
    dse - parsing dse entry [attributeTypes]
  is now replaced with:
    dse - Parsing entry in file /path/to/schema/03bad.ldif failed.
    dse - Invalid section [attributeTypes:<the rest of the invalid
    section up to 256 characters>  ...]

  Full sample log:
  [] - str2entry_dupcheck: entry has no dn
  [] dse - Parsing entry in file /etc/dirsrv/slapd-ID/schema/03bad.ldif
  failed.
  [] dse - Invalid section [# attributes
  attributeTypes: ( 2.16.840.1.113730.3.1.5 NAME 'changeNumber' DESC
  'Changelog attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 X-ORIGIN
  'Changelog Internet Draft' )
  attributeTypes: ( 2.16.840.1.113730.3.1.6 NAME 'targetDn' DESC 'Changelog
  ...]
  [] dse - Please edit the file to correct the reported problems and then
  restart the server.

  The file which failed to parse is now in the error log.  The previous
  error "entry has no dn" explains the cause of the failure.

--
389-devel mailing list
389-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel



[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux