<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Hello Lawrence:<br>
<br>
Sounds like there is something wrong with the package. In addition
to reaching out the packager, you may consider downloading the
source from us, directly, and building it yourself:<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.isc.org/downloads">https://www.isc.org/downloads</a><br>
<br>
<br>
Regards,<br>
<br>
Thomas Markwalder<br>
ISC Software Engineering<br>
<br>
<br>
</tt><br>
<div class="moz-cite-prefix">On 07/25/2018 09:59 AM, McBride
Lawrence wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7D4EB2E1C3D3E442A555A6BF765849FD5927D687@EXCH01.xmerseyhc.nhs.uk">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",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.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Arial",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi
Jason,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Unfortunately
that did not work either. I have searched through as many
forums as I can for this and can’t seem to get any closer to
an answer. I have just tried running the server directly and
got the following:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">[mcbridl@im-netdhcp1
sbin]$ sudo kea-dhcp4 -c /opt/kea/etc/kea/kea-dhcp4.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Segmentation
fault<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US">[mcbridl@im-netdhcp1
sbin]$<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:black">Lawrence
McBride<o:p></o:p></span></b></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:black">Head
of Voice and Data Networks<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#8A1538">NHS
Informatics Merseyside<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">a
</span></b><span
style="font-family:"Arial",sans-serif;color:black">Saturn
House, Knowsley Business Park, Liverpool. L34 9GJ<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">t
</span></b><span
style="font-family:"Arial",sans-serif;color:black">0151
296 7668<o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">m
</span></b><span
style="font-family:"Arial",sans-serif;color:#1F497D">07795
370190</span><b><span
style="font-family:"Arial",sans-serif;color:#005EB8"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">e
</span></b><span
style="font-family:"Arial",sans-serif;color:#005EB8"><a class="moz-txt-link-abbreviated" href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk">Lawrence.Mcbride@imerseyside.nhs.uk</a></span><span
style="font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#005EB8">Say
hello</span><span
style="font-family:"Arial",sans-serif;color:black">
to us online at
</span><a href="http://www.imerseyside.nhs.uk"
moz-do-not-send="true"><span
style="font-family:"Arial",sans-serif;color:#0563C1">www.imerseyside.nhs.uk</span></a><span
style="font-family:"Arial",sans-serif;color:black">
or
</span><span
style="font-family:"Arial",sans-serif;color:#005EB8">follow
us</span><span
style="font-family:"Arial",sans-serif;color:black">
on twitter
</span><span
style="font-family:"Arial",sans-serif;color:#005EB8">@nhsimerseyside</span><span
style="font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><img
style="width:1.7604in;height:.5833in" id="Picture_x0020_3"
src="cid:part2.45383EAA.52C16F04@isc.org"
alt="Exceptionalsize14" class="" width="169" height="56"
border="0">
</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#002060"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">Advance Notification of absence:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">17<sup>th</sup>
of August to 6<sup>th</sup> of September 2018<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> Jason Guy [<a class="moz-txt-link-freetext" href="mailto:jguy@cumulusnetworks.com">mailto:jguy@cumulusnetworks.com</a>]
<br>
<b>Sent:</b> 19 July 2018 13:33<br>
<b>To:</b> McBride Lawrence
<a class="moz-txt-link-rfc2396E" href="mailto:Lawrence.McBride@imerseyside.nhs.uk"><Lawrence.McBride@imerseyside.nhs.uk></a><br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:marcin@isc.org">marcin@isc.org</a>; KEA-Users
(<a class="moz-txt-link-abbreviated" href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>) <a class="moz-txt-link-rfc2396E" href="mailto:kea-users@lists.isc.org"><kea-users@lists.isc.org></a><br>
<b>Subject:</b> Re: [Kea-users] DHCP4 not starting or
writing log file<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Lawrence,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I see, you are running this with
keactrl. In that case, you should be able to do this:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">sudo
KEA_LOGGER_DESTINATION=/var/log/kea/dhcp4.log keactrl start
-s dhcp4<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I don't use centos/rhel normally, so
I hope this works.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Jason<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Jul 19, 2018 at 6:37 AM McBride
Lawrence <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>
wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC
1.0pt;padding:0cm 0cm 0cm
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif">Hi
Jason,</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif">So,
if I’m understanding you correctly, you suggest
creating a service for the dhcp4 server and
modifying the
<strong><span
style="font-family:"Arial",sans-serif;background:#FAFAFA;font-weight:normal">kea-dhcp4-server.service
file to suit?</span></strong></span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:black">Lawrence
McBride</span></b><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:black">Head of
Voice and Data Networks</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:#8A1538">NHS
Informatics Merseyside</span></b><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">a
</span></b><span
style="font-family:"Arial",sans-serif;color:black">Saturn
House, Knowsley Business Park, Liverpool. L34 9GJ</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">t
</span></b><span
style="font-family:"Arial",sans-serif;color:black">0151
296 7668</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">m
</span></b><span
style="font-family:"Arial",sans-serif;color:#1F497D">07795
370190</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-family:"Arial",sans-serif;color:#005EB8">e
</span></b><a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true"><span
style="font-family:"Arial",sans-serif">Lawrence.Mcbride@imerseyside.nhs.uk</span></a><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:#005EB8">Say hello</span><span
style="font-family:"Arial",sans-serif;color:black"> to us
online at
</span><a href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true"><span
style="font-family:"Arial",sans-serif;color:#0563C1">www.imerseyside.nhs.uk</span></a><span
style="font-family:"Arial",sans-serif;color:black"> or
</span><span
style="font-family:"Arial",sans-serif;color:#005EB8">follow
us</span><span
style="font-family:"Arial",sans-serif;color:black">
on twitter
</span><span
style="font-family:"Arial",sans-serif;color:#005EB8">@nhsimerseyside</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black"><img
style="width:1.7604in;height:.5833in"
id="_x0000_i1025"
src="cid:image001.png@01D41EA4.57562440"
alt="Exceptionalsize14" moz-do-not-send="true"
width="169" height="56" border="0"></span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">
</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#002060"> </span></b><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">Advance Notification of absence:</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:red">17<sup>th</sup>
of August to 6<sup>th</sup> of September 2018</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-family:"Arial",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US"> Jason Guy [mailto:</span><a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">jguy@cumulusnetworks.com</span></a><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">]
<br>
<b>Sent:</b> 18 July 2018 14:00<br>
<b>To:</b> McBride Lawrence <</span><a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">Lawrence.McBride@imerseyside.nhs.uk</span></a><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">><br>
<b>Cc:</b> </span><a href="mailto:marcin@isc.org"
target="_blank" moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">marcin@isc.org</span></a><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">; KEA-Users (</span><a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">kea-users@lists.isc.org</span></a><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">) <</span><a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">kea-users@lists.isc.org</span></a><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"
lang="EN-US">><br>
<b>Subject:</b> Re: [Kea-users] DHCP4 not starting
or writing log file</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi
Lawrence,<o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">For
the Debian package, I set these in the systemd
service file. If you want to have a look, I am
sure you can adjust these the same way, since
CentOS uses systemd as well. Here is a link to the
<a
href="https://salsa.debian.org/debian/isc-kea/blob/master/debian/kea-ctrl-agent.service"
target="_blank" moz-do-not-send="true">
kea-ctrl-agent.service</a> file for the debian
package.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This
goes back to the idea I mentioned a few months ago
on this list, it would probably be better to have
a variable file in /etc/default or /etc/sysconfig
(in centos). Here it would allow users to
customize the destinations easier. The service
simply sources these files to dynamically set the
env variables.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cheers,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Jason<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On
Wed, Jul 18, 2018 at 6:39 AM McBride Lawrence <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk" target="_blank"
moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>
wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid
#CCCCCC 1.0pt;padding:0cm 0cm 0cm
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal"
style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Right,<br>
<br>
I tried export KEA_LOGGER_DESTINATION=stdout as
root and then keactrl start -s dhcp4 but I'm still
not receiving any error messages.<br>
<br>
Was my export the correct way to set the variable?<br>
<br>
Lawrence McBride<br>
Head of Voice and Data Networks<br>
<br>
NHS Informatics Merseyside<br>
a Saturn House, Knowsley Business Park,
Liverpool. L34 9GJ<br>
t 0151 296 7668<br>
m 07795 370190<br>
e <a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a><br>
<br>
Say hello to us online at <a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">
www.imerseyside.nhs.uk</a> or follow us on
twitter @nhsimerseyside<br>
<br>
<br>
<br>
Advance Notification of absence:<br>
17th of August to 6th of September 2018<br>
<br>
<br>
-----Original Message-----<br>
From: McBride Lawrence <br>
Sent: 18 July 2018 11:35<br>
To: 'Marcin Siodelski' <<a
href="mailto:marcin@isc.org" target="_blank"
moz-do-not-send="true">marcin@isc.org</a>>;
Jason Guy <<a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true">jguy@cumulusnetworks.com</a>><br>
Cc: KEA-Users (<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>)
<<a href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>><br>
Subject: RE: [Kea-users] DHCP4 not starting or
writing log file<br>
<br>
Thanks for that tip.<br>
<br>
I can see the kea.log file and the lockfile are
present in the default dir you mentioned as I
successfully got the kea-ctrl-agent to work and
there are messages in the file.<br>
<br>
Where do I set the KEA_LOGGER_DESTINATION
environment variable? If I can set it stdout the I
should get info on the cli after I issue the start
command.<br>
<br>
Lawrence McBride<br>
Head of Voice and Data Networks<br>
<br>
NHS Informatics Merseyside<br>
a Saturn House, Knowsley Business Park,
Liverpool. L34 9GJ t 0151 296 7668 m 07795
370190 e
<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a><br>
<br>
Say hello to us online at <a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">
www.imerseyside.nhs.uk</a> or follow us on
twitter @nhsimerseyside<br>
<br>
<br>
<br>
Advance Notification of absence:<br>
17th of August to 6th of September 2018<br>
<br>
<br>
-----Original Message-----<br>
From: Marcin Siodelski [mailto:<a
href="mailto:marcin@isc.org" target="_blank"
moz-do-not-send="true">marcin@isc.org</a>]<br>
Sent: 17 July 2018 16:29<br>
To: McBride Lawrence <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>;
Jason Guy <<a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true">jguy@cumulusnetworks.com</a>><br>
Cc: KEA-Users (<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>)
<<a href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>><br>
Subject: Re: [Kea-users] DHCP4 not starting or
writing log file<br>
<br>
One of the problems with logging configuration is
that until you successfully configure the server
it can't really use the log file location
specified in the Kea configuration file. Instead
it will use default locations.<br>
<br>
The following section of the Kea User's Guide:<br>
<br>
<a
href="https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#logging-during-startup"
target="_blank" moz-do-not-send="true">https://jenkins.isc.org/job/Kea_doc/guide/kea-guide.html#logging-during-startup</a><br>
<br>
describes how to influence where the default
logging goes. This may help you determine why the
server is not starting. The location of the
default log file being used before the server
configures is prefix/var/kea/kea.log, where prefix
is where Kea server is installed.<br>
After the server is started and configured
successfully, the logging should go to the
locations specified in the Kea config files.<br>
<br>
Marcin Siodelski<br>
ISC Engineering<br>
<br>
On 17.07.2018 16:49, McBride Lawrence wrote:<br>
> Centos 7.4<br>
> <br>
> <br>
> <br>
> *Lawrence McBride*<br>
> <br>
> Head of Voice and Data Networks<br>
> <br>
> <br>
> <br>
> *NHS Informatics Merseyside*<br>
> <br>
> *a *Saturn House, Knowsley Business Park,
Liverpool. L34 9GJ<br>
> <br>
> *t *0151 296 7668<br>
> <br>
> *m *07795 370190**<br>
> <br>
> *e *<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a><br>
> <br>
> <br>
> <br>
> Say helloto us online at <a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">
www.imerseyside.nhs.uk</a> <br>
> <<a href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">http://www.imerseyside.nhs.uk</a>>or
follow uson twitter @nhsimerseyside<br>
> <br>
> <br>
> <br>
> Exceptionalsize14<br>
> <br>
> * *<br>
> <br>
> Advance Notification of absence:<br>
> <br>
> 17^th of August to 6^th of September 2018<br>
> <br>
> <br>
> <br>
> *From:*Jason Guy [mailto:<a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true">jguy@cumulusnetworks.com</a>]<br>
> *Sent:* 17 July 2018 15:35<br>
> *To:* McBride Lawrence <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>><br>
> *Cc:* KEA-Users (<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>)
<<a href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>><br>
> *Subject:* Re: [Kea-users] DHCP4 not starting
or writing log file<br>
> <br>
> <br>
> <br>
> Was this installed from the Debian Sid repo,
or is this on RHEL/CentOS?<br>
> <br>
> <br>
> <br>
> Thanks,<br>
> Jason<br>
> <br>
> <br>
> <br>
> On Tue, Jul 17, 2018 at 10:18 AM McBride
Lawrence <br>
> <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a><br>
> <mailto:<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>>
wrote:<br>
> <br>
> Hi,<br>
> <br>
> <br>
> <br>
> Sorry,<br>
> <br>
> <br>
> <br>
> Version 1.4<br>
> <br>
> File and dir exist<br>
> <br>
> I am starting the services as root<br>
> <br>
> <br>
> <br>
> *Lawrence McBride*<br>
> <br>
> Head of Voice and Data Networks<br>
> <br>
> <br>
> <br>
> *NHS Informatics Merseyside*<br>
> <br>
> *a *Saturn House, Knowsley Business
Park, Liverpool. L34 9GJ<br>
> <br>
> *t *0151 296 7668<br>
> <br>
> *m *07795 370190<br>
> <br>
> *e *<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a><br>
> <mailto:<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a>><br>
> <br>
> <br>
> <br>
> Say helloto us online at <a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">
www.imerseyside.nhs.uk</a><br>
> <<a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">http://www.imerseyside.nhs.uk</a>>or
follow uson twitter
<br>
> @nhsimerseyside<br>
> <br>
> <br>
> <br>
> Exceptionalsize14<br>
> <br>
> * *<br>
> <br>
> Advance Notification of absence:<br>
> <br>
> 17^th of August to 6^th of September 2018<br>
> <br>
> <br>
> <br>
> *From:*Jason Guy [mailto:<a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true">jguy@cumulusnetworks.com</a><br>
> <mailto:<a
href="mailto:jguy@cumulusnetworks.com"
target="_blank" moz-do-not-send="true">jguy@cumulusnetworks.com</a>>]<br>
> *Sent:* 17 July 2018 14:38<br>
> *To:* McBride Lawrence <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a><br>
> <mailto:<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>><br>
> *Cc:* KEA-Users (<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a><br>
> <mailto:<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>>)
<<a href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a><br>
> <mailto:<a
href="mailto:kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">kea-users@lists.isc.org</a>>><br>
> *Subject:* Re: [Kea-users] DHCP4 not
starting or writing log file<br>
> <br>
> <br>
> <br>
> Hi Lawrence,<br>
> <br>
> <br>
> <br>
> First, what version of Kea are you using?<br>
> <br>
> Does the log directory exist? I am not
sure if kea will create the<br>
> directory, as well as the file.<br>
> <br>
> Finally, make sure to start the service
as root or using sudo.<br>
> <br>
> <br>
> <br>
> Jason<br>
> <br>
> <br>
> <br>
> On Tue, Jul 17, 2018 at 6:02 AM McBride
Lawrence<br>
> <<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a><br>
> <mailto:<a
href="mailto:Lawrence.McBride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.McBride@imerseyside.nhs.uk</a>>>
wrote:<br>
> <br>
> Hi,<br>
> <br>
> <br>
> <br>
> I am starting just the dhcp4 server
with the following command:<br>
> <br>
> <br>
> <br>
> keactrl start -s dhcp4<br>
> <br>
> <br>
> <br>
> I get a corresponding message to say
it is starting:<br>
> <br>
> <br>
> <br>
> INFO/keactrl: Starting
/opt/kea/sbin/kea-dhcp4 -c<br>
> /opt/kea/etc/kea/kea-dhcp4.conf<br>
> <br>
> <br>
> <br>
> However, it doesn’t start as the
status output shows:<br>
> <br>
> <br>
> <br>
> keactrl status<br>
> <br>
> DHCPv4 server: inactive<br>
> <br>
> DHCPv6 server: inactive<br>
> <br>
> DHCP DDNS: inactive<br>
> <br>
> Control Agent: inactive<br>
> <br>
> Kea DHCPv4 configuration file:
/opt/kea/etc/kea/kea-dhcp4.conf<br>
> <br>
> Kea DHCPv6 configuration file:
/opt/kea/etc/kea/kea-dhcp6.conf<br>
> <br>
> Kea DHCP DDNS configuration file:<br>
> /opt/kea/etc/kea/kea-dhcp-ddns.conf<br>
> <br>
> Kea Control Agent configuration file:<br>
> /opt/kea/etc/kea/kea-ctrl-agent.conf<br>
> <br>
> keactrl configuration file:
/opt/kea/etc/kea/keactrl.conf<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> I get no log output either so have no
idea what is going on –<br>
> logging config below:<br>
> <br>
> <br>
> <br>
> "loggers": [<br>
> <br>
> {<br>
> <br>
> // This section affects
kea-dhcp4, which is the base<br>
> logger for DHCPv4<br>
> <br>
> // component. It tells DHCPv4
server to write all log<br>
> messages (on<br>
> <br>
> // severity INFO or more) to
a file.<br>
> <br>
> "name": "kea-dhcp4",<br>
> <br>
> "output_options": [<br>
> <br>
> {<br>
> <br>
> "output":
"/opt/kea/var/log/kea-dhcp4.log"<br>
> <br>
> // This governs
whether the log output is<br>
> flushed to disk after<br>
> <br>
> // every write.<br>
> <br>
> // "flush": false,<br>
> <br>
> // This specifies the
maximum size of the file<br>
> before it is<br>
> <br>
> // rotated. File size
is set to 10MB<br>
> (10240000)<br>
> <br>
> "maxsize": 10240000,<br>
> <br>
> // This specifies the
maximum number of rotated<br>
> files to keep.<br>
> <br>
> "maxver": 8<br>
> <br>
> }<br>
> <br>
> ],<br>
> <br>
> <br>
> <br>
> *Lawrence McBride*<br>
> <br>
> Head of Voice and Data Networks<br>
> <br>
> <br>
> <br>
> *NHS Informatics Merseyside*<br>
> <br>
> *a *Saturn House, Knowsley Business
Park, Liverpool. L34 9GJ<br>
> <br>
> *t *0151 296 7668<br>
> <br>
> *m *07795 370190<br>
> <br>
> *e *<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a><br>
> <mailto:<a
href="mailto:Lawrence.Mcbride@imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">Lawrence.Mcbride@imerseyside.nhs.uk</a>><br>
> <br>
> <br>
> <br>
> Say helloto us online at <a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">
www.imerseyside.nhs.uk</a><br>
> <<a
href="http://www.imerseyside.nhs.uk"
target="_blank" moz-do-not-send="true">http://www.imerseyside.nhs.uk</a>>or
follow uson twitter<br>
> @nhsimerseyside<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> * *<br>
> <br>
> Advance Notification of absence:<br>
> <br>
> 17^th of August to 6^th of September
2018<br>
> <br>
> <br>
> <br>
>
_______________________________________________<br>
> Kea-users mailing list<br>
> <a
href="mailto:Kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">Kea-users@lists.isc.org</a>
<mailto:<a
href="mailto:Kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">Kea-users@lists.isc.org</a>><br>
> <a
href="https://lists.isc.org/mailman/listinfo/kea-users"
target="_blank" moz-do-not-send="true">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
> <br>
> <br>
> <br>
>
_______________________________________________<br>
> Kea-users mailing list<br>
> <a href="mailto:Kea-users@lists.isc.org"
target="_blank" moz-do-not-send="true">Kea-users@lists.isc.org</a><br>
> <a
href="https://lists.isc.org/mailman/listinfo/kea-users"
target="_blank" moz-do-not-send="true">https://lists.isc.org/mailman/listinfo/kea-users</a><br>
> <o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kea-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a>
</pre>
</blockquote>
<br>
</body>
</html>