• 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
Raspberry Pi 2
#1
hi,
I have just migrated from Raspi B+ to Raspi 2.
I use the same SD card and it works fine... except the start of the daemon after booting.
After the Raspi starts I must manually start pilight. I read, that it can help if I place a wait time in the init script. Unfotunally it doesn't work. In an other thread I read, it can be, that the pid file is not removed. But I don't know, how to fix this. Is there any work around, to start the daemon at boot time?
 
Reply
#2
Yes, I've seen this happen too. But as the RPis here don't reboot often it isn't usually a problem Wink
What you can do is to add this to /etc/rc.local:
Code:
service pilight stop
sleep 5
service pilight start
exit 0
 
Reply
#3
Running RPI2 with wheezy and pilight 7.0 with no problem since about 4 weeks ... only I had yesterday a stopping of pilight. Don't see the reason, the log files don't have any indications.

Assuming it was not a user error, how to analyze that situation? Which log-files to check/list and maybe setting a more detailed logging?
 
Reply
#4
You could try running it in a gdb session.
 
Reply
#5
No question would be possible .. but I would like to review the "standard" pilight log files .. could you please individually name then here, thanks.
Looked in the manual, no success for that.
 
Reply
#6
https://manual.pilight.org/en/configurat...ttings#pf2
It is in the manual Wink

On that page you'll also find the setting to increase the log-level just below the one where you define the path to a log file.

Check /var/log/pilight.log and /var/log/pilight.err (if that exists).
 
Reply
#7
Upps, thanks! My fault .. didn't noticed it's with "Settings" Angry

OK, here is a snapshot of syslog with some "problem" lines I guess.
See attachment with Jan 08 until 18:41 successfully connected with 2 devices, failed at 23:53
and reconnected at 23:53 a few secs later.

Maybe it helps.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 3,050 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight7_oregon on Raspberry pi3 Tueftler1983 0 246 07-04-2019, 01:49 PM
Last Post: Tueftler1983
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 1,003 06-11-2019, 05:19 PM
Last Post: curlymo
Sad Raspberry Pi: "NOTICE: no pilight ssdp connections found" abusch 8 975 04-30-2019, 09:10 PM
Last Post: curlymo
  Problem with sending after plight (or raspberry?) update _Jens_ 5 2,100 09-08-2017, 03:14 PM
Last Post: pilino1234
  pilight without LAN/WLAN on Raspberry Pi hoteloskar 7 2,281 04-30-2017, 06:27 PM
Last Post: hoteloskar
  How to use pilight with raspberry Pi and Conrad 433mhz apbonn 0 1,374 03-30-2017, 10:56 AM
Last Post: apbonn
  Step by step: Getting started with pilight on the Raspberry Pi bazb 6 10,395 04-29-2016, 08:21 PM
Last Post: curlymo
  Raspberry pi 2, pilight 7.0 problems eurodomest Marty 6 3,248 01-31-2016, 11:58 AM
Last Post: Marty
  Raspberry Pi Compute Module: 48 GPIO byteruler 1 1,358 08-21-2015, 11:05 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)