I think I still have a problem here. If I reboot owserver does not start, I thought it should. My owfs.conf file contains
============================================ # All owfs programs but owserver should connect to a running owserver. ! server: server = localhost:4304 # this is setting for a Raspberry Pi v2 onwards, early models should be # server: device=/dev/i2c-0 server: device=/dev/i2c-1 # The port owhttpd listens for browser connections on 2121 (default anyway) http: port = 2121 --alias = /home/control/solar/v11_0/sensor_list ============================================ $ owserver does nothing $ owserver -d /dev/i2c-1 starts the server $ service owserver restart returns "Failed to restart owserver.service: Access denied" $ sudo service owserver restart stops the server $ owserver -c /etc/owfs.conf does nothing Makes me think there is something wrong with my owfs.conf file Any suggestions? Thanks Mick On 31/08/16 09:29, Stefano Miccoli wrote: >> On 30 Aug 2016, at 23:31, Mick Sulley <m...@sulley.info> wrote: >> >> Still trying to transition from using owfs to ow-shell and I have a >> couple of questions - >> >> When owserver is installed from the repository it should start >> automatically at boot and will read /etc/owfs.conf to configure it, but >> if I run "service owserver restart" will it read /etc/owfs.conf again? >> I am guessing yes but would like confirmation as I may need to update >> that file at boot then restart owserver. > Yes, init.d scripts with the “restart" argument should stop and start the > process. You can check by running > > $ owread /system/process/pid > > before and after the restart: the pid number should change: new process, new > config file. > >> If I have it installed from the repository and also installed manually >> to /opt/owfs will that cause any problems? OK I know it is not a good >> idea, but my original system was installed manually and I cannot remove >> it until I have the new version running successfully. > No problem, provided you didn’t change the default search paths for > executables and dynamic libraries. > Just to double check, run > > $ lsof -p $(owread /system/process/pid) > > to confirm that the owserver does not uses executables or libraries in > /opt/owfs > > Stefano > > > ------------------------------------------------------------------------------ > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers