[sane-devel] sane-net rejection

Henning Meier-Geinitz henning at meier-geinitz.de
Sat May 18 11:26:37 BST 2002


Hi,

On Fri, May 17, 2002 at 09:20:32PM +0100, Andrew wrote:
> [net] connect_dev: trying to connect to piglet
> [net] connect_dev: connection succeeded

The connection itsself works, that means there is no problem with the
network or a deby by tcpwrappers.

> [net] connect_dev: sanei_w_init
> [net] connect_dev: net_init (user=(null), local version=1.0.3)

net has sent the init message to saned...

> [net] connect_dev: freeing init reply (status=Invalid argument, remote version=0.0.0)

...and saned answered, but with an error code.


> [saned] check_host: access by remote host: 192.168.0.1
> [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): 192.168.0.1

The remote host was detected correctly.

> [saned] check_host: local hostname: piglet
> [saned] check_host: gethostbyname failed: Resource temporarily unavailable

Here saned tries to resolve piglets own hostname to get its IP
address. For some reason, gethostbyname fails. The error means: "A
temporary error occurred on an authoritative name server.  Try again
later.". Maybe there is a problem with DNS or /etc/hosts?

The upcoming SANE 1.0.8 will ignore "errors" of this kind. You may try
a snapshot from http://www.mostang.com/sane/.

However, I have no idea why it worked until you rebooted and now
doesn't. Maybe an update of libc changed the behavoiut of gethostbyname?

Bye,
  Henning



More information about the sane-devel mailing list