[sane-devel] more detailed saned problem

Ka Chun, Cheng kccheng at glink.net.hk
Sun Oct 28 14:29:36 GMT 2001


hi there,
  I posted eariler, and now I'm knowing more of my problem...
I'm using redhat 7.1, sane RPMs uninstalled, installed sane 1.0.5 backend and frontend from source
I successed once but after reboot it all fail except saned -d from prompt.

1:scanimage work
2:saned -d in shell, and then xsane from windows work

so I did

1:give read/write access to /dev/scanner, /dev/sg0, /dev/sga

2:edit services, added the following line
sane          6566/tcp  saned   #SANE network scanner daemon

3:modify xinetd.conf
     service sane
             {
                  socket_type = stream
                  server = /usr/local/sbin/saned
                  protocol = tcp
                  user = saned
                  group = saned
                  wait = no
                  disable = no
             }

4:ren \usr\local\sbin\saned to saned.bin

5:made a shell script

#!/bin/sh
SANE_DEBUG_MUSTEK=128
export SANE_DEBUG_MUSTEK
cd /tmp
#exec /usr/local/sbin/saned.bin 2>saned.$$.stderror | tee saned.$$.stdout
#exec /usr/local/sbin/saned.bin
exec /usr/local/sbin/saned.bin -d

the first exec one give me empty log file(saned.????.stdout),
and windows's scanimage.exe:
      0 [main] scanimage 1868 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
   2934 [main] scanimage 1868 open_stackdumpfile: Dumping stack trace to scanimage.exe.stackdump
and /var/log/messages
init:bad status = 9 or procnum = 0
exiting

the second and the third are the same.  give me no log file,
windows scanimage say scanimage: no SANE devices found
/var/log/messages say
access by kccheng at rex accepted
exiting



tried to change hosts.allow, added the line. no difference.
#
# hosts.allow This file describes the names of the hosts which are
#  allowed to use the local INET services, as decided
#  by the '/usr/sbin/tcpd' server.
#

ALL:192.168.0.250


it looks strange, as /var/log/messages say ACCEPTED!, and it was working before I reboot.

please help.

 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20011028/706575d9/attachment.htm>


More information about the sane-devel mailing list