[sane-devel] xinetd can't start saned

Joerg Napp joerg@lottasophie.de
Mon, 31 Mar 2003 22:19:22 +0200 (CEST)


Hi,

my xinetd won't start saned. I am using an old AS6E parallel port scanner
connected to a Linux box, which is used by Windows clients by sanetwain.
When I'm running saned -d logged in as root, everything works fine.
When I tell xinetd to run saned, I get the error message "Error opening
device. You may need to reset the device" from sanetwain, and (among
others), the following line is logged in /var/log/messages:

 muumipappa saned[5279]: process_request: (open) device_list[0] == 0

sanetwain hangs and must be killed using task manager. After this is done,
the message logged is

 muumipappa saned[5279]: decode_handle: cancel: error while decoding
handle argument (h=0, Success)

Any hints how to handle this error and run saned from xinetd?

Thank you in advance,

Jörg