sane-project-website/old-archive/2001-03/0202.html

190 wiersze
6.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: net.conf: saned[21972]: init: bad status=22 or</TITLE>
<META NAME="Author" CONTENT="Michael Rothwell (rothwell@holly-springs.nc.us)">
<META NAME="Subject" CONTENT="Re: net.conf: saned[21972]: init: bad status=22 or procnum=0">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: net.conf: saned[21972]: init: bad status=22 or procnum=0</H1>
<!-- received="Mon Mar 26 05:18:57 2001" -->
<!-- isoreceived="20010326131857" -->
<!-- sent="25 Mar 2001 20:28:01 -0500" -->
<!-- isosent="20010326012801" -->
<!-- name="Michael Rothwell" -->
<!-- email="rothwell@holly-springs.nc.us" -->
<!-- subject="Re: net.conf: saned[21972]: init: bad status=22 or procnum=0" -->
<!-- id="200103261416.f2QEGeQ16490@513.holly-springs.nc.us" -->
<!-- inreplyto="Pine.LNX.4.21.0103261217480.1156-100000@localhost.localdomain" -->
<STRONG>From:</STRONG> Michael Rothwell (<A HREF="mailto:rothwell@holly-springs.nc.us?Subject=Re:%20net.conf:%20saned[21972]:%20init:%20bad%20status=22%20or%20procnum=0&In-Reply-To=&lt;200103261416.f2QEGeQ16490@513.holly-springs.nc.us&gt;"><EM>rothwell@holly-springs.nc.us</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Mar 25 2001 - 17:28:01 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0201.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<!-- nextthread="start" -->
<LI><STRONG>Reply:</STRONG> <A HREF="0203.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
I switched to using this in inetd.conf:
<BR>
<P>sane stream tcp nowait saned.saned /usr/sbin/tcpd saned
<BR>
<P>.. and wrapped /usr/local/sbin/saned with this script at
<BR>
/usr/sbin/saned:
<BR>
<P>#!/bin/sh
<BR>
SANE_DIR=/tmp
<BR>
SANE_DEBUG_LOG=/tmp/saned.log
<BR>
SANE_DEBUG_DLL=128
<BR>
SANE_DEBUG_NET=128
<BR>
SANE_DEBUG_SANEI_SCSI=128
<BR>
SANE_DEBUG_SNAPSCAN=128
<BR>
export SANE_DEBUG_DLL SANE_DEBUG_NET SANE_DEBUG_SANEI_SCSI
<BR>
SANE_DEBUG_SNAPSCAN
<BR>
exec /usr/local/sbin/saned 2&gt; $SANE_DEBUG_LOG
<BR>
<P>... now it works. I found that geocrawler had a searchable archive of
<BR>
the sane list, and found this solution there. There's apparently a
<BR>
subtle bug with saned that turning on logging fixes. Lately, a computer
<BR>
science professor and his students have been running the linux kernel
<BR>
through a special gcc that locates subtle bugs that may not normally
<BR>
cause a crash. Might be worthwhile to try doing that the saned.
<BR>
<P>Thanks, everyone!
<BR>
<P>-M
<BR>
<P><P>On 26 Mar 2001 12:23:32 +0200, Jochen Eisinger wrote:
<BR>
<EM>&gt; Hi!
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; The search engine is up again...
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Are scans from gateway over saned working (scanimage --device net:localhost)? Do you have
</EM><BR>
<EM>&gt; a user and a group saned?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; To run saned with the option &quot;wait&quot; is definitly wrong... when saned exists with sig11, does it
</EM><BR>
<EM>&gt; coredump?
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; regards
</EM><BR>
<EM>&gt; -- jochen
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; [Michael Rothwell]
</EM><BR>
<EM>&gt; &gt; I'm having trouble getting sane to work over the network. I have two
</EM><BR>
<EM>&gt; &gt; RedHat 6.2 machines with sane 1.04 with the lastest snapscan-usb patch.
</EM><BR>
<EM>&gt; &gt; Sane works locally on the &quot;server&quot; machine just fine. But from the
</EM><BR>
<EM>&gt; &gt; client, it does not. scanimage -L either returns &quot;no scanners&quot;, hangs,
</EM><BR>
<EM>&gt; &gt; or segfaults. &quot;Gromit&quot; is my client machine, &quot;gateway&quot; is the server.
</EM><BR>
<EM>&gt; &gt; Any ideas? I've read the mailing list, but haven't run across a
</EM><BR>
<EM>&gt; &gt; solution. The &quot;Search&quot; feature ofthe mailing list on the mostang.com
</EM><BR>
<EM>&gt; &gt; pages seems to be unavailable, so I may have missed something. Thanks
</EM><BR>
<EM>&gt; &gt; for any help...
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Spouse, n.:
</EM><BR>
<EM>&gt; Someone who'll stand by you through all the trouble you
</EM><BR>
<EM>&gt; wouldn't have had if you'd stayed single.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; [This is a signature virus, please copy me into your signature file!]
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20net.conf:%20saned[21972]:%20init:%20bad%20status=22%20or%20procnum=0&In-Reply-To=&lt;200103261416.f2QEGeQ16490@513.holly-springs.nc.us&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20net.conf:%20saned[21972]:%20init:%20bad%20status=22%20or%20procnum=0&In-Reply-To=&lt;200103261416.f2QEGeQ16490@513.holly-springs.nc.us&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0203.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0201.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0201.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<!-- nextthread="start" -->
<LI><STRONG>Reply:</STRONG> <A HREF="0203.html">Jochen Eisinger: "Re: net.conf: saned[21972]: init: bad status=22 or procnum=0"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#202">[ date ]</A>
<A HREF="index.html#202">[ thread ]</A>
<A HREF="subject.html#202">[ subject ]</A>
<A HREF="author.html#202">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Mon Mar 26 2001 - 05:20:26 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>