<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ziadne zmeny ... proste to rano drblo a slapd uz nestartol .... toto je vypis ked dam debug level "Trace".<div><br></div><div>Tu je aj vystup (koniec) od strace:</div><div><br></div><div>===</div><div><div>write(2, "ldap_create\n"..., 12ldap_create</div><div>) &nbsp; &nbsp; &nbsp; &nbsp;= 12</div><div>brk(0x81e1000) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x81e1000</div><div>write(2, "slapd init: initiated server.\n"..., 30slapd init: initiated server.</div><div>) = 30</div><div>time(NULL) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1280234889</div><div>send(3, "&lt;167&gt;Jul 27 14:48:09 slapd[5902]:"..., 64, MSG_NOSIGNAL) = 64</div><div>open("/etc/ldap/sasl2/slapd.conf", O_RDONLY) = 9</div><div>fstat64(9, {st_mode=S_IFREG|0640, st_size=4782, ...}) = 0</div><div>mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7e000</div><div>read(9, "#\n# See slapd.conf(5) for details"..., 4096) = 4096</div><div>write(2, "slap_sasl_init: server init faile"..., 35slap_sasl_init: server init failed</div><div>) = 35</div><div>time(NULL) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1280234889</div><div>send(3, "&lt;167&gt;Jul 27 14:48:09 slapd[5902]:"..., 69, MSG_NOSIGNAL) = 69</div><div>write(2, "slapd destroy: freeing system res"..., 41slapd destroy: freeing system resources.</div><div>) = 41</div><div>time(NULL) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1280234889</div><div>send(3, "&lt;167&gt;Jul 27 14:48:09 slapd[5902]:"..., 75, MSG_NOSIGNAL) = 75</div><div>write(2, "slapd stopped.\n"..., 15slapd stopped.</div><div>) &nbsp; &nbsp; = 15</div><div>time(NULL) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1280234889</div><div>send(3, "&lt;167&gt;Jul 27 14:48:09 slapd[5902]:"..., 49, MSG_NOSIGNAL) = 49</div><div>close(3) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</div><div>write(2, "connections_destroy: nothing to d"..., 41connections_destroy: nothing to destroy.</div><div>) = 41</div><div>time(NULL) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 1280234889</div><div>socket(PF_FILE, SOCK_DGRAM, 0) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3</div><div>fcntl64(3, F_SETFD, FD_CLOEXEC) &nbsp; &nbsp; &nbsp; &nbsp; = 0</div><div>connect(3, {sa_family=AF_FILE, path="/dev/log"...}, 110) = 0</div><div>send(3, "&lt;167&gt;Jul 27 14:48:09 slapd[5902]:"..., 75, MSG_NOSIGNAL) = 75</div><div>shutdown(5, 2 /* send and receive */) &nbsp; = -1 ENOTSOCK (Socket operation on non-socket)</div><div>close(5) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</div><div>shutdown(4, 2 /* send and receive */) &nbsp; = -1 ENOTSOCK (Socket operation on non-socket)</div><div>close(4) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</div><div>close(6) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0</div><div>exit_group(-1) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= ?</div><div>fstroj:~#&nbsp;</div></div><div><br></div><div>===<br><div><font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="'Lucida Grande'"><span class="Apple-style-span" style="font-size: medium;"><br></span></font></span></font></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="khtml-block-placeholder"></div><div>---</div><div>Ing. Marek Zima</div><div>e-mail: <a href="mailto:zima@zimas.sk">zima@zimas.sk</a></div><div>web: <a href="http://www.zimas.sk">http://www.zimas.sk</a></div><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></span>
</div>
<br><div><div>On 27.7.2010, at 14:53, Martin Kyrc wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>cau,<br>zvacsi debug level, aby sa dalo presnejsie povedat preco sa to nechce zinicializovat. "slap_sasl_init: server init failed" je dost vseobecna hlaska.<br><br>co predchadzalo tomu, ze ldap prestal fungovat? (pises, ze ziaden sw update nezbehol. nejaky hw problem? robil si nejake konfiguracne zmeny na tej masine?)<br><br>--<br>martin<br><br>Marek Zima wrote on 27. 7. 2010 14:31:<br><blockquote type="cite">Zdravim vas,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">mam takyto problem.<br></blockquote><blockquote type="cite">Mam DEBIAN 5.0.4 Lenny ... doteraz vsekto fungovalo.<br></blockquote><blockquote type="cite">Nerobil sa ziaden update a prestal fungovat LDAP:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">---<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: @(#) $OpenLDAP: slapd 2.4.11 (Nov 26<br></blockquote><blockquote type="cite">2009 09:17:06)<br></blockquote><blockquote type="cite">$#012#011root@SD6-Casa:/tmp/buildd/openldap-2.4.11/debian/build/serve<br></blockquote><blockquote type="cite">rs/slapd<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: daemon_init: listen on <a href="ldap:///">ldap:///</a><br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: daemon_init: 1 listeners to open...<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: daemon: listener initialized <a href="ldap:///">ldap:///</a><br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: daemon_init: 2 listeners opened<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: slapd init: initiated server.<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: slap_sasl_init: server init failed<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: slapd destroy: freeing system resources.<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: slapd stopped.<br></blockquote><blockquote type="cite">Jul 27 14:15:00 fstroj slapd[4783]: connections_destroy: nothing to destroy.<br></blockquote><blockquote type="cite">---<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hladal som na webe 'slap_sasl_init: server init failed' ale nic rozumne<br></blockquote><blockquote type="cite">som nenasiel. Nechapem.<br></blockquote><blockquote type="cite">Pritom SASL (saslauthd) bezi bez problemov aj test na sasl ak zadam<br></blockquote><blockquote type="cite">systemove mena a hesla tak funguje ...<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Neviete mi niekto poradit, co je toto za problem?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Marek<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">---<br></blockquote><blockquote type="cite">Ing. Marek Zima<br></blockquote><blockquote type="cite">e-mail: <a href="mailto:zima@zimas.sk">zima@zimas.sk</a> &lt;<a href="mailto:zima@zimas.sk">mailto:zima@zimas.sk</a>&gt;<br></blockquote><blockquote type="cite">web: <a href="http://www.zimas.sk">http://www.zimas.sk</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite"><a href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a><br></blockquote><blockquote type="cite">Meta FAQ: <a href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a><br></blockquote>_______________________________________________<br><a href="https://lists.linux.sk/mailman/listinfo/linux">https://lists.linux.sk/mailman/listinfo/linux</a><br>Meta FAQ: <a href="http://www.sklug.sk/lists/linux/metafaq.html">http://www.sklug.sk/lists/linux/metafaq.html</a><br></div></blockquote></div><br></div></body></html>