Discussion:
[Dnsmasq-discuss] cannot start dnsmasq
Christophe Massez
2018-06-29 13:39:59 UTC
Permalink
Hi all,

I've updated my linux machine (debian jessie) yesterday and dnsmasq cannot
start - no change made in config file, here the log :

Jun 29 15:29:00 vterminal systemd[1]: Starting dnsmasq - A lightweight DHCP
and caching DNS server...
Jun 29 15:29:00 vterminal dnsmasq[29555]: dnsmasq: vérification de syntaxe
OK.
Jun 29 15:29:00 vterminal dnsmasq[29557]: la ligne de commande contient des
éléments indésirables ou incompréhensibles
Jun 29 15:29:00 vterminal dnsmasq[29557]: IMPOSSIBLE de démarrer
Jun 29 15:29:00 vterminal systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Jun 29 15:29:00 vterminal systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
Jun 29 15:29:00 vterminal systemd[1]: Dependency failed for Host and
Network Name Lookups.
Jun 29 15:29:00 vterminal systemd[1]: Unit dnsmasq.service entered failed
state.
Jun 29 15:29:00 vterminal dnsmasq[29557]: dnsmasq: la ligne de commande
contient des éléments indésirables ou incompréhensibles

I also try on a fresh install (still debian jessie), and I've the same
problem.

In both cases :
***@vterminal:~# dnsmasq --test
dnsmasq: vérification de syntaxe OK.


Any clue about this error ? Any help will be very welcome.
Christophe
Simon Kelley
2018-06-29 14:53:46 UTC
Permalink
It's a bad interaction between two packages and it's proving difficult
to get the maintainers for jessie to sort it. The problem is that the
format of a file in dns-root-data changed.

The simplest solution would be to remove the dns-root-data package from
your install.


Cheers,

Simon.
Post by Christophe Massez
Hi all,
I've updated my linux machine (debian jessie) yesterday and dnsmasq
Jun 29 15:29:00 vterminal systemd[1]: Starting dnsmasq - A lightweight
DHCP and caching DNS server...
Jun 29 15:29:00 vterminal dnsmasq[29555]: dnsmasq: vérification de
syntaxe OK.
Jun 29 15:29:00 vterminal dnsmasq[29557]: la ligne de commande contient
des éléments indésirables ou incompréhensibles
Jun 29 15:29:00 vterminal dnsmasq[29557]: IMPOSSIBLE de démarrer
Jun 29 15:29:00 vterminal systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Jun 29 15:29:00 vterminal systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
Jun 29 15:29:00 vterminal systemd[1]: Dependency failed for Host and
Network Name Lookups.
Jun 29 15:29:00 vterminal systemd[1]: Unit dnsmasq.service entered
failed state.
Jun 29 15:29:00 vterminal dnsmasq[29557]: dnsmasq: la ligne de commande
contient des éléments indésirables ou incompréhensibles
I also try on a fresh install (still debian jessie), and I've the same
problem.
In both cases : 
dnsmasq: vérification de syntaxe OK.
Any clue about this error ?  Any help will be very welcome.
Christophe
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Christophe Massez
2018-06-29 17:36:05 UTC
Permalink
I didn't try the locale suggestion but removing package dns-root-data save
my life, many thanks Simon :-)
Post by Simon Kelley
It's a bad interaction between two packages and it's proving difficult
to get the maintainers for jessie to sort it. The problem is that the
format of a file in dns-root-data changed.
The simplest solution would be to remove the dns-root-data package from
your install.
Cheers,
Simon.
Post by Christophe Massez
Hi all,
I've updated my linux machine (debian jessie) yesterday and dnsmasq
Jun 29 15:29:00 vterminal systemd[1]: Starting dnsmasq - A lightweight
DHCP and caching DNS server...
Jun 29 15:29:00 vterminal dnsmasq[29555]: dnsmasq: vérification de
syntaxe OK.
Jun 29 15:29:00 vterminal dnsmasq[29557]: la ligne de commande contient
des éléments indésirables ou incompréhensibles
Jun 29 15:29:00 vterminal dnsmasq[29557]: IMPOSSIBLE de démarrer
Jun 29 15:29:00 vterminal systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Jun 29 15:29:00 vterminal systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
Jun 29 15:29:00 vterminal systemd[1]: Dependency failed for Host and
Network Name Lookups.
Jun 29 15:29:00 vterminal systemd[1]: Unit dnsmasq.service entered
failed state.
Jun 29 15:29:00 vterminal dnsmasq[29557]: dnsmasq: la ligne de commande
contient des éléments indésirables ou incompréhensibles
I also try on a fresh install (still debian jessie), and I've the same
problem.
dnsmasq: vérification de syntaxe OK.
Any clue about this error ? Any help will be very welcome.
Christophe
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
john doe
2018-06-29 14:57:04 UTC
Permalink
Post by Christophe Massez
Hi all,
I've updated my linux machine (debian jessie) yesterday and dnsmasq cannot
Jun 29 15:29:00 vterminal systemd[1]: Starting dnsmasq - A lightweight DHCP
and caching DNS server...
Jun 29 15:29:00 vterminal dnsmasq[29555]: dnsmasq: vérification de syntaxe
OK.
Jun 29 15:29:00 vterminal dnsmasq[29557]: la ligne de commande contient des
éléments indésirables ou incompréhensibles
Jun 29 15:29:00 vterminal dnsmasq[29557]: IMPOSSIBLE de démarrer
Jun 29 15:29:00 vterminal systemd[1]: dnsmasq.service: control process
exited, code=exited status=1
Jun 29 15:29:00 vterminal systemd[1]: Failed to start dnsmasq - A
lightweight DHCP and caching DNS server.
Jun 29 15:29:00 vterminal systemd[1]: Dependency failed for Host and
Network Name Lookups.
Jun 29 15:29:00 vterminal systemd[1]: Unit dnsmasq.service entered failed
state.
Jun 29 15:29:00 vterminal dnsmasq[29557]: dnsmasq: la ligne de commande
contient des éléments indésirables ou incompréhensibles
I also try on a fresh install (still debian jessie), and I've the same
problem.
dnsmasq: vérification de syntaxe OK.
Any clue about this error ? Any help will be very welcome.
The configuration of Dnsmasq is sane as shown by the '--test' option.

Do you have non-ascii characters in '/etc/default/dnsmasq' or did you
modify in any way '/etc/init.d/dnsmasq'?
Can you change the language of your system to English and see if the
error is fixed?:

$ dpkg-reconfigure locales
--
John Doe
Continue reading on narkive:
Loading...