[sane-devel] saned only run once

Henning Meier-Geinitz henning@meier-geinitz.de
Tue, 8 Jun 2004 12:20:55 +0200


On Tue, Jun 08, 2004 at 12:05:06PM +0200, esoterican@freenet.de wrote:
> hello list!<br>
> <br>

Could you please use plain text (not HTML) when writing to mailing
lists? Thanks.

> i'm using a microtek scanmaker 9600 xl. everything works fine... except one feature:<br>
> <br>
> when i want to use this scanner in the network and adjust everthing mentioned in <br>
> <br>
> http://www.penguin-breeder.org/sane/saned/<br>
> <br>
> it runs when i start "saned -d"  only once and the exited.

That's not a bug. -d is the debug mode.
In fact, saned also exits after each connection if it's not in debug
mode but is restarted by (x)inetd automatically.

> i've tried the "cover" method mentioned in the article, but it doesn't work. <br>

By cover method you mean using xinetd or inetd? Which one did you use?

> the central error message is "[net] connect_dev: [0] failed to connect (Connection refused)". <br>
> where's my fault?<br>

Connection refused means that saned isn't running on the server or
(x)inetd isn't configured correctly and therefore doesn't listen to
the sane port (6566). You can try that yourself:
"telnet server-ip-address 6566". If you get "connection refused" it's
the above mentioned problem. Double-check your (x)inetd configuration
and look for error messages in syslog.

The "connection refused" comes from the kernel, not from saned.

Also check that there is no firewall or kernel filter involved, that
blocks port 6566.