epierre wrote:DRuw wrote:
start-stop-daemon: warning: failed to kill 13314: No such process
failed!
so although it is started, it doesn't work (IP:port/devices also doesn't load...)
ok so :
./update-mdah.sh
sudo service MyDomoAtHome.sh check
if nothing then try:
./start2.sh
I thought it was working this morning when I did the ./update-mdah.sh
then I received the devices when I hit ip:3001/devices
I could not test it that time with the app but was confident it was fixed.
now however I saw it didn't work in the app so I did the last part as well with this result:
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh check
Usage: /etc/init.d/MyDomoAtHome {start|force-start|stop|force-stop|reload|restart|force-reload}
pi@raspberrypi ~/domoticz/MyDomoAtHome $ ./start2.sh
log directory /home/pi/domoticz/MyDomoAtHome/bin/.. isn't writable/executable and can't chmod it at /usr/share/perl5/Dancer/Logger.pm line 16
log directory /home/pi/domoticz/MyDomoAtHome/bin/.. isn't writable/executable and can't chmod it at /usr/share/perl5/Dancer/Logger.pm line 16
environment:development
log:error
logger:file
log directory /home/pi/domoticz/MyDomoAtHome isn't writable/executable and can't chmod it at /usr/share/perl5/Dancer/Logger.pm line 16
log directory /home/pi/domoticz/MyDomoAtHome isn't writable/executable and can't chmod it at /usr/share/perl5/Dancer/Logger.pm line 16
2015/10/09-18:31:24 Starman::Server (type Net::Server::PreFork) starting! pid(23465)
Resolved [*]:3001 to [0.0.0.0]:3001, IPv4
Host [*] resolved to IPv6 address [::] but IO::Socket::INET6->new fails: Address family not supported by protocol at /usr/share/perl5/Net/Server/Proto.pm line 133.
Binding to TCP port 3001 on host 0.0.0.0 with IPv4
2015/10/09-18:31:24 Can't connect to TCP port 3001 on 0.0.0.0 [Address already in use]
at line 67 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
2015/10/09-18:31:24 Received QUIT. Running a graceful shutdown
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 355.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 385.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 405.
Use of uninitialized value in subtraction (-) at /usr/share/perl5/Net/Server/PreFork.pm line 413.
2015/10/09-18:31:24 Worker processes cleaned up
2015/10/09-18:31:24 Server closing!
shutdown() on closed socket GEN1 at /usr/lib/perl/5.14/IO/Socket.pm line 294.
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sudo service MyDomoAtHome.sh reload
[....] Reloading plack server: MyDomoAtHomestart-stop-daemon: warning: failed to kill 15042: No such process
start-stop-daemon: warning: failed to kill 15042: No such process
failed!
pi@raspberrypi ~/domoticz/MyDomoAtHome $
so this didn't work either...
Any ideas? I do get the ip:3001/devices printout (and there I can see that temp will go to "room" temp etc so that looks fine...
ps: the line: sudo service MyDomoAtHome.sh check doesn't work since I get the response what the input should be... status is apparently not a valid input...?