sane-project-website/old-archive/2001-05/0112.html

137 wiersze
5.1 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: saned won't run under inetd</TITLE>
<META NAME="Author" CONTENT="Morten Sickel (Morten.Sickel@nrpa.no)">
<META NAME="Subject" CONTENT="saned won't run under inetd">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>saned won't run under inetd</H1>
<!-- received="Thu, 10 May 2001 13:39:32 +0200" -->
<!-- isoreceived="20010510113932" -->
<!-- sent="Thu, 10 May 2001 13:39:32 +0200" -->
<!-- isosent="20010510113932" -->
<!-- name="Morten Sickel" -->
<!-- email="Morten.Sickel@nrpa.no" -->
<!-- subject="saned won't run under inetd" -->
<!-- id="EBE6A40C53DCD311B18900508B92C8E15094E3@postix.nrpa.no" -->
<STRONG>From:</STRONG> Morten Sickel (<A HREF="mailto:Morten.Sickel@nrpa.no?Subject=Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=&lt;EBE6A40C53DCD311B18900508B92C8E15094E3@postix.nrpa.no&gt;"><EM>Morten.Sickel@nrpa.no</EM></A>)<BR>
<STRONG>Date:</STRONG> Thu May 10 2001 - 04:39:32 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0113.html">Major A: "Re: SANE 1.0.4 on Tru64 Unix: build failure"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0111.html">Nick Robinson: "Re: Snapscan ... again"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: saned won't run under inetd"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: saned won't run under inetd"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0119.html">Petter Reinholdtsen: "Re: saned won't run under inetd"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#112">[ date ]</A>
<A HREF="index.html#112">[ thread ]</A>
<A HREF="subject.html#112">[ subject ]</A>
<A HREF="author.html#112">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>As far as I can see, this is more or less a FAQ, but without any matching
<BR>
FGA (Frequently given answer)
<BR>
<P>I have just installed sane 1.0.4 on a HP 712 running HP-UX 10.20. If works
<BR>
just fine used locally, but my goal is to use the box as a scanning server
<BR>
for a few PCs running WIN NT / 98. Enter xsane win. As a few persons earlier
<BR>
have complained about, I can start /usr/local/sbin/saned from the command
<BR>
prompt and scan just fine form the PC (wow, that is really great!!) but if I
<BR>
try to start saned from inetd, xsane comes up, scans for devices and just
<BR>
dies with a segfault.
<BR>
<P>From my /etc/services:
<BR>
sane 6566/tcp # SANE network scanner daemon
<BR>
<P>from my /etc/inetd.conf
<BR>
sane stream tcp nowait root /usr/local/sbin/saned saned
<BR>
<P>(I am running saned as root to eliminate access problems during debugging)
<BR>
<P>my /usr/local/etc/saned/saned.conf contains
<BR>
+
<BR>
(And since I can scan when starting saned from the command line, that is not
<BR>
the problem...)
<BR>
<P>I have not found any traces anywhere of what is going on, how can I increase
<BR>
the debuglevel when running saned from inetd?
<BR>
<P>Two other issues I figured out:
<BR>
<P>I have installed cdcreator on the HP-box, that has a MKNOD script that names
<BR>
the nodes along the line /dev/rscsi/c1t2d0 rather than /dev/rscsi/c1t2d0 as
<BR>
sane wants.
<BR>
<P>As far as I can see from the documentation, I should use
<BR>
xsane net:server:hp:/dev/scanner, but I could not make it work without
<BR>
removing net:..
<BR>
Is it just my ignorance or is it an error in the docs?
<BR>
<P><P>Regards and thanks to the developers for a really great piece of software!
<BR>
<P><P>Morten Sickel
<BR>
Norwegian Radiation Protection Authority
<BR>
<P><P><P><P><P><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:%20saned%20won't%20run%20under%20inetd&In-Reply-To=&lt;EBE6A40C53DCD311B18900508B92C8E15094E3@postix.nrpa.no&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0113.html">Major A: "Re: SANE 1.0.4 on Tru64 Unix: build failure"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0111.html">Nick Robinson: "Re: Snapscan ... again"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: saned won't run under inetd"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0116.html">Henning Meier-Geinitz: "Re: saned won't run under inetd"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0119.html">Petter Reinholdtsen: "Re: saned won't run under inetd"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#112">[ date ]</A>
<A HREF="index.html#112">[ thread ]</A>
<A HREF="subject.html#112">[ subject ]</A>
<A HREF="author.html#112">[ 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>Thu May 10 2001 - 04:26:16 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>