<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>

<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi Jerry,</DIV>
<DIV>I found out where the problem was, the ods-signerd was down so the 
engine.socket disappeared.</DIV>
<DIV>I have installed 1.4.0a2,1.3.9 and now I'm using the trunk!</DIV>
<DIV>If ods-signerd is running, then I run ods-signerd seems do nothing at all, 
but sometimes there are more than one ods-signerd process at the same time! 
I don't this situation would affect opendnssec's signing work, because I 
think some ods-signerd would do the work at a mixed period.</DIV>
<DIV>Thought I don't know why ods-signerd sometimes goes down, but sometimes I 
run ods-signer sign --all, there would be an error reads 
"Unable to connect to engine: connect() failed: No such file or directory"</DIV>
<DIV> </DIV>
<DIV>
<DIV>[root@CST-BJ-104:202.173.9.19 :/var/opendnssec]$ps -aux | grep ods</DIV>
<DIV>Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ</DIV>
<DIV 
style="FONT-WEIGHT: bold">root      3955  0.0  0.0  40660  5536 ?        SLs  Jul12   0:06 /usr/local/sbin/ods-enforcerd</DIV>
<DIV 
style="FONT-WEIGHT: bold">root     12080  0.0  1.0 1022852 81536 ?       SLsl Jul13   1:23 ods-signerd</DIV>
<DIV>root     23225  0.0  0.0 103236   812 pts/2    S+   20:43   0:00 grep ods</DIV>
<DIV>[root@CST-BJ-104:202.173.9.19 :/var/opendnssec]$ods-signer zones</DIV>
<DIV>Unable to connect to engine: connect() failed: No such file or directory</DIV>
<DIV> </DIV>
<DIV>But you see the ods-signerd is running!</DIV>
<DIV>Do you know what the problem is?</DIV></DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV>Stuart</DIV>
<DIV> </DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV 
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:jerry@opendnssec.org">Jerry 
Lundstr鰉</A></DIV>
<DIV><B>Date:</B> 2012-07-17 14:44</DIV>
<DIV><B>To:</B> <A href="mailto:shuoleo@126.com">shuoleo</A></DIV>
<DIV><B>CC:</B> <A 
href="mailto:opendnssec-user@lists.opendnssec.org">opendnssec-user</A></DIV>
<DIV><B>Subject:</B> Re: Re: [Opendnssec-user]ods-signer failed when 
ods-signerd is running</DIV></DIV></DIV>
<DIV>
<DIV>Hi Stuart,</DIV>
<DIV> </DIV>
<DIV>On Tue, Jul 17, 2012 at 4:20 AM, 刘硕 <shuoleo@126.com> wrote:</DIV>
<DIV>>>Are you sure one is not looking for the socket at the wrong place due to</DIV>
<DIV>>>mismatched install, eg /var/run/opendnssec/engine.sock versus</DIV>
<DIV>>>/local/var/run/opendnssec/engine.sock? Can you strace the ods-signer</DIV>
<DIV>>>command to see where it is trying to find the socket?</DIV>
<DIV>> Maybe there is a problem with my installation, I did not find anything in</DIV>
<DIV>> /var/run/opendnssec, not to say engie.sock.</DIV>
<DIV>> I just installed opendnssec and its dependencies with the guidance on the</DIV>
<DIV>> wiki. Any thing wrong?</DIV>
<DIV> </DIV>
<DIV>The ps output looks weird, how did you start OpenDNSSEC?</DIV>
<DIV> </DIV>
<DIV>Can you run: which ods-signerd</DIV>
<DIV> </DIV>
<DIV>What distribution/OS is this?</DIV>
<DIV> </DIV>
<DIV>Have you installed OpenDNSSEC on to this machine prior to this installation?</DIV>
<DIV> </DIV>
<DIV>/Jerry</DIV></DIV></BODY></HTML>