[sane-devel] scanbd on Raspberry Pi Connection Failed system_bus_socket

deigerwutz mail at olaf-schirmer.de
Mon Mar 18 11:26:41 UTC 2013


Hello all

I try to use a Rasperry Pi with Raspian Wheezy as a network scanner device.
After I have installed /scanbd/ as described in the package-readme and some
copying of files, I can use it in foreground with scanbd -f.
The scanner is recognised an I can use scanner buttons as I want it.

The problem is to load the daemon in background at system boot.
The /var/log/syslog shows an error at starting up scanbd: 
Mar 18 10:27:18 raspberrypi scanbd: /usr/local/bin/scanbd: DBus connection
error: Failed to connect to to socket /var/run/dbus/system_bus_socket: No
such file or directory
The scanbd gets started but does nothing. 
The missed file "system_bus_socket" exists in the meantioned directory. Its
timestamp is equal to the log-entry (10:27:18)


$ ps -ef |grep scan

root 1729     1  0  10:27 ?    00:00:00 /usr/local/bin/scanbd -c
/usr/local/etc/scanbd/scanbd.conf



Also it seams that the environment variable $SANE_CONFIG_DIR ist not set at
boot because an echo-command prints an empty row.

If I set the variable manually by using export export
SANE_CONFIG_DIR=/usr/local/etc/scanbd I can run in background with scanbd -c
/usr/local/etc/scanbd/scanbd.conf and everything runs as expected.

Do I have something to change in boot process or with read permissions?

Thanks in advance, guys.

 



--
View this message in context: http://sane.10972.n7.nabble.com/scanbd-on-Raspberry-Pi-Connection-Failed-system-bus-socket-tp17350.html
Sent from the SANE - Dev mailing list archive at Nabble.com.



More information about the sane-devel mailing list