• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]DHCP server not working
#9
Dear SteveO and Armin,

Thank you for giving me information.

In fact, my netpi's time was incorrect. However, after correcting time settings, the problem still occurs.

I found the messages in syslog that indicate dhcp server started, when the problem occurs.
However, I am not sure the situation is the same as you.

In my syslog, the below sequence repeated more than 10 times,
Code:
> <30>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 NetworkManager 954 - - dnsmasq: failed to create listening socket for 192.168.205.2: Cannot assign requested address
> <26>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 dnsmasq 2176 - - failed to create listening socket for 192.168.205.2: Cannot assign requested address
> <26>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 dnsmasq 2176 - - FAILED to start up
> <4>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 NetworkManager 954 - - <warn>  [1592904287.4311] dnsmasq[0x855b68]: dnsmasq exited with error: Network access problem (address in use, permissions) (2)
> <4>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 NetworkManager 954 - - <warn>  [1592904287.4322] dns-mgr: plugin dnsmasq child quit unexpectedly

and finally, child respawn is stopped for 300 seconds,
Code:
> <4>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 NetworkManager 954 - - <warn>  [1592904287.4322] dns-mgr: plugin dnsmasq child quit unexpectedly
> <4>1 2020-06-23T18:24:47+09:00 NTB827EBE916A2 NetworkManager 954 - - <warn>  [1592904287.4323] dns-mgr: plugin dnsmasq child respawning too fast, delaying update for 300 seconds

then, dhcp server started as below.(However, dhcp server does not works actually)
(It seems little bit strange. dhcp server started twice?)
Code:
> <30>1 2020-06-23T18:24:54+09:00 NTB827EBE916A2 dnsmasq 2269 - - started, version 2.78 cachesize 400
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - DBus support enabled: connected to system bus
> <28>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - warning: no upstream servers configured
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq-dhcp 2269 - - DHCP, IP range 192.168.205.3 -- 192.168.205.100, lease time 4h
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq-dhcp 2269 - - DHCP, sockets bound exclusively to interface wlan0
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - cleared cache
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - setting upstream servers from DBus
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - cleared cache
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2269 - - exiting on receipt of SIGTERM
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - started, version 2.78 cachesize 400
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - DBus support enabled: connected to system bus
> <28>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - warning: no upstream servers configured
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq-dhcp 2287 - - DHCP, IP range 192.168.205.3 -- 192.168.205.100, lease time 4h
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq-dhcp 2287 - - DHCP, sockets bound exclusively to interface wlan0
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - cleared cache
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - setting upstream servers from DBus
> <30>1 2020-06-23T18:24:58+09:00 NTB827EBE916A2 dnsmasq 2287 - - cleared cache

During the problem occuring, repowering does not solve the problem. Since, when I found the problem occuring, get a syslog and repower, then reget a syslog, and make a diff file, which has information about only single running. Attached is this diff file.(My privacy info, such as host name, is replaced)
Since I can not judge which logs are related to the problem, please reserch this file.

Best regards,


Attached Files
.zip   syslog_file.zip (Size: 105.33 KB / Downloads: 3)
  Reply


Messages In This Thread
[SOLVED]DHCP server not working - by m-yoshikawa - June-22nd-2020, 01:59 AM
RE: DHCP server not working - by Armin@netPI - June-22nd-2020, 04:49 AM
RE: DHCP server not working - by m-yoshikawa - June-22nd-2020, 07:57 AM
RE: DHCP server not working - by Armin@netPI - June-22nd-2020, 08:31 AM
RE: DHCP server not working - by m-yoshikawa - June-22nd-2020, 09:22 AM
RE: DHCP server not working - by SteveO - June-22nd-2020, 04:37 PM
RE: DHCP server not working - by Armin@netPI - June-23rd-2020, 08:02 AM
RE: DHCP server not working - by Armin@netPI - June-23rd-2020, 08:22 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 06:24 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 07:07 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 07:33 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 07:40 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 08:20 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 08:42 AM
RE: DHCP server not working - by m-yoshikawa - June-25th-2020, 06:37 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 06:52 AM
RE: DHCP server not working - by m-yoshikawa - June-25th-2020, 09:44 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 10:16 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 12:56 PM
RE: DHCP server not working - by m-yoshikawa - June-26th-2020, 05:39 AM
RE: DHCP server not working - by ioexpert - August-27th-2020, 01:30 PM
RE: [SOLVED]DHCP server not working - by m-yoshikawa - February-24th-2021, 07:47 AM
RE: [SOLVED]DHCP server not working - by tad - June-11th-2021, 02:03 AM
RE: [SOLVED]DHCP server not working - by Armin@netPI - June-11th-2021, 05:11 AM
RE: [SOLVED]DHCP server not working - by tad - June-11th-2021, 07:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hdmi not working s.stucchi 13 6,478 February-28th-2022, 09:24 AM
Last Post: Armin@netPI
  netPI opc ua server pull image error wswitula 3 3,256 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 4,538 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  REST API server data communication MGharat 2 2,560 July-21st-2021, 07:01 AM
Last Post: MGharat
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,252 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  Fieldbus Ports not working Schoko 13 8,997 June-29th-2020, 09:43 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,925 June-19th-2020, 01:12 AM
Last Post: DWxPro
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,920 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  Node Red stop working DSongra 1 3,030 February-12th-2020, 08:19 AM
Last Post: Armin@netPI
  PM - develope OPC UA Server using the Codesys Lingyue 5 4,268 January-17th-2020, 11:12 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)