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

Wilhelm wilhelm.meier at fh-kl.de
Mon Mar 18 15:09:57 UTC 2013


Am 18.03.2013 12:26, schrieb deigerwutz:
> 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.

Sounds good ;-)

>
> 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
>

please show the file-mode bits

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

can you track this down to where it happens?

>
> 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?

to place the init-script and add the run-level links should be enough ...

>
> 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.
>


-- 
Wilhelm




More information about the sane-devel mailing list