logo       

on commit, no such function error: msg#00377

network.dhcp.isc.dhcp-server

Subject: on commit, no such function error

*** From dhcp-server -- To unsubscribe, see the end of this message. ***


When I try to use "on commit" the get the following error in the DHCP Server
log:

Jan 23 14:48:38 devgate dhcpd: execute: no such function.
Jan 23 14:48:38 devgate dhcpd: executed callout10.100.30.56

Here is an excerpt from my dhcpd.conf file:

subnet 172.29.17.0 netmask 255.255.255.0
{
range 172.29.17.10 172.29.17.20;
}

subnet 10.100.30.0 netmask 255.255.255.0
{
range 10.100.30.56 10.100.30.56;
}

on commit {
set client=binary-to-ascii (10,8,".",leased-address);
set program="/dhcpcallout";
log (concat("program to execute:",program));
execute (program,"--message",client);
log (concat("executed callout",client));
}

The program, dhcpcallout, is a simple shell script that echo's some text
into another file when executed. I have been searching all over the place
for information on the use of this feature to try and figure out why I am
receiving the error above. Assistance would be greatly appreciated. Also,
can anyone point me to more detailed documentation pertaining to "on commit,
on release, on expiry, and execute"?

Thanks,

============================================
John Jason Brzozowski
jjmb@xxxxxxxx
============================================


-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe : http://www.isc.org/dhcp-lists.html
-or- : mailto:dhcp-server-request@xxxxxxx?Subject=unsubscribe
-----------------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise