# net.conf: saned[21972]: init: bad status=22 or procnum=0

From: Michael Rothwell (rothwell@holly-springs.nc.us)
Date: Sun Mar 25 2001 - 10:49:05 PST

- Next message: Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"
  - Previous message: Steve Broccardo: "Re: Colour matching"
  - Reply: Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  I'm having trouble getting sane to work over the network. I have two
  RedHat 6.2 machines with sane 1.04 with the lastest snapscan-usb patch.
  Sane works locally on the "server" machine just fine. But from the
  client, it does not. scanimage -L either returns "no scanners", hangs,
  or segfaults. "Gromit" is my client machine, "gateway" is the server.
  Any ideas? I've read the mailing list, but haven't run across a
  solution. The "Search" feature ofthe mailing list on the mostang.com
  pages seems to be unavailable, so I may have missed something. Thanks
  for any help...

  [root@gromit doc]# cat /etc/sane.d/net.conf
  192.168.1.1
  #localhost

  [root@gateway rothwell]# cat /usr/local/etc/sane.d/saned.conf
  localhost
  192.168.1.1
  gromit
  192.168.1.133
  *.house

  [root@gateway rothwell]# ls -al /dev/usbscanner
  crw-rw-rw- 1 saned saned 180, 48 Mar 2 01:19 /dev/usbscanner

  [root@gateway rothwell]# cat /usr/local/etc/sane.d/snapscan.conf
  scsi AGFA
  scsi COLOR
  scsi Color
  /dev/usbscanner

  With this:
  sane stream tcp wait saned.saned /usr/local/sbin/saned saned

  I get this:
  Mar 25 01:39:48 gateway saned[22010]: init: bad status=22 or procnum=0
  Mar 25 01:39:48 gateway saned[22010]: exiting
  Mar 25 01:39:48 gateway inetd[21968]: sane/tcp server failing (looping
  or being flooded), service terminated for 10 min

  With this:
  sane stream tcp nowait saned.saned /usr/local/sbin/saned saned

  I get this:
  Mar 25 01:49:00 gateway saned[22198]: access by rothwell@gromit.house
  accepted
  Mar 25 01:49:00 gateway inetd[22193]: pid 22198: exit signal 11
  Mar 25 01:49:03 gateway saned[22209]: access by rothwell@gromit.house
  accepted
  Mar 25 01:49:03 gateway inetd[22193]: pid 22209: exit signal 11

      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"
  - Previous message: Steve Broccardo: "Re: Colour matching"
  - Reply: Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Sun Mar 25 2001 - 10:46:28 PST