<div dir="auto">Ok Thanks Peter for the information</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 7 Aug 2019, 17:20 Peter Rathlev, <<a href="mailto:peter@rathlev.dk">peter@rathlev.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 2019-08-07 at 11:56 +0530, Surya Teja wrote:<br>
> Now I am trying the various log-facility statements available for<br>
> ISC dhcpd, from public forums I get the list like: auth, authpriv,<br>
> cron, daemon, ftp, kern, local0 through local7, lpr, mail, mark,<br>
> news, ntp, security, syslog, user and uucp are supportable but<br>
> <br>
> --->Getting the dhcpd syntax error while using the params(ntp, mark,<br>
> security)<br>
> [root@test tmp]# dhcpd -t -cf dhcpdserver.conf<br>
> dhcpdTemplate.conf line 2: unknown value<br>
> log-facility mark;<br>
> ^<br>
> dhcpdTemplate.conf line 2: expecting a parameter or declaration<br>
> log-facility mark;<br>
> ^<br>
<br>
The facilities "ntp", "mark" and "security" are not valid syslog<br>
facilities on a CentOS 7 server. As "dhcpd.conf" mentions: "Not all of<br>
these facilities are available on all systems, and there may be other<br>
facilities available on other systems.".<br>
<br>
Take a look at "man syslog.h" to see the complete list of valid<br>
facilities on your system.<br>
<br>
Just use another one, for example one of local0 .. local7.<br>
<br>
-- <br>
Peter<br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank" rel="noreferrer">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div>