<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">[root@ns2 ~]# ods-control stop<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Stopping enforcer...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Stopping signer engine...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Engine shut down.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:red">[root@ns2 ~]# pidof ods-enforcerd<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">[root@ns2 ~]# ods-control start<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Starting enforcer...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">OpenDNSSEC ods-enforcerd started (version 1.4.5), pid
</span><b><span style="color:red">23792</span></b><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%"><o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Could not start enforcer<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:red">[root@ns2 ~]# pidof ods-enforcerd<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:red">23792<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">[root@ns2 ~]# ods-control start<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Starting enforcer...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">OpenDNSSEC ods-enforcerd started (version 1.4.5), pid 23807<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Starting signer engine...<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">OpenDNSSEC signer engine version 1.4.5<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">Engine running.<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span style="color:red">[root@ns2 ~]# pidof ods-enforcerd<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:red">23792<o:p></o:p></span></p>
<p class="MsoPlainText"><span style="color:#953735;mso-style-textfill-fill-color:#953735;mso-style-textfill-fill-alpha:100.0%">[root@ns2 ~]#<o:p></o:p></span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: Yuri Schaeffer [mailto:yuri@nlnetlabs.nl] <br>
Sent: Monday, September 01, 2014 2:49 PM<br>
To: Abdalmonem Tharwat Galila; opendnssec-user@lists.opendnssec.org<br>
Subject: Re: [Opendnssec-user] starting enforcer failed at first time " ods-control start" but second time to run "ods-control start" running !!!</p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">-----BEGIN PGP SIGNED MESSAGE-----<o:p></o:p></p>
<p class="MsoPlainText">Hash: SHA1<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On 01-09-14 13:26, Abdalmonem Tharwat Galila wrote:<o:p></o:p></p>
<p class="MsoPlainText">> What you mean by start script ?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I was referring to ods-control.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">> [root@ns2 ~]# pidof ods-enforcerd<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> 23558 22945<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">You forgot to check whether ods-enforcerd was already running. You should have killed it. Now have two daemons running.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">I suspect this went wrong in your previous attempts as well. So make sure nothing runs, clear stale pid files if any and try again.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards.<o:p></o:p></p>
<p class="MsoPlainText">Yuri<o:p></o:p></p>
<p class="MsoPlainText">-----BEGIN PGP SIGNATURE-----<o:p></o:p></p>
<p class="MsoPlainText">Version: GnuPG v1<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">iEYEARECAAYFAlQEXTEACgkQI3PTR4mhavhvRQCeNBsuu6GXk8ipuZUK5RdmImfz<o:p></o:p></p>
<p class="MsoPlainText">F5gAoJ8mIUZe/Ssoka9NbyHpgV8Iunke<o:p></o:p></p>
<p class="MsoPlainText">=qpft<o:p></o:p></p>
<p class="MsoPlainText">-----END PGP SIGNATURE-----<o:p></o:p></p>
</div>
</body>
</html>