Menu

#5343 module Dhcp

1.940
open
nobody
module dhcp (1)
5
2020-01-15
2020-01-03
michael
No

hellon,
on ubuntu server 19.04, on webmin the start command, stop server dhcp does not work. nothing happens when you press the buttons.
I thinks it's a rights issue.
The same config is good on ubuntu server 18.04

dhcp module installation does not work from webmin, it's version problem isc-dhcp-serveur

thanks

Discussion

  • Jamie Cameron

    Jamie Cameron - 2020-01-05

    What command do you use from the shell to start or stop DHCPd on Ubuntu 19?

     
  • michael

    michael - 2020-01-09

    /etc/init.d/isc-dhcp-server start or service isc-dhcp-server start

    I tested these 2 command on webmin. commands start the service but the button on webmin remains start. If I choose the option "Run server executable" on "Command to start DHCP server" the button changes to "stop the server" but the status of the service remains at stop

     
  • Jamie Cameron

    Jamie Cameron - 2020-01-10

    The problem is more likely then that Webmin is looking in the wrong place for the DHCPd PID file. Does /var/run/dhcpd.pid exist on your system?

     
  • michael

    michael - 2020-01-10

    there is no dhcpd.pid file, how to create it?

     
  • Jamie Cameron

    Jamie Cameron - 2020-01-13

    Does that file exist anywhere under /var on your system?

     
  • michael

    michael - 2020-01-13

    the file doen't exitst anywhere

     
  • Ilia

    Ilia - 2020-01-13

    You need to make sure that DHCP is running then.

     
  • michael

    michael - 2020-01-13

    thanks is run the file is /run/dhcp-server/dhcpd.pid

     
  • Jamie Cameron

    Jamie Cameron - 2020-01-15

    Ok .. as a quick fix, you can edit /etc/webmin/dhcpd/config and change the path in the pid_file= line to be correct.

     

Log in to post a comment.