sane-project-website/old-archive/2000-06/0012.html

123 wiersze
4.7 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 and Inetd not getting along - at all</TITLE>
<META NAME="Author" CONTENT="Ashley Gittins (agittins@bigpond.net.au)">
<META NAME="Subject" CONTENT="Saned and Inetd not getting along - at all">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Saned and Inetd not getting along - at all</H1>
<!-- received="Sun Jun 4 02:13:27 2000" -->
<!-- isoreceived="20000604091327" -->
<!-- sent="Sun, 4 Jun 2000 18:58:12 +1000" -->
<!-- isosent="20000604085812" -->
<!-- name="Ashley Gittins" -->
<!-- email="agittins@bigpond.net.au" -->
<!-- subject="Saned and Inetd not getting along - at all" -->
<!-- id="002301bfce03$074d6680$0417a8c0@purple.dropbear.id.au" -->
<STRONG>From:</STRONG> Ashley Gittins (<A HREF="mailto:agittins@bigpond.net.au?Subject=Re:%20Saned%20and%20Inetd%20not%20getting%20along%20-%20at%20all&In-Reply-To=&lt;002301bfce03$074d6680$0417a8c0@purple.dropbear.id.au&gt;"><EM>agittins@bigpond.net.au</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Jun 04 2000 - 01:58:12 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0013.html">Marcel Pol: "RE: Scanner Microtek Phantom 330 CX : problem with SANE"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0011.html">Paulo Abreu: "Re: musteka4s2: problems (solved)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0031.html">Jochen Eisinger: "Re: Saned and Inetd not getting along - at all"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0031.html">Jochen Eisinger: "Re: Saned and Inetd not getting along - at all"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#12">[ date ]</A>
<A HREF="index.html#12">[ thread ]</A>
<A HREF="subject.html#12">[ subject ]</A>
<A HREF="author.html#12">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Greetings,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;I have installed sane-1.0.2 on my Redhat 6.1 system, and can scan images
<BR>
from my HP4P on /dev/sga.
<BR>
<P>I am trying to get saned working, but cannot convince inetd to launch it.
<BR>
<P>If I run saned -d128 from a shell prompt, I can connect to it and scan
<BR>
across the network. I figure that most of my config is ok in that case. if i
<BR>
run from a shell prompt without -d128, it will not work.
<BR>
<P>I added this line to /etc/services:
<BR>
sane 6566/tcp # the sane service
<BR>
<P>I added these lines to /etc/inetd.conf:
<BR>
# SANE
<BR>
# Provides network scanner Access
<BR>
#
<BR>
sane stream tcp nowait root /usr/local/sbin/saned saned
<BR>
<P>I sent inetd a sighup by 'kill -s SIGHUP 453' (453 is pid of inetd).
<BR>
<P>Check in /var/log/messages and find this entry:
<BR>
Jun 4 18:46:48 cancerman inetd[453]: sane/tcp: socket: Invalid argument
<BR>
<P>If i comment out the line in services, it complains:
<BR>
Jun 4 18:24:20 cancerman inetd[453]: sane/tcp: unknown service
<BR>
which I guess is to be expected.
<BR>
<P>I did have the line in inetd.conf with saned.saned for the user.group
<BR>
setting, then changed it to root while mucking around - still had the same
<BR>
error.
<BR>
<P>Anyone know how I get saned to be launched by inetd?
<BR>
<P>Thanks,
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Ash
<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:%20Saned%20and%20Inetd%20not%20getting%20along%20-%20at%20all&In-Reply-To=&lt;002301bfce03$074d6680$0417a8c0@purple.dropbear.id.au&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0013.html">Marcel Pol: "RE: Scanner Microtek Phantom 330 CX : problem with SANE"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0011.html">Paulo Abreu: "Re: musteka4s2: problems (solved)"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0031.html">Jochen Eisinger: "Re: Saned and Inetd not getting along - at all"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0031.html">Jochen Eisinger: "Re: Saned and Inetd not getting along - at all"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#12">[ date ]</A>
<A HREF="index.html#12">[ thread ]</A>
<A HREF="subject.html#12">[ subject ]</A>
<A HREF="author.html#12">[ 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>Sun Jun 04 2000 - 03:31:39 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>