Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 504
    • Issues 504
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 51
    • Merge requests 51
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • KeaKea
  • Issues
  • #2398

Closed
Open
Created May 02, 2022 by mike ring@ringo

kea fails to start after system reboot. Unable to open '/var/run/kea/'

Debian 11.3 kea 2.0.2

kea fails to start after reboot: kea-dhcp4: Fatal error during start up: Unable to open PID file '/var/run/kea/kea-dhcp4.kea-dhcp4.pid' for write

I think what is happening is that "/var/run/kea" is created at install, but after a system reboot, the system cleans the /var/run/ directory, removing the /var/run/kea directory. So when kea starts again, it fails.

need to mkdir /var/run/kea first to make it start.

EDIT: I have just found a "create_lockfile_dir" routine in the /etc/init.d/isc-kea-dhcp4-server startup script, with KEA_LOCKFILE_DIR=/run/lock/kea/ changing this to KEA_LOCKFILE_DIR=/run/kea/ seems to fix the problem.

Edited May 02, 2022 by mike ring
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking