Re: Version problems (and others)

From: Harri Hohteri (harri.hohteri@cs.helsinki.fi)
Date: Sat May 19 2001 - 05:51:37 PDT

  • Next message: scc: "Re: how to write a manpage"

    Hi,

    I have no earlier version of sane. Adding user and group saned helped but
    only after I rebooted the server. The problem (I think) lies here (this is
    from Windows prompt):

    C:\sane>scanimage --version
    [sanei_debug] Setting debug level of net to 128.
    [net] init: could not find `sane' service (Not owner); using default port
    6566
    [net] adding backend 192.168.0.1
    scanimage (sane) 1.0.3
    [net] exiting
    [net] closing dev 0xa0112b0, ctl=-1

    Saneimage on Windows says it's 1.0.3 and Linux backend is 1.0.4

    Saned are all from the same 1.0.4 package on my machine:

    [root@boolean /]# ls -l ./home/saned
    total 0
    [root@boolean /]# ls -l ./root/sane-backends-1.0.4/frontend/.libs/saned
    -rwxr-xr-x 1 root root 133497 May 13 21:30
    ./root/sane-backends-1.0.4/frontend/.libs/saned
    [root@boolean /]# ls -l ./root/sane-backends-1.0.4/frontend/saned
    -rwxr-xr-x 1 root root 3867 May 13 21:30
    ./root/sane-backends-1.0.4/frontend/saned
    [root@boolean /]# ls -l ./usr/local/sbin/saned
    -rwxr-xr-x 1 root root 133497 May 13 21:32
    ./usr/local/sbin/saned

    [root@boolean /]# find . -name saned
    find: ./proc/6/fd: Permission denied
    ./home/saned
    ./root/sane-backends-1.0.4/frontend/.libs/saned
    ./root/sane-backends-1.0.4/frontend/saned
    ./usr/local/sbin/saned

    Btw. I do have sane in /etc/services

    [root@boolean /etc]# grep sane services
    sane 6566/tcp

    ----- Original Message -----
    From: "Henning Meier-Geinitz" <henning@meier-geinitz.de>
    To: <sane-devel@mostang.com>
    Sent: Saturday, May 19, 2001 2:54 PM
    Subject: Re: Version problems (and others)

    > Hi,
    >
    > On Sat, May 19, 2001 at 02:20:44PM +0300, Harri Hohteri wrote:
    > > Hi,
    > >
    > > I'm using sane backend 1.0.4 on my RH7.1 and trying to access it from
    > > my windows machines using either winsane or xsane-w32 0.76. Winsane
    > > crashes for some reason and xsane reports for version
    > > incompatibility.
    > >>From the linux shell I can use net backend successfully. I'm having
    > >>problems though that saned doesn't work unless I start xined as root.
    > >>That might be because I don't know what to do when man saned says
    > >>"Note that both examples assume that there is a saned group and a
    > >>saned user." I know how to use linuxconf and such but what should give
    > >>as the password etc.?
    >
    > That shouln't matter.
    >
    > > C:\sane>scanimage -L
    > > [sanei_debug] Setting debug level of net to 128.
    > > [net] init: could not find `sane' service (Not owner); using default
    port 6566
    >
    > You seem to haven't put the sane service into /etc/services. But
    > that's not the problem.
    >
    > > [net] adding backend 192.168.0.1
    > > [net] connect_dev: major version mismatch: got 0, expected 1
    >
    > It looks like your saned is from SANE 0.76 or earlier. Use saned from
    > SANE 1.0.4.
    >
    > For testing you can also use saned directly (without (x)inetd):
    >
    > saned -d
    >
    > To enable debugging use something like:
    >
    > SANE_DEBUG_DLL=255 saned -d128
    >
    > Bye,
    > Henning
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

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



    This archive was generated by hypermail 2b29 : Sat May 19 2001 - 05:45:53 PDT