• 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
Can't start pilight service
#1
I'm a beginner and i want to use pilight to controll some radio outlets.
I installed pilight with this guide:
https://www.pilight.org/get-started/installation/

All fine. Now i tried to start the service with
Code:
service pilight start
but it says
Code:
Failed to start pilight.service: Unit pilight.service not found.
(http://prntscr.com/gzixi5)

Any ideas?
Thank you very much!
 
Reply
#2
Can you use the guide on manual.pilight.org?
 
Reply
#3
(10-19-2017, 09:34 PM)curlymo Wrote: Can you use the guide on manual.pilight.org?

It's absolute the same. I tried it already 3 times, i get the same error every time.
 
Reply
#4
Can you post the output of all the steps?
 
Reply
#5
(10-19-2017, 10:32 PM)curlymo Wrote: Can you post the output of all the steps?
Yes of course:
Code:
root@raspberrypi:/home/pi# echo "deb http://apt.pilight.org/ stable main" > /etc/apt/sources.list.d/pilight.list
root@raspberrypi:/home/pi# wget -O - http://apt.pilight.org/pilight.key | apt-key add -
--2017-10-19 23:39:02--  http://apt.pilight.org/pilight.key
Auflösen des Hostnamens »apt.pilight.org (apt.pilight.org)« … 94.124.143.207
Verbindungsaufbau zu apt.pilight.org (apt.pilight.org)|94.124.143.207|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 3079 (3,0K) [application/pgp-keys]
Wird in »»STDOUT«« gespeichert.

-                                                           100%[========================================================================================================================================>]   3,01K  --.-KB/s    in 0s

2017-10-19 23:39:03 (85,2 MB/s) - auf die Standardausgabe geschrieben [3079/3079]

OK
apt-get update
root@raspberrypi:/home/pi# apt-get update
OK:1 http://archive.raspberrypi.org/debian stretch InRelease
OK:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease
OK:3 https://apt.pilight.org stable InRelease
Paketlisten werden gelesen... Fertig
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-de_DE) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-de_DE) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-de) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/pilight.list:1
root@raspberrypi:/home/pi# apt-get install pilight
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
pilight ist schon die neueste Version (8.0).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
root@raspberrypi:/home/pi# service pilight start
Failed to start pilight.service: Unit pilight.service not found.
(http://prntscr.com/gzjzl0)

I can change system lang to english if you think it's better for you to help me Wink
 
Reply
#6
Can you post the output of:
Code:
pilight-daemon -D
 
Reply
#7
(10-20-2017, 07:22 AM)curlymo Wrote: Can you post the output of:
Code:
pilight-daemon -D

Code:
[Oct 20 08:16:50:463885] pilight-daemon: ERROR: config is not in a valid json format                                                                                                                                                          
[Oct 20 08:16:50:464101] pilight-daemon: DEBUG: garbage collected event operator                                                                                                                                                              library
[Oct 20 08:16:50:464197] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464268] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464339] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464407] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464474] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464547] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464616] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:464678] pilight-daemon: DEBUG: garbage collected event action l                                                                                                                                                             ibrary
[Oct 20 08:16:50:464752] pilight-daemon: DEBUG: garbage collected event function                                                                                                                                                              library
[Oct 20 08:16:50:464813] pilight-daemon: DEBUG: garbage collected events library
[Oct 20 08:16:50:465123] pilight-daemon: DEBUG: garbage collected fcache library
[Oct 20 08:16:50:465202] pilight-daemon: DEBUG: garbage collected sha256cache li                                                                                                                                                             brary
[Oct 20 08:16:50:465267] pilight-daemon: DEBUG: garbage collected webserver libr                                                                                                                                                             ary
[Oct 20 08:16:50:465339] pilight-daemon: DEBUG: garbage collected datetime libra                                                                                                                                                             ry
[Oct 20 08:16:50:465565] pilight-daemon: DEBUG: garbage collected ssdp library
[Oct 20 08:16:50:465647] pilight-daemon: DEBUG: garbage collected options librar                                                                                                                                                             y
[Oct 20 08:16:50:465718] pilight-daemon: DEBUG: garbage collected socket library
[Oct 20 08:16:50:465852] pilight-daemon: DEBUG: garbage collected config registr                                                                                                                                                             y library
[Oct 20 08:16:50:465924] pilight-daemon: DEBUG: garbage collected config rules l                                                                                                                                                             ibrary
[Oct 20 08:16:50:465993] pilight-daemon: DEBUG: garbage collected config gui lib                                                                                                                                                             rary
[Oct 20 08:16:50:466060] pilight-daemon: DEBUG: garbage collected config devices                                                                                                                                                              library
[Oct 20 08:16:50:466125] pilight-daemon: DEBUG: garbage collected config setting                                                                                                                                                             s library
[Oct 20 08:16:50:466206] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466351] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466423] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466491] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466553] pilight-daemon: DEBUG: garbage collected config hardwar                                                                                                                                                             e library
[Oct 20 08:16:50:466617] pilight-daemon: DEBUG: garbage collected config library
[Oct 20 08:16:50:466691] pilight-daemon: DEBUG: protocol raw
[Oct 20 08:16:50:466758] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466820] pilight-daemon: DEBUG: protocol pilight_firmware
[Oct 20 08:16:50:466889] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:466951] pilight-daemon: DEBUG: protocol pilight_firmware
[Oct 20 08:16:50:467019] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:467081] pilight-daemon: DEBUG: protocol ping
[Oct 20 08:16:50:467155] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:467226] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:467318] pilight-daemon: DEBUG: protocol arping
[Oct 20 08:16:50:467387] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:467456] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:467540] pilight-daemon: DEBUG: protocol relay
[Oct 20 08:16:50:467600] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:467670] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:467731] pilight-daemon: DEBUG: protocol lm76
[Oct 20 08:16:50:467797] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:467865] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:467926] pilight-daemon: DEBUG: protocol lm75
[Oct 20 08:16:50:467992] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:468059] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:468122] pilight-daemon: DEBUG: protocol gpio_switch
[Oct 20 08:16:50:468234] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:468307] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:468371] pilight-daemon: DEBUG: protocol ds18s20
[Oct 20 08:16:50:468437] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:468506] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:468569] pilight-daemon: DEBUG: protocol ds18b20
[Oct 20 08:16:50:468639] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:468710] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:468773] pilight-daemon: DEBUG: protocol dht22
[Oct 20 08:16:50:468842] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:468915] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:468978] pilight-daemon: DEBUG: protocol dht11
[Oct 20 08:16:50:469046] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:469120] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469183] pilight-daemon: DEBUG: protocol bmp180
[Oct 20 08:16:50:469249] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:469322] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469388] pilight-daemon: DEBUG: protocol generic_webcam
[Oct 20 08:16:50:469457] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469522] pilight-daemon: DEBUG: protocol generic_weather
[Oct 20 08:16:50:469594] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469658] pilight-daemon: DEBUG: protocol generic_switch
[Oct 20 08:16:50:469726] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469791] pilight-daemon: DEBUG: protocol generic_screen
[Oct 20 08:16:50:469861] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:469923] pilight-daemon: DEBUG: protocol generic_label
[Oct 20 08:16:50:469989] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:470052] pilight-daemon: DEBUG: protocol generic_dimmer
[Oct 20 08:16:50:470125] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:470186] pilight-daemon: DEBUG: protocol xbmc
[Oct 20 08:16:50:470253] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:470320] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:470384] pilight-daemon: DEBUG: protocol wunderground
[Oct 20 08:16:50:470451] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:470530] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:470592] pilight-daemon: DEBUG: protocol sunriseset
[Oct 20 08:16:50:470660] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:470730] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:470794] pilight-daemon: DEBUG: protocol program
[Oct 20 08:16:50:470863] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:470935] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:471000] pilight-daemon: DEBUG: protocol openweathermap
[Oct 20 08:16:50:471066] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:471142] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:471203] pilight-daemon: DEBUG: protocol lirc
[Oct 20 08:16:50:471269] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:471334] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:471397] pilight-daemon: DEBUG: protocol datetime
[Oct 20 08:16:50:471464] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:471526] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:471597] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:471671] pilight-daemon: DEBUG: protocol cpu_temp
[Oct 20 08:16:50:471738] pilight-daemon: DEBUG: stopped protocol threads
[Oct 20 08:16:50:471807] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:471870] pilight-daemon: DEBUG: protocol x10
[Oct 20 08:16:50:471938] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472007] pilight-daemon: DEBUG: protocol tfa30
[Oct 20 08:16:50:472067] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:472137] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472197] pilight-daemon: DEBUG: protocol tfa
[Oct 20 08:16:50:472258] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:472332] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472370] pilight-daemon: DEBUG: protocol teknihall
[Oct 20 08:16:50:472400] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:472438] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472468] pilight-daemon: DEBUG: protocol techlico_switch
[Oct 20 08:16:50:472584] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472617] pilight-daemon: DEBUG: protocol tcm
[Oct 20 08:16:50:472645] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:472684] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472712] pilight-daemon: DEBUG: protocol silvercrest
[Oct 20 08:16:50:472749] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472778] pilight-daemon: DEBUG: protocol selectremote
[Oct 20 08:16:50:472812] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472841] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Oct 20 08:16:50:472877] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472907] pilight-daemon: DEBUG: protocol sc2262
[Oct 20 08:16:50:472940] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:472971] pilight-daemon: DEBUG: protocol rsl366
[Oct 20 08:16:50:473005] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473031] pilight-daemon: DEBUG: protocol rc101
[Oct 20 08:16:50:473069] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473096] pilight-daemon: DEBUG: protocol quigg_screen
[Oct 20 08:16:50:473130] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473157] pilight-daemon: DEBUG: protocol quigg_gt9000
[Oct 20 08:16:50:473187] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473216] pilight-daemon: DEBUG: protocol quigg_gt7000
[Oct 20 08:16:50:473253] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473283] pilight-daemon: DEBUG: protocol quigg_gt1000
[Oct 20 08:16:50:473321] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473351] pilight-daemon: DEBUG: protocol pollin
[Oct 20 08:16:50:473421] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473486] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Oct 20 08:16:50:473550] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:473620] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473682] pilight-daemon: DEBUG: protocol mumbi
[Oct 20 08:16:50:473750] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473814] pilight-daemon: DEBUG: protocol logilink_switch
[Oct 20 08:16:50:473884] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:473948] pilight-daemon: DEBUG: protocol impuls
[Oct 20 08:16:50:474019] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474082] pilight-daemon: DEBUG: protocol heitech
[Oct 20 08:16:50:474150] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474211] pilight-daemon: DEBUG: protocol ev1527
[Oct 20 08:16:50:474280] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474342] pilight-daemon: DEBUG: protocol eurodomest_switch
[Oct 20 08:16:50:474414] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474476] pilight-daemon: DEBUG: protocol elro_800_switch
[Oct 20 08:16:50:474546] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474611] pilight-daemon: DEBUG: protocol elro_800_contact
[Oct 20 08:16:50:474681] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474745] pilight-daemon: DEBUG: protocol elro_400_switch
[Oct 20 08:16:50:474815] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:474878] pilight-daemon: DEBUG: protocol elro_300_switch
[Oct 20 08:16:50:474948] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475011] pilight-daemon: DEBUG: protocol ehome
[Oct 20 08:16:50:475079] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475143] pilight-daemon: DEBUG: protocol daycom
[Oct 20 08:16:50:475212] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475275] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Oct 20 08:16:50:475346] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475408] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Oct 20 08:16:50:475475] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475539] pilight-daemon: DEBUG: protocol cleverwatts
[Oct 20 08:16:50:475607] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475672] pilight-daemon: DEBUG: protocol clarus_switch
[Oct 20 08:16:50:475742] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475805] pilight-daemon: DEBUG: protocol beamish_switch
[Oct 20 08:16:50:475875] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:475938] pilight-daemon: DEBUG: protocol auriol
[Oct 20 08:16:50:476000] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:476071] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:476134] pilight-daemon: DEBUG: protocol arctech_switch_old
[Oct 20 08:16:50:476206] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:476577] pilight-daemon: DEBUG: protocol arctech_switch
[Oct 20 08:16:50:476656] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:476724] pilight-daemon: DEBUG: protocol arctech_screen_old
[Oct 20 08:16:50:476794] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:476856] pilight-daemon: DEBUG: protocol arctech_screen
[Oct 20 08:16:50:476929] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:476993] pilight-daemon: DEBUG: protocol arctech_motion
[Oct 20 08:16:50:477061] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477124] pilight-daemon: DEBUG: protocol arctech_dusk
[Oct 20 08:16:50:477193] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477257] pilight-daemon: DEBUG: protocol arctech_dimmer
[Oct 20 08:16:50:477330] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477395] pilight-daemon: DEBUG: protocol arctech_contact
[Oct 20 08:16:50:477466] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477529] pilight-daemon: DEBUG: protocol alecto_wx500
[Oct 20 08:16:50:477592] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:477671] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477737] pilight-daemon: DEBUG: protocol alecto_wsd17
[Oct 20 08:16:50:477800] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:477868] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:477931] pilight-daemon: DEBUG: protocol alecto_ws1700
[Oct 20 08:16:50:477994] pilight-daemon: DEBUG: ran garbage collector
[Oct 20 08:16:50:478068] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:478131] pilight-daemon: DEBUG: protocol process
[Oct 20 08:16:50:478196] pilight-daemon: DEBUG: freed options struct
[Oct 20 08:16:50:478260] pilight-daemon: DEBUG: garbage collected protocol libra                                                                                                                                                             ry
[Oct 20 08:16:50:478335] pilight-daemon: DEBUG: garbage collected ntp library
[Oct 20 08:16:50:478417] pilight-daemon: DEBUG: garbage collected threads librar                                                                                                                                                             y
[Oct 20 08:16:50:478504] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

