Re: Majordomo results

Terry Mackintosh (terry@terrym.com)
Wed, 7 Oct 1998 12:37:38 -0400 (EDT)

Hi

It was never made clear what the 'message' address is for this list, I
guess it is sane-devel@mostang.com? (I'm no list guru.)

------
Having read all info on the matter that I can find, mainly 'man saned' and
'man sane-net', I am still confused as to how saned is run as a deamond?

After putting the entries in /etc/inetd.conf
#sane stream tcp nowait nobody /usr/local/sbin/saned saned
sane stream tcp nowait nobody.nobody /usr/local/sbin/saned saned

and /etc/services,
sane 6566/tcp # SANE network scanner daemon

and
rebooting, it does nothing, no messages in the log files, nothing.

If I then do:
[root@home ~]# /usr/local/sbin/saned
it just hangs, got to kill with ^C, but it puts this in the messages log:
Oct 7 12:11:38 home saned[1163]: failed to put socket in TCP_NODELAY mode
(Socket operation on non-socket)

or

[root@home ~]# /usr/local/sbin/saned -d
saned: could not find `saned' service (Connection refused)
saned: using default port 6566
bind: Address already in use
[root@home ~]#

Now, if I comment out the entries in inetd.conf and services, and
reboot, then try that, I get:
[root@home ~]# /usr/local/sbin/saned -d
saned: could not find `saned' service (Connection refused)
saned: using default port 6566

at this point it will wait for 1 session, and I was able to run the
scanner from Gimp on my laptop.

What am I missing?

Thanks
Terry Mackintosh <terry@terrym.com> http://www.terrym.com
sysadmin/owner Please! No MIME encoded or HTML mail, unless needed.

Proudly powered by R H Linux 4.2, Apache 1.3, PHP 3, PostgreSQL 6.3
-------------------------------------------------------------------
Success Is A Choice ... book by Rick Patino, get it, read it!

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