Hi,

I notice that in 1.3.0-beta, keactrl doesn’t work…  

root@kea2:/home/jlixfeld/kea# uname -a
Linux kea2 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 
GNU/Linux
root@kea2:/home/jlixfeld/kea# cat /etc/debian_version
9.1
root@kea2:/home/jlixfeld/kea#

root@kea2:/home/jlixfeld/kea# more /usr/local/etc/kea/keactrl.conf
# This is a configuration file for keactrl script which controls
# the startup, shutdown, reconfiguration and gathering the status
# of the Kea's processes.

# prefix holds the location where the Kea is installed.
prefix=/usr/local

# Location of Kea configuration file.
kea_config_file=${prefix}/etc/kea/kea.conf

# Location of Kea binaries.
exec_prefix=${prefix}
dhcp4_srv=${exec_prefix}/sbin/kea-dhcp4
dhcp6_srv=${exec_prefix}/sbin/kea-dhcp6
dhcp_ddns_srv=${exec_prefix}/sbin/kea-dhcp-ddns
ctrl_agent_srv=${exec_prefix}/sbin/kea-ctrl-agent

# Start DHCPv4 server?
dhcp4=yes

# Start DHCPv6 server?
dhcp6=no

# Start DHCP DDNS server?
dhcp_ddns=no

# Start Control Agent?
ctrl_agent=yes

# Be verbose?
kea_verbose=no
root@kea2:/home/jlixfeld/kea# ls -al /usr/local/etc/kea/kea.conf
-rw-r--r-- 1 root staff 3004 Oct  6 23:11 /usr/local/etc/kea/kea.conf
root@kea2:/home/jlixfeld/kea#

root@kea2:/home/jlixfeld/kea# keactrl start
basename: missing operand
Try 'basename --help' for more information.
INFO/keactrl: Starting /usr/local/sbin/kea-dhcp4 -c
basename: missing operand
Try 'basename --help' for more information.
INFO/keactrl: Starting /usr/local/sbin/kea-ctrl-agent -c
root@kea2:/home/jlixfeld/kea# /usr/local/sbin/kea-dhcp4: option requires an 
argument -- 'c'
Kea DHCPv4 server, version 1.3.0-beta-git

Usage: kea-dhcp4 -[v|V|W] [-d] [-{c|t} cfgfile] [-p number]
  -v: print version number and exit
  -V: print extended version and exit
  -W: display the configuration report and exit
  -d: debug mode with extra verbosity (former -v)
  -c file: specify configuration file
  -t file: check the configuration file syntax and exit
  -p number: specify non-standard port number 1-65535 (useful for testing only)
Usage error: unsupported option: [c]
Usage: kea-ctrl-agent
  -v: print version number and exit
  -V: print extended version information and exit
  -W: display the configuration report and exit
  -d: optional, verbose output
  -c <config file name> : mandatory, specify name of configuration file
  -t <config file name> : check the configuration file and exit


root@kea2:/home/jlixfeld/kea# keactrl status
basename: missing operand
Try 'basename --help' for more information.
DHCPv4 server: inactive
basename: missing operand
Try 'basename --help' for more information.
DHCPv6 server: inactive
basename: missing operand
Try 'basename --help' for more information.
DHCP DDNS: inactive
basename: missing operand
Try 'basename --help' for more information.
Control Agent: inactive
Kea DHCPv4 configuration file:
Kea DHCPv6 configuration file:
Kea DHCP DDNS configuration file:
Kea Control Agent configuration file:
keactrl configuration file: /usr/local/etc/kea/keactrl.conf
ERROR/keactrl: Configuration file for Kea not specified.
root@kea2:/home/jlixfeld/kea#

_______________________________________________
Kea-users mailing list
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users

Reply via email to