root@calloracti:~# systemctl restart dnsmasq
Job for dnsmasq.service failed because the control process exited with error code.
See "systemctl status dnsmasq.service" and "journalctl -xeu dnsmasq.service" for details.
root@calloracti:~# systemctl status dnsmasq.service
x dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2025-09-05 09:09:15 CEST; 13s ago
Process: 14753 ExecStartPre=/usr/share/dnsmasq/systemd-helper checkconfig (code=exited, status=0/SUCCESS)
Process: 14759 ExecStart=/usr/share/dnsmasq/systemd-helper exec (code=exited, status=2)
CPU: 11ms
Sep 05 09:09:15 calloracti systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
Sep 05 09:09:15 calloracti systemd-helper[14759]: dnsmasq: failed to create listening socket for port 53: Address already in use
Sep 05 09:09:15 calloracti dnsmasq[14759]: failed to create listening socket for port 53: Address already in use
Sep 05 09:09:15 calloracti dnsmasq[14759]: FAILED to start up
Sep 05 09:09:15 calloracti systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Sep 05 09:09:15 calloracti systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Sep 05 09:09:15 calloracti systemd[1]: Failed to start dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
root@calloracti:~# journalctl -xeu dnsmasq.service
Sep 05 09:09:15 calloracti systemd[1]: Starting dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server...
-- Subject: A start job for unit dnsmasq.service has begun execution
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit dnsmasq.service has begun execution.
--
-- The job identifier is 1861.
Sep 05 09:09:15 calloracti systemd-helper[14759]: dnsmasq: failed to create listening socket for port 53: Address already in use
Sep 05 09:09:15 calloracti dnsmasq[14759]: failed to create listening socket for port 53: Address already in use
Sep 05 09:09:15 calloracti dnsmasq[14759]: FAILED to start up
Sep 05 09:09:15 calloracti systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit dnsmasq.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 2.
Sep 05 09:09:15 calloracti systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- The unit dnsmasq.service has entered the 'failed' state with result 'exit-code'.
Sep 05 09:09:15 calloracti systemd[1]: Failed to start dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
-- Subject: A start job for unit dnsmasq.service has failed
-- Defined-By: systemd
-- Support:
http://www.ubuntu.com/support
--
-- A start job for unit dnsmasq.service has finished with a failure.
--
-- The job identifier is 1861 and the job result is failed.
lines 67-99/99 (END)