[sane-devel] sane-net rejection

Andrew sane@evergreencomputing.com
Fri, 17 May 2002 21:20:32 +0100 (BST)


All was working well.  pooh ( was able to use the scanner on piglet (, but
since the last boot of piglet, nothing but rejection.
Here's the dialog:


[andrew@pooh andrew]$ scanimage -d net:piglet:snapscan:/dev/sg0
[sanei_debug] Setting debug level of net to 128.
[net] sane_init: authorize = 0x8049250, version_code = 0xbffff250
[net] sane_init: SANE net backend version 1.0.6 from sane-backends-1.0.7
[net] sane_init: Client has little endian byte order
[net] sane_init: determining sane service port
[net] sane_init: could not find `sane' service (No such file or directory); using default port 6566
[net] sane_init: searching for config file
[net] sane_init: trying to add piglet
[net] add_device: adding backend piglet
[net] add_device: backend piglet added
[net] sane_init: done reading config
[net] sane_init: evaluating environment variable SANE_NET_HOSTS
[net] sane_init: done
[net] sane_open("piglet:snapscan:/dev/sg0")
[net] sane_open: host = piglet, device = snapscan:/dev/sg0
[net] sane_open: device found in list
[net] sane_open: device not connected yet...
[net] connect_dev: trying to connect to piglet
[net] connect_dev: connection succeeded
[net] connect_dev: sanei_w_init
[net] connect_dev: net_init (user=(null), local version=1.0.3)
[net] connect_dev: freeing init reply (status=Invalid argument, remote version=0.0.0)
[net] connect_dev: access to piglet denied
[net] connect_dev: closing connection to piglet
[net] sane_open: could not connect to device
scanimage: open of device net:piglet:snapscan:/dev/sg0 failed: Invalid argument
[net] sane_exit: exiting
[net] sane_exit: closing dev 0x8053b60, ctl=-1
[net] sane_exit: finished.


[root@piglet etc]# saned -d128
[saned] main: starting debug mode (level 128)
[saned] main: trying to get port for service `sane' (getservbyname)
[saned] main: port is 6566
[saned] main: socket ()
[saned] main: setsockopt ()
[saned] main: bind ()
[saned] main: listen ()
[saned] main: waiting for control connection
[saned] check_host: access by remote host:
[saned] check_host: remote host is not IN_LOOPBACK
[saned] check_host: remote hostname (from DNS): pooh
[saned] check_host: remote host address (from DNS):
[saned] check_host: local hostname: piglet
[saned] check_host: gethostbyname failed: Resource temporarily unavailable
[saned] init: access by saned-user@pooh rejected
[saned] quit: exiting

What can I try next?