Debian12 Failure - Failed to restart systemd-resolved.service

400 views
Skip to first unread message

Colly Donohoe

unread,
Jan 4, 2024, 10:38:50 AM1/4/24
to dSIPRouter
Hi,

Installation fails using the one line version script. 

Fresh install of Debian 12 on Vultr.

I see from other threads that DNS has to be set correctly in Vutlr settings, which I have done. DNS is resolving to the correct IP.

See attached snip for failure in the log.

Any help would be appreciated, thanks.


Debian10 Fail - Vultr.PNG

Mack Hendricks

unread,
Jan 4, 2024, 12:32:14 PM1/4/24
to Colly Donohoe, dSIPRouter
Weird issue!  I don’t think we tested on Vultr in a while.  Are you using 0.74?

Mack Hendricks
Chief Flyball
dOpenSource / DetroitPBX, Flyball Companies 
Direct: 313-789-1313 (SMS Enabled)

On Jan 4, 2024, at 10:38 AM, Colly Donohoe <collydo...@gmail.com> wrote:

Hi,
--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/66f8b64d-9f7c-449e-a5f9-efbf83a80e5en%40googlegroups.com.
<Debian10 Fail - Vultr.PNG>

Colly Donohoe

unread,
Jan 4, 2024, 2:08:27 PM1/4/24
to Mack Hendricks, dSIPRouter
Hey Mack, yes it's 0.74.

Colly Donohoe

unread,
Jan 5, 2024, 10:37:58 AM1/5/24
to Mack Hendricks, dSIPRouter
A bit more information from the console;

image.png

JB Will

unread,
Feb 10, 2024, 11:49:08 AM2/10/24
to dSIPRouter
Im getting the exact same failure on Debian 11 & Debian 12 installing on LXC containers. 

chrome_wrPTPnhXRK.png

Alagappan Karthikeyan

unread,
Feb 11, 2024, 2:23:02 AM2/11/24
to dSIPRouter
I tried all OS debian 10,11,12 centos 7 and 8
I am getting installation failure too
I was able to install successfuly in december 2023  an instance is still running based on debian 11
but today I am getting installation failure too, some times its mysql installation error and most of the time its the below screen shot error
I tried hetzner, ovh
image.png
Message has been deleted

Olivier Marchand

unread,
May 8, 2024, 3:28:27 PM5/8/24
to dSIPRouter
Hi.

About the same here.
A clean install of Debian 12 (NetInstall ISO used)  and my system died during the install of dSiprouter when trying to install dnsmasq

npacking dnsmasq-base (2.89-1) ...
Selecting previously unselected package dnsmasq.
Preparing to unpack .../dnsmasq_2.89-1_all.deb ...
Unpacking dnsmasq (2.89-1) ...
Setting up dns-root-data (2023010101) ...
Setting up libnfnetlink0:amd64 (1.0.2-2) ...
Setting up libnetfilter-conntrack3:amd64 (1.0.9-3) ...
Setting up dnsmasq-base (2.89-1) ...
Setting up dnsmasq (2.89-1) ...
Failed to preset unit, unit /etc/systemd/system/dnsmasq.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on dnsmasq.service: No such file or directory
Processing triggers for libc-bin (2.36-9+deb12u7) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Removed "/etc/systemd/system/dnsmasq.service".
Synchronizing state of dnsmasq.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable dnsmasq
Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service.
client_loop: ssh_packet_write_poll: Connection to 192.168.10.35 port 22: Host is down

I reconnect to the host,  edit /etc/resolv.conf to add :

nameserver 8.8.8.8

restart the installation process as usual and it did work on 2nd try.

thanks.


Mack Hendricks

unread,
May 8, 2024, 3:51:56 PM5/8/24
to Olivier Marchand, dSIPRouter
Yeah…we have no idea why it dies on dnsmasq.  We are in the process of disabling dnsmasq from the install until we have a better understanding of the issue 

Mack Hendricks
Chief Flyball
dOpenSource / DetroitPBX, Flyball Companies 
Direct: 313-789-1313 (SMS Enabled)

On May 8, 2024, at 3:28 PM, Olivier Marchand <olivier....@gmail.com> wrote:

Hi.

Bogdan Sirbu

unread,
May 9, 2024, 10:11:03 AM5/9/24
to dSIPRouter
I have tried several times to install it too, on my local proxmox but it stops at  dnsmasq, Hope to see this disable soon as I would like to install the software.

Blake Ivey

unread,
May 9, 2024, 4:51:38 PM5/9/24
to dSIPRouter
Setup your network interface to use systemd. By default it is using /etc/network/interfaces and that caused all my install issues on Debian 12 / XCP-NG. 

nano /etc/systemd/network/11-wan.network:

[Match]
Name=your_interface_name

[Network]
Address=ip_address/subnet
Gateway=gateway
DNS=9.9.9.9
DNS=1.1.1.1

Save file. 

mv /etc/network/interfaces /etc/network/interfaces.backup 
systemctl restart systemd-networkd

Make sure you have Internet working. Reboot. restart again to get it back up. If its good then run: 

systemctl enable systemd-networkd.service

Proceed to install dsiprouter. I used 0.75 and it installed without issue. 

Bogdan Sirbu

unread,
May 9, 2024, 5:23:10 PM5/9/24
to dSIPRouter
Thank you I will try it. 

Blake Ivey

unread,
May 13, 2024, 2:40:45 PM5/13/24
to dSIPRouter
Just wondering if that worked for you as well?

Alex Eedpuganti

unread,
May 20, 2024, 3:18:42 AM5/20/24
to dSIPRouter
i am also having very similar issues on debian 12 but as soon as i moved to Debian 11 all working fine .
Screenshot 2024-05-20 at 2.18.05 AM.png
Reply all
Reply to author
Forward
0 new messages