Hi to All,
I just reinstalled my raspberry Pi (1) with jessie.
After that I installed the owserver owfs-3.0p2 from source code,
because I guess this is the latest running version of owfs on raspberry
pi without any problems so far.
- recompile with no failure
- installed with no failure
Here is my /etc/owfs.conf
--------------------------------
# Sample configuration file for the OWFS suite for Debian GNU/Linux.
#
#
# This is the main OWFS configuration file. You should read the
# owfs.conf(5) manual page in order to understand the options listed
# here.
######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
#server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
server: usb = /dev/ttyUSB0
#
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
#mountpoint = /mnt/1wire
#allow_other
#
####################### OWHTTPD #########################
http: port = 2121
####################### OWFTPD ##########################
ftp: port = 2120
####################### OWSERVER ########################
server: port = localhost:4304
------------------------------------------
Here is a log of my command for testing
~ $ sudo /etc/init.d/owserver restart
[ ok ] Restarting owserver (via systemctl): owserver.service.
~ $ sudo /etc/init.d/owserver status
● owserver.service - Backend server for 1-wire control
Loaded: loaded (/lib/systemd/system/owserver.service; disabled)
Active: inactive (dead)
Docs: man:owserver(1)
Jan 14 14:07:16 fhem3 systemd[1]: Stopped Backend server for 1-wire control.
Jan 14 14:14:17 fhem3 systemd[1]: Starting Backend server for 1-wire
control...
Jan 14 14:14:17 fhem3 systemd[1]: Started Backend server for 1-wire control.
~ $ sudo /etc/init.d/owhttpd status
● owhttpd.service - Tiny webserver for 1-wire control
Loaded: loaded (/lib/systemd/system/owhttpd.service; disabled)
Active: inactive (dead)
Docs: man:owhttpd(1)
~ $ sudo /etc/init.d/owhttpd restart
[ ok ] Restarting owhttpd (via systemctl): owhttpd.service.
~ $ sudo /etc/init.d/owserver restart
[ ok ] Restarting owserver (via systemctl): owserver.service.
~ $ sudo /etc/init.d/owhttpd restart
[ ok ] Restarting owhttpd (via systemctl): owhttpd.service.
~ $ sudo /etc/init.d/owserver status
● owserver.service - Backend server for 1-wire control
Loaded: loaded (/lib/systemd/system/owserver.service; disabled)
Active: inactive (dead)
Docs: man:owserver(1)
Jan 14 14:07:16 fhem3 systemd[1]: Stopped Backend server for 1-wire control.
Jan 14 14:14:17 fhem3 systemd[1]: Starting Backend server for 1-wire
control...
Jan 14 14:14:17 fhem3 systemd[1]: Started Backend server for 1-wire control.
Jan 14 14:16:58 fhem3 systemd[1]: Starting Backend server for 1-wire
control...
Jan 14 14:16:59 fhem3 systemd[1]: Started Backend server for 1-wire control.
~ $ sudo /etc/init.d/owhttpd restart
[ ok ] Restarting owhttpd (via systemctl): owhttpd.service.
~ $ sudo /etc/init.d/owhttpd status
● owhttpd.service - Tiny webserver for 1-wire control
Loaded: loaded (/lib/systemd/system/owhttpd.service; disabled)
Active: failed (Result: exit-code) since Sat 2017-01-14 14:17:40
CET; 5s ago
Docs: man:owhttpd(1)
Process: 1034 ExecStart=/opt/owfs/bin/owhttpd --foreground
--server=127.0.0.1 (code=exited, status=217/USER)
Main PID: 1034 (code=exited, status=217/USER)
Jan 14 14:17:40 fhem3 systemd[1]: Started Tiny webserver for 1-wire control.
Jan 14 14:17:40 fhem3 systemd[1034]: Failed at step USER spawning
/opt/owfs/bin/owhttpd: No such process
Jan 14 14:17:40 fhem3 systemd[1]: owhttpd.service: main process exited,
code=exited, status=217/USER
Jan 14 14:17:40 fhem3 systemd[1]: Unit owhttpd.service entered failed state.
I am using the startup scripts of this website:
http://palsbo.com/pi/owfs.html
Why does the httpd not start.
Even I do not see any of this type of start command:
ExecStart=/opt/owfs/bin/owhttpd --foreground --server=127.0.0.1
in the Start up script
Thanks for any type of help
Ritchie
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers