The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.14-1~deb10u1 (Linux)
File Line Function
/showthread.php 895 errorHandler->error



  • 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting pilight on boot: "cannot bind to the SSDP multicast network"
#1
Hi, long time no see!

Currently trying to get pilight working on Debian Buster, but am running into issues with starting pilight on boot.
/var/log/pilight.log shows the following messages at each boot:

Code:
(/home/pilight/source/daemon-dev/daemon.c #3082) [Aug 31 12:09:23:655388] INFO: version v8.1.5
(/home/pilight/source/daemon-dev/daemon.c #3151) [Aug 31 12:09:23:764054] INFO: no pilight daemon found, daemonizing
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #168) [Aug 31 12:09:23:791098] INFO: daemon listening to port: 5000
(/home/pilight/source/daemon-dev/libs/pilight/core/ssdp.c #119) [Aug 31 12:09:23:791324] ERROR: cannot bind to the ssdp multicast network
(/home/pilight/source/daemon-dev/libs/pilight/core/ssdp.c #302) [Aug 31 12:09:23:800321] ERROR: could not determine default network interface
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #577) [Aug 31 12:09:23:801049] INFO: new client, ip: 127.0.0.1, port: 53048
(/home/pilight/source/daemon-dev/libs/pilight/core/webserver.c #1889) [Aug 31 12:09:23:820631] INFO: secured webserver started on port: 5002 (fd 18) 

Starting pilight manually after bootup works as expected, this specific node is supposed to clientize to a daemon running elsewhere on the network. But the SSDP discovery during bootup fails.

I've tried a bunch of things that worked when this issue occurred often a few years back, including
  • Checking the allowed runlevel and start-requires in the /etc/init.d/pilight file
  • Adding a sleep 5 to /etc/init.d/pilight
  • Adding lo network config in /etc/network/interfaces
  • Setting "wait for network during boot" to true in the raspi-config tool.
So now I'm out of ideas what to try.

OS:

Code:
Buster 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

on a raspi 2 (no ipv6 allowed).
 
Reply
  


Messages In This Thread
Starting pilight on boot: "cannot bind to the SSDP multicast network" - by pilino1234 - 08-31-2019, 02:42 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight for Raspbian Buster (raspberry pi 4) ? starob 32 7,407 Yesterday, 09:12 AM
Last Post: simanuel
  pilight switch node in node-red framp 0 245 06-24-2020, 10:01 PM
Last Post: framp
  pilight-control TML 13 920 05-27-2020, 07:51 AM
Last Post: curlymo
  API Requests by HTTP from other devices fore use in pilight scootermacro 2 423 05-10-2020, 08:19 AM
Last Post: scootermacro
  pilight-send seems successful but doesn't actually send RF signal ayeyebrazov 37 3,183 03-31-2020, 01:02 PM
Last Post: curlymo
  pilight 8.1.5 not working on Raspberry pi after reboot beejayf 4 869 03-08-2020, 12:14 AM
Last Post: beejayf
  pilight cpu usage possibly associated with noticeable sluggishness? hepcat72 4 922 01-28-2020, 08:02 PM
Last Post: hepcat72
  apt.pilight.org stable Release' is not signed. thomasol 2 957 01-23-2020, 11:34 PM
Last Post: thomasol
  pilight and SIGNALduino cc1101 Caleus 0 708 01-19-2020, 09:13 AM
Last Post: Caleus
  filter stopped working after update to pilight 8.1.5 zlin50 19 2,110 01-03-2020, 02:15 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)