SOLVED: dnsmasq service failed
Posted: Wed Feb 23, 2022 4:56 am
Hello, I recently had a power failure and on restarting my HDA, it was unable to provide dhcp leases. I had to resort to router dhcp.
A dnsmasq status returned the following:
[******@localhost ~]$ systemctl status dnsmasq
● dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2022-02-23 19:29:19 AWST; 20min ago
Process: 25637 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=2)
Main PID: 25637 (code=exited, status=2)
Feb 23 19:29:19 localhost.localdomain systemd[1]: Started DNS caching server..
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: dnsmasq: failed to bind DHCP server socket: Addr
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: failed to bind DHCP server socket: Address alrea
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: FAILED to start up
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Main process exited, code=exited, s
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Unit entered failed state.
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Not sure how to fix......
Thanks in advance.
A dnsmasq status returned the following:
[******@localhost ~]$ systemctl status dnsmasq
● dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2022-02-23 19:29:19 AWST; 20min ago
Process: 25637 ExecStart=/usr/sbin/dnsmasq -k (code=exited, status=2)
Main PID: 25637 (code=exited, status=2)
Feb 23 19:29:19 localhost.localdomain systemd[1]: Started DNS caching server..
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: dnsmasq: failed to bind DHCP server socket: Addr
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: failed to bind DHCP server socket: Address alrea
Feb 23 19:29:19 localhost.localdomain dnsmasq[25637]: FAILED to start up
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Main process exited, code=exited, s
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Unit entered failed state.
Feb 23 19:29:19 localhost.localdomain systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Not sure how to fix......
Thanks in advance.