piSchedule doesn't start on Raspberry - pilight running very well

2 views
Skip to first unread message

Olli

unread,
Dec 7, 2017, 5:40:09 AM12/7/17
to piSchedule
Hi all,

pischedule doesn't start. I have installed it like described.

sudo service piSchedule start says 
[....] Starting system piSchedule daemon:Starting /home/pi/piSchedule76/piSchedule.py...
Detaching to start /home/pi/piSchedule76/piSchedule.py...done.
. ok 
[ ok ] /home/pi/piSchedule76/piSchedule.py is running.

sudo service piSchedule status says
DIR >>/home/pi/piSchedule76<<
 ** piSchedule prefs ** 
     iniFile          : newDaySchedule.ini   
     latitude         : 51.2558    
     locale           : EN         
     location         : Kassel     
     longitude        : 6.9705     
     news             : https://neandr.github.io/piSchedule/news.txt   
     newsDate         :            
     piDocs           : https://neandr.github.io/piSchedule/   
     piScheduleHome   : /home/pi/piSchedule76   
     pilightExpected  : 7.0        
     pilightVersion   : 7.0        
     platform         : homeauto -- Linux-4.1.19+-armv6l-with-debian-7.11   
     port             : 5005         
     portpilight      : 5001         
     server           : 192.168.111.112   
     ssdp             : OK         
     status           : 0          
     sunrise          : 2015-07-16 05:00:04.00000   
     sunset           : 2015-07-16 21:00:30.00000   
     switchTime       : 0            
     version          : 0.7.6      
     weekSchedule     : {}           

 ** piSchedule  {server}:{port} 192.168.111.112:5005 >>OK<<
 ** piSchedule.prefs  status:0
0
[FAIL] /home/pi/piSchedule76/piSchedule.py is not running ... failed!

./setScheduleService.sh says
 Set piSchedule Service        vers.2017-03-14_17     
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = "de_DE.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match piSchedule Default-Start values (3 4 5)
[....] Stopping system piSchedule daemon:start-stop-daemon: warning: failed to kill 3658: No such process
No process in pidfile '/var/run/piSchedule.pid' found running; none killed.
 failed!

Because of the runlevel arguments I set the defaults to 2 3 4 5 and made an update-rc.d piSchedule defaults but is still the same error.
I don't know what else to do, anybody an idea?

Thx Olli

Reply all
Reply to author
Forward
0 new messages