[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd: Illegal Instruction on solaris 9
when starting slapd with the -u flag:
budbase openldap-data # /usr/local/libexec/slapd -u ldap -d1
@(#) $OpenLDAP: slapd 2.1.25 (Feb 10 2004 13:43:20) $
susa@mtdbase:/scratch/openldap-2.1.25/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
ldap_create
ldap_unbind
ldap_create
ldap_create
Illegal Instruction
starting as root works as expected:
budbase / # /usr/local/libexec/slapd -d1
@(#) $OpenLDAP: slapd 2.1.25 (Feb 10 2004 13:43:20) $
susa@mtdbase:/scratch/openldap-2.1.25/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
bdb_initialize: initialize BDB backend
...
what are the ldap_create and ldap_unbind bits? what is slapd trying to
do at this point? I've triple checked permissions in
/usr/local/etc/openldap and also the data directory. I've removed the
directory data and tried starting without data. I've replaced with known
good binaries all with the same result. If I can know what slapd is
trying to do at this point then I can hopefully find the problem on the
box.
here is a backtrace but I dont know enough to understand it:
(gdb) bt
#0 0x485950 in ?? ()
#1 0xfef3262c in ldapssl_init () from /usr/lib/libldap.so.5
#2 0xff041e6c in openConnection () from /usr/lib/libsldap.so.1
#3 0xff04148c in makeConnection () from /usr/lib/libsldap.so.1
#4 0xff042f10 in __s_api_getConnection () from /usr/lib/libsldap.so.1
#5 0xff039608 in get_next_session () from /usr/lib/libsldap.so.1
#6 0xff03a38c in search_state_machine () from /usr/lib/libsldap.so.1
#7 0xff03ae90 in __ns_ldap_list () from /usr/lib/libsldap.so.1
#8 0xff06aa1c in _nss_ldap_nocb_lookup () from /usr/lib/nss_ldap.so.1
#9 0xff0647e4 in getbymember () from /usr/lib/nss_ldap.so.1
#10 0xff14a4ec in nss_search () from /usr/lib/libc.so.1
#11 0xff197578 in _getgroupsbymember () from /usr/lib/libc.so.1
#12 0xff141f14 in initgroups () from /usr/lib/libc.so.1
#13 0xb9294 in slap_init_user ()
#14 0x77650 in main ()
GREG
--
Greg Matthews
iTSS Wallingford 01491 692445