I don't know if it's important but the config.json in /etc/pilight is empty.
 
Reply
#8
(10-19-2017, 09:16 PM)Thorben653 Wrote: I'm a beginner and i want to use pilight to controll some radio outlets.
I installed pilight with this guide:
https://www.pilight.org/get-started/installation/

All fine. Now i tried to start the service with
Code:
service pilight start
but it says
Code:
Failed to start pilight.service: Unit pilight.service not found.
(http://prntscr.com/gzixi5)

Any ideas?
Thank you very much!

I think, that there is an entry missing in systemd that starts the service automatically.

I don't see, that the debian package is going to create one. Perhaps it's missing?
Anyhow you're not alone - I currently facing the same problem Wink
 
Reply
#9
Can you reinstall pilight with:
Code:
apt-get install --reinstall pilight
And check if the /etc/pilight/config.json file is not empty anymore?

@area2051, can you tell me a bit more about your findings?
 
Reply
#10
(10-20-2017, 10:20 AM)curlymo Wrote: @area2051, can you tell me a bit more about your findings?

Code:
pi@pi:/etc/systemd $ systemctl is-enabled pilight
Failed to get unit file state for pilight.service: No such file or directory
i guess that there should be a pilight.service file under system directory? But I'm not sure....
At least I can't find anything under /etc/systemd that matches against "grep -r pilight". maybe that is the reason?

EDIT: my source is from the normal / not nightly build deb repository

with root do this:
Code:
root@pi:/etc/init.d# nano /etc/systemd/system/pilight.service
[Unit]
Description=pilight service unit

[Service]
Type=simple
ExecStart=/usr/local/sbin/pilight-daemon

[Install]
WantedBy=multi-user.target

Then:
systemctl enable pilight.service

that helped
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Starting pilight on boot: "cannot bind to the SSDP multicast network" pilino1234 3 148 08-31-2019, 10:41 PM
Last Post: curlymo
Tongue pilight 8.1.5-1-gc0a175e0 Chrashes fleisch 4 328 08-17-2019, 01:04 PM
Last Post: curlymo
  pilight for Raspbian Buster (raspberry pi 4) ? starob 29 1,983 07-15-2019, 08:45 PM
Last Post: curlymo
  pilight-receive Filteroption not working Alex 2 449 07-14-2019, 08:35 AM
Last Post: Alex
  pilight usb nano format conversion ettman8 2 335 07-14-2019, 08:32 AM
Last Post: curlymo
  pilight 8.1.4 crashes after some hours Ulrich.Arnold 47 2,309 06-29-2019, 08:58 PM
Last Post: curlymo
  Raspberry PI, gpio-ir-tx and pilight not starting lordslash 5 699 06-11-2019, 05:19 PM
Last Post: curlymo
  pilight fails starting on boot Alex 5 610 06-09-2019, 06:02 PM
Last Post: curlymo
  Google Assistant coupled to pilight hansrijn2 4 1,078 05-29-2019, 06:54 PM
Last Post: curlymo
  pilight-send does not stop (terminate) va13 3 590 05-15-2019, 06:06 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)