[CWB] Error indexing CQPweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Fri Jul 1 13:40:28 CEST 2016


Hi Daniel,


-      This error message is produced when a “file exists” check fails on $REGISTRY/$corpus_name

-      So if your reg is /var/cqpweb/registry and your corpus is ingespor, it is looking for /var/cqpweb/registry/ingespor

Try creating the following script in your Apache root

<?php var_dump(is_file("/var/cqpweb/registry/ingespor"));

Hit the above script via a browser. You should see either bool (false) or bool(true)

If the latter, the problem is a bug in CQPweb. (I don’t know what it might be, though!)

If the former, the problem is with your Apache configuration. One possible issue is AppArmor, which restricts Apache’s access to files outside defined parts of the filesystem.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Daniel Renau
Sent: 01 July 2016 12:30
To: Open source development of the Corpus WorkBench
Subject: [CWB] Error indexing CQPweb

Hi all,
I have a VM with Ubuntu15.10 32bits, all works fine but I want to upgrade to Ubuntu 16.04 64bits.
I've installed in the new VM all the corpus in cqp without problem, I've installed CqpWeb but when I try to create a new corpus it shows this error: http://pastebin.com/ARf36vmA
The files are in /var/cqpweb/registry (just copied from the local indexation) I modified the paths inside the file.
Any tip? I've modified the permissions and owner/group (775 and www-data:www-data)
I don't know what else to check.

--
Un saludo, Dani.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20160701/e1fa8b6a/attachment.html>


More information about the CWB mailing list