OWSERVER and OWFS never start at boot

Post Reply
marin849
Posts: 70
Joined: Tuesday 27 May 2014 10:36
Target OS: Raspberry Pi
Domoticz version: 2.4xxx
Location: Sweden
Contact:

OWSERVER and OWFS never start at boot

Post by marin849 » Monday 30 November 2015 23:31

I have a RPI2 with latest Domoticz. Today I installed an AbioWire-card (has 3 I2C 1-wire masters) so I need OWFS.
It works fine EXCEPT after every boot I have to

Code: Select all

sudo service owserver start
sudo service owhttpd start
sudo service start1wire.sh start
All scripts (owserver, owhttpd, start1wire.sh) is in /etc/init.d, they are chmod +x and update.rc-d has been run for each. No output with dmesg.

I have an old Domoticz installation on an RPI1 with exact same setup and OWFS starts all the time. I cant find any difference! :cry:

I have tried for hours now.. Any ideas?

User avatar
Egregius
Posts: 2446
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: OWSERVER and OWFS never start at boot

Post by Egregius » Tuesday 01 December 2015 7:22

Maybe not the solution but a possible workaround:
Set them in cron:

Code: Select all

@reboot sudo service owserver start
@reboot sudo service owhttpd start
@reboot sudo service start1wire.sh start

marin849
Posts: 70
Joined: Tuesday 27 May 2014 10:36
Target OS: Raspberry Pi
Domoticz version: 2.4xxx
Location: Sweden
Contact:

Re: OWSERVER and OWFS never start at boot

Post by marin849 » Monday 07 December 2015 22:14

Yes, thank you for the tip. I put it in a startup-script, and it starts up. It feels like a really crappy solution though. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest