sane-project-website/old-archive/1998-10/0106.html

70 wiersze
3.4 KiB
HTML

<!-- received="Thu Oct 8 04:14:51 1998 PDT" -->
<!-- sent="Wed, 7 Oct 1998 21:19:19 -0600 (MDT)" -->
<!-- name="Andreas Dilger" -->
<!-- email="adilger@enel.ucalgary.ca" -->
<!-- subject="Re: Majordomo resultst" -->
<!-- id="199810080319.VAA00780@andreas.dilger.net" -->
<!-- inreplyto="Pine.LNX.3.95.981007121342.10396B-100000@terry1.acun.com" -->
<title>sane-devel: Re: Majordomo resultst</title>
<h1>Re: Majordomo resultst</h1>
<b>Andreas Dilger</b> (<a href="mailto:adilger@enel.ucalgary.ca"><i>adilger@enel.ucalgary.ca</i></a>)<br>
<i>Wed, 7 Oct 1998 21:19:19 -0600 (MDT)</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#106">[ date ]</a><a href="index.html#106">[ thread ]</a><a href="subject.html#106">[ subject ]</a><a href="author.html#106">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0107.html">Andreas Dilger: "Minor typo in sane-net.5 man page"</a>
<li> <b>Previous message:</b> <a href="0105.html">Yuri Dario: "Re: OS/2 ant sane 0.74"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
You write:<br>
<i>&gt; Having read all info on the matter that I can find, mainly 'man saned' and</i><br>
<i>&gt; 'man sane-net', I am still confused as to how saned is run as a deamond?</i><br>
<i>&gt; </i><br>
<i>&gt; After putting the entries in /etc/inetd.conf</i><br>
<i>&gt; #sane stream tcp nowait nobody /usr/local/sbin/saned saned</i><br>
<i>&gt; sane stream tcp nowait nobody.nobody /usr/local/sbin/saned saned</i><br>
<i>&gt; </i><br>
<i>&gt; and /etc/services,</i><br>
<i>&gt; sane 6566/tcp # SANE network scanner daemon</i><br>
<i>&gt;</i><br>
<i>&gt; and rebooting, it does nothing, no messages in the log files, nothing.</i><br>
[snip]<br>
<i>&gt; [root@home ~]# /usr/local/sbin/saned -d</i><br>
<i>&gt; saned: could not find `saned' service (Connection refused)</i><br>
<i>&gt; saned: using default port 6566</i><br>
<p>
The older version of sane had a source/documentation mismatch, in that it<br>
looked for the saned port, but the documentation said to use "sane". The<br>
newer version uses "sane" as it should. Now, the reason that you don't<br>
get any messages about sane starting when you put it into /etc/services<br>
is because the daemon doesn't actually start until you try to connect<br>
to it. This is what /etc/services and /etc/inetd.conf do for you - it<br>
automatically starts and stops daemons for you when needed, so that you<br>
don't have tons of them around which aren't doing anything.<br>
<p>
Cheers, Andreas<br>
<pre>
--
Andreas Dilger University of Calgary \ "If a man ate a pound of pasta and
Micronet Research Group \ a pound of antipasto, would they
Dept of Electrical &amp; Computer Engineering \ cancel out, leaving him still
&lt;<a href="http://www-mddsp.enel.ucalgary.ca/People/adilger/">http://www-mddsp.enel.ucalgary.ca/People/adilger/</a>&gt; hungry?" -- Dogbert
<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">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0107.html">Andreas Dilger: "Minor typo in sane-net.5 man page"</a>
<li> <b>Previous message:</b> <a href="0105.html">Yuri Dario: "Re: OS/2 ant sane 0.74"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>