<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 01/25/2011 01:29 AM, remy d1 wrote:
<blockquote
cite="mid:AANLkTimnXv4DWehiWGi-4zScvPd=6V0t7U-Q=4eYDXho@mail.gmail.com"
type="cite">Hi Rich,<br>
<br>
I tried to raise the log level, but when I did it, I was not able
to stop/restart my dirsrv service.</blockquote>
What log level did you use? What error messages did you see when
you attempted to stop/restart the service? Anything in the errors
log?<br>
<blockquote
cite="mid:AANLkTimnXv4DWehiWGi-4zScvPd=6V0t7U-Q=4eYDXho@mail.gmail.com"
type="cite">To stop it, I must kill the process and remove the pid
file. Then I could start it.<br>
<br>
In my error logs, there is a lot of informations :<br>
<br>
<div style="margin-left: 40px;"><br>
</div>
<div style="margin-left: 40px;">[root@KingKong ~]# tail
/var/log/dirsrv/slapd-KingKong/errors<br>
[24/Jan/2011:16:18:30 +0100] NSMMReplicationPlugin - changelog
program - cl5GetOperationCount: could not get DB object for
replica<br>
[24/Jan/2011:16:18:30 +0100] NSMMReplicationPlugin - changelog
program - _cl5GetDBFile: no DB object found for database
/var/lib/dirsrv/slapd-KingKong/changelogdb/1d934402-27b111e0-b651ef2e-02b602d3_4d0b28870000ffff0000.db4<br>
[24/Jan/2011:16:18:30 +0100] NSMMReplicationPlugin - changelog
program - cl5GetOperationCount: could not get DB object for
replica<br>
[24/Jan/2011:16:18:40 +0100] NSMMReplicationPlugin - changelog
program - _cl5GetDBFile: no DB object found for database
/var/lib/dirsrv/slapd-KingKong/changelogdb/1d934402-27b111e0-b651ef2e-02b602d3_4d0b28870000ffff0000.db4<br>
[24/Jan/2011:16:18:40 +0100] NSMMReplicationPlugin - changelog
program - cl5GetOperationCount: could not get DB object for
replica<br>
[24/Jan/2011:16:18:41 +0100] NSMMReplicationPlugin - changelog
program - _cl5GetDBFile: no DB object found for database
/var/lib/dirsrv/slapd-KingKong/changelogdb/1d934402-27b111e0-b651ef2e-02b602d3_4d0b28870000ffff0000.db4<br>
[24/Jan/2011:16:18:41 +0100] NSMMReplicationPlugin - changelog
program - cl5GetOperationCount: could not get DB object for
replica<br>
[24/Jan/2011:16:18:42 +0100] NSMMReplicationPlugin - changelog
program - _cl5GetDBFile: no DB object found for database
/var/lib/dirsrv/slapd-KingKong/changelogdb/1d934402-27b111e0-b651ef2e-02b602d3_4d0b28870000ffff0000.db4<br>
[24/Jan/2011:16:18:42 +0100] NSMMReplicationPlugin - changelog
program - cl5GetOperationCount: could not get DB object for
replica<br>
[24/Jan/2011:16:24:18 +0100] NSMMReplicationPlugin - changelog
program - cl5ExportLDIF: failed to locate changelog file for
replica at (dc=mydomain,dc=com)<br>
</div>
<br>
<br>
This problem is very similar to this post :<br>
<div style="margin-left: 40px;"><a moz-do-not-send="true"
href="http://www.redhat.com/archives/fedora-directory-commits/2009-March/msg00005.html">http://www.redhat.com/archives/fedora-directory-commits/2009-March/msg00005.html</a><br>
</div>
Although I have the last version of 389-DS.<br>
</blockquote>
Are you sure this is the correct post you wanted to refer to?
Because this is a patch commit for a fix when moving the changelog
directory - did you move the changelog directory? Because you did
not mention it in your earlier post.<br>
<blockquote
cite="mid:AANLkTimnXv4DWehiWGi-4zScvPd=6V0t7U-Q=4eYDXho@mail.gmail.com"
type="cite"><br>
I think I have also some troubleshooting with my hostname because
bind is not configured. However, I have choosen to put it my
/etc/hosts file<br>
<div style="margin-left: 40px;">
[root@KingKong ~]# nl /etc/host.conf <br>
1 multi on<br>
2 order hosts,bind<br>
</div>
hostname command reply the full "fqdn" if I choose the option
--all-fqdn, contrary to the option "--fqdn". The reply is just my
hostname without the domain. By the way, if I say <br>
<div style="margin-left: 40px;">#hostname <a
moz-do-not-send="true" href="http://KingKong.mydomain.com">KingKong.mydomain.com</a><br>
</div>
Eveything is now good for my hostname but I can not launch my
389-console. I think the adress to connect is not ok... I do not
know if this problem is linked to the previous problems...<br>
<br>
So, I do #hostname KingKong<br>
Then, I launch the console again. Now, if I try to initiate a full
synchronization, I can see (and I am still stuck on it) the window
"please wait while data is being synchronized...", but nothing
else... Data are not synchronized and I do not see anything in my
Windows event viewer while replica agreement seems to be ok and
PassSync service is installed...<br>
</blockquote>
It is very difficult to change your hostname after you have
configured the admin server and console. I suggest starting over
from scratch, and first make sure your hostname is correct.<br>
<br>
I also suggest using
<a class="moz-txt-link-freetext" href="http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Windows_Sync">http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html-single/Administration_Guide/index.html#Windows_Sync</a>
to configure Windows Sync.<br>
<blockquote
cite="mid:AANLkTimnXv4DWehiWGi-4zScvPd=6V0t7U-Q=4eYDXho@mail.gmail.com"
type="cite">
<br>
<br>
Thanks for help,<br>
<br>
-Regards<br>
<br>
<div class="gmail_quote">2011/1/21 Rich Megginson <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:rmeggins@redhat.com">rmeggins@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<blockquote type="cite">
<div style="display: inline;">Date: </div>
Fri, 21 Jan 2011 10:25:56 +0100
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tbody>
<tr>
<td>
<div style="display: inline;">To: </div>
"General discussion list for the 389 Directory
server project." <a moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org"
target="_blank"><389-users@lists.fedoraproject.org></a></td>
</tr>
</tbody>
</table>
<div class="im"> <br>
Hi Rich,<br>
<br>
Thanks for this usefull link.<br>
<br>
I have successfully initiate replica between Windows AD
and my server 389-DS. Ldapsearch is working. But even if
everything seems to be ok, the update does not work and
I do not see any error in the log files... So, my AD
server stay empty, the accounts are not migrate...<br>
<br>
Here you have my access log file which is more
verbose... (<a moz-do-not-send="true"
href="http://mydomain.com" target="_blank">mydomain.com</a>
for the example) :</div>
</blockquote>
<snip><br>
<blockquote type="cite">Obviously I am connecting to the
server 389-DS itself whereas it can resolve the DNS name
of my Windows server... There is no error in the AD event
viewer while I could see errors on it when it was <span
lang="en"><span title="Cliquer ici pour voir d'autres
traductions">misconfigured</span></span> (like DirSync
errors)... So, basically, the Windows server is contacted
to my DS-Server over 2 different networks.<br>
<br>
Do you think I have to open the ports described in my
message ?<br>
<br>
-Regards.</blockquote>
I don't know. There is no winsync information in the access
log. Note that the access log records client accesses to
the directory server, and in winsync, the directory server
itself acts as a client to AD, so winsync will log nothing
in the access log. The errors log could be helpful, and
especially using the replication log level (which is also
used for winsync logging). The Windows Event Viewer is
useless for winsync issues.<br>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>