Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Error while executing abbyyocr9 as user www-data using Debian6 64bit

Received: by 10.52.178.166 with SMTP id cz6mr4426668vdc.1.1337010471558;
        Mon, 14 May 2012 08:47:51 -0700 (PDT)
X-BeenThere: abbyy-ocr-for-linux@googlegroups.com
Received: by 10.220.219.141 with SMTP id hu13ls3675004vcb.8.gmail; Mon, 14 May
 2012 08:47:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.28.8 with SMTP id x8mr294736vdg.0.1337010471104; Mon, 14
 May 2012 08:47:51 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
 oliver.kur...@allfield.de designates internal as permitted sender)
 smtp.mail=oliver.kur...@allfield.de; dkim=pass
 header...@allfield.de
Received: by e20g2000vbm.googlegroups.com with HTTP; Mon, 14 May 2012 08:47:51
 -0700 (PDT)
Date: Mon, 14 May 2012 08:47:51 -0700 (PDT)
In-Reply-To: <5B4916C5-8659-40AC-85F8-3DA9562ABEC3@gmail.com>
References: <208b0dae-0ec1-488b-bd76-181c48a875ae@w13g2000vbc.googlegroups.com>
 <5B4916C5-8659-40AC-85F8-3DA9562ABEC3@gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19
 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19,gzip(gfe)
Message-ID: <d594ce23-a602-4da8-82f7-73dec8b996b1@e20g2000vbm.googlegroups.com>
Subject: Re: Error while executing abbyyocr9 as user www-data using Debian6 64bit
From: oliworx <oliver.kur...@allfield.de>
To: ABBYY OCR for Linux <abbyy-ocr-for-linux@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I already changed these file permissions:

ls -la /var/lib/frengine9/
insgesamt 20K
drwxrwxrwx  3 root     root     4,0K 14. Mai 15:03 .
drwxr-xr-x 46 root     root     4,0K 14. Mai 10:48 ..
drwxrwxrwx  2 root     root     4,0K 14. Mai 10:48 .elf
-rw-r--r--  1 www-data www-data  194 14. Mai 15:03 FREngine.log
-rw-rw-rw-  1 root     root     1,8K 14. Mai 15:40 .system


# ls -la /var/lib/frengine9/.elf/
insgesamt 12K
drwxrwxrwx 2 root root 4,0K 14. Mai 10:48 .
drwxrwxrwx 3 root root 4,0K 14. Mai 15:03 ..
-rw-rw-rw- 1 root root 1,8K 14. Mai 17:29 erf.vsf



On 14 Mai, 17:18, Fuxmich <fuxm...@gmail.com> wrote:
> Hallo Oliver,
>
> may be the Faq helps...
>
> http://www.ocr4linux.com/en:faq:start#do_i_need_root-rights_for_the_c...
>
> Best Reagards
> Michael
>
> Am 14.05.2012 um 15:46 schrieb oliworx <oliver.kur...@allfield.de>:
>
>
>
>
>
>
>
> > Hi there,
>
> > I am trying AbbyyOCR and after some really good results as user root I
> > got this problem now:
> > ###########
>
> > # sudo -u www-data abbyyocr9 -rl German English -if [*some*path*here*]/
> > attachments/35247 -of [*some*path*here*]/attachments/ocrfiles/35247
> > ABBYY FineReader Engine 9.0 Sample
> > (c) ABBYY. 2010.
>
> > Error: FREngine internal error: An unknown error occurred while
> > accessing /root.
> > /usr/local/bin/abbyyocr9: Zeile 2: 23661 Speicherzugriffsfehler =A0/opt=
/
> > ABBYYOCR9/abbyyocr9 "$@"
>
> > ###########
>
> > Executing the command as root user just works fine.
> > I want to start OCR in background when a user is uploading a new file
> > to the (php5-)server.
>
> > Cheers,