At first I thought this was a scanbd issue, http://sane.10972.n7.nabble.com/Scanbm-and-xinetd-d-tp19579.html <http://sane.10972.n7.nabble.com/Scanbm-and-xinetd-d-tp19579.html> b however after going back to drawing board several times i am still at a loss. Would greatly appreciate if someone would guide or hint me int he proper direction. thank you in advance.
My problem is the following error. *saned[2303]: saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up saned[2303]: check_host: getpeername failed: Socket operation on non-socket saned[2303]: init: access by host [error] denied saned[2303]: saned exiting* Process 1- update SANE to 1.0.24 from 1.0.22 when i did this scanimage reported the following *scanimage (sane-backends) 1.0.24; backend version 1.0.22* After several unsuccessful attempts at resolving this. I started from the beginning. Installed the lasted RasperryPi Image. *Linux PiScanner 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux* compiled and installed SANE with the following: 1. *sudo ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-docdir=/usr/share/doc/sane-backend-1.0.24 --with-group=scanner * 2. sudo make 3. sudo make install reboot after configuring SANE and a reboot. scanimage -V reports *scanimage (sane-backends) 1.0.24; backend version 1.0.24* --- all good Scanimage -L reports *device `fujitsu:fi-4220C2dj:100742' is a FUJITSU fi-4220C2dj scanner * --- all good and scanimage -T passes all test. -- All good. I noticed the SANE NET backend was not recognized, although it was configured. I did is ps aux | grep saned --- just to see if saned was running. Next - Installed and configured xinetd.d created /etc/xinetd.d/saned { socket_type = stream server = /usr/sbin/saned protocol = tcp #user = saned user = pi group = scanner wait = no disable = no } and rebooted. syslog reported: PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14] PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28] PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26] PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25] *PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/saned [file=/etc/xinetd.d/saned] [line=26]* PiScanner xinetd[2105]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=12] PiScanner xinetd[2105]: removing chargen PiScanner xinetd[2105]: removing chargen PiScanner xinetd[2105]: removing daytime PiScanner xinetd[2105]: removing daytime PiScanner xinetd[2105]: removing discard PiScanner xinetd[2105]: removing discard PiScanner xinetd[2105]: removing echo PiScanner xinetd[2105]: removing echo PiScanner xinetd[2105]: removing time PiScanner xinetd[2105]: removing time PiScanner xinetd[2105]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in. PiScanner xinetd[2105]: Started working: 1 available service and scanimage reported both devices *device `fujitsu:fi-4220C2dj:100742' is a FUJITSU fi-4220C2dj scanner device `net:localhost:fujitsu:fi-4220C2dj:100742' is a FUJITSU fi-4220C2dj scanner* -- All good! The SANED service is still not listed as running. ps aux |grep sane* pi 2276 0.0 0.3 3552 1664 pts/0 S+ 15:20 0:00 grep --color=auto sane* --- *is this possible?* Everthing show as it working. whoever, if i execute saned it get the plagued error. *saned[2303]: saned (AF-indep+IPv6) from sane-backends 1.0.24 starting up saned[2303]: check_host: getpeername failed: Socket operation on non-socket saned[2303]: init: access by host [error] denied saned[2303]: saned exiting* which is the same error generated when scandb is launched in manager mode. What have I missed? thank you again. -- View this message in context: http://sane.10972.n7.nabble.com/check-host-getpeername-failed-Socket-operation-on-non-socket-tp19602.html Sent from the SANE - Dev mailing list archive at Nabble.com. -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org