I have an Ubuntu machine with two Ethernet network interfaces and on one of them I am running a DHCP server (isc-dhcp-server).

I noticed that the server daemon stops running whenever I suspend the machine and then I turn it on again.

Can I force the DHCP server to always run without any manual intervention (i.e. sudo service isc-dhcp-server restart)?

  • It hadn't stop on a suspension, there is some problem with your system. Maybe you could quickfix it. – user259412 Jul 31 '14 at 10:21
  • 2
    If you don't need the server, shut it down and don't suspend it to avoid problems. Suspend really should only be used on client hardware, never on servers. – Sven Jul 31 '14 at 10:31
  • @SvW There are cases if a server needs to be periodically suspended, and it is part of its normal day-to-day work. For example if it is running in a car. I admit it is the case not very often. – user259412 Jul 31 '14 at 12:04
  • All right, thank you SvW. Now I know. Your remark is what I was looking for. – Ricky Robinson Jul 31 '14 at 12:17
  • 1
    You can use configuration management to ensure the service is always running. CFEngine is my favourite. – Neil H Watson Jul 31 '14 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.