Results 1 to 4 of 4

Thread: Can't create PID file /var/run/dhcpd.pid: No such file or directory.

  1. #1
    Join Date
    Jan 2009
    Beans
    180

    Can't create PID file /var/run/dhcpd.pid: No such file or directory.

    There seems to be a problem with the dhcp server (isc-dhcp-server).

    I can't get it to start.

    Code:
    dhcpd -f
    gives me
    Can't create PID file /var/run/dhcpd.pid: No such file or directory.
    I don't think dhcpd.pid is supposed to be in /var/run but rather in /var/run/dhcp-server

    I tried to google for this and found:


    which says this was supposedly fixed in the package isc-dhcp - 4.1.ESV-R4-0ubuntu5.1 and that is what I've got.

    It seems to be the latest version.

    This bug seems to go back several years but I can't find a fix.

    Any help please?

    AB

  2. #2
    Join Date
    Jan 2009
    Beans
    180

    Re: Can't create PID file /var/run/dhcpd.pid: No such file or directory.

    Well I think I found a workaround but I wouldn't call this SOLVED b/c I'm not all that confident in my fix.

    All I did was add the file:
    Code:
    -rw-r--r-- 1 dhcpd dhcpd 5 Jun 28 13:00 /var/run/dhcpd.pid
    Is this the right way to fix this?

    Thanks,

    AB

  3. #3
    Join Date
    Oct 2009
    Beans
    2

    Re: Can't create PID file /var/run/dhcpd.pid: No such file or directory.


  4. #4
    Join Date
    Jan 2009
    Beans
    180

    Re: Can't create PID file /var/run/dhcpd.pid: No such file or directory.

    Quote Originally Posted by piratox View Post
    Thanks. I saw the bug report which said it had already been fixed. But it wasn't fixed for me.

    AB

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •