<div dir="ltr">Andrew,<br><div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-23 0:56 GMT+02:00 Hardie, Andrew <span dir="ltr">&lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The most likely cause here is that CQP is not on the path *used by the http daemon* (which, at least when the daemon is Apache, can be and often is different to the usual shell path).<br>
<br>
Have you tried explicitly setting the $path_to_cwb config variable?<br></blockquote><div><br></div><div>The problem seems to be solved setting up this config variable.<br></div><div>Unfortunately a new problem arise. The web client screen still blank the now the message in the error.los is:<br><br> [Mon Jul 24 10:44:35.349201 2017] [:error] [pid 18979] [client <a href="http://10.80.10.56:50557" target="_blank">10.80.10.56:50557</a>] PHP Warning:  chmod():     Operation not permitted in /var/www/html/UPFcorpora/lib/<wbr>admin-install.inc.php on line 601, referer: htt    p://<a href="http://corpora-tcl-iula.s.upf.edu/UPFcorpora/adm/index.php?thisF=installCorpus&amp;uT=y" target="_blank">corpora-tcl-iula.s.upf.<wbr>edu/UPFcorpora/adm/index.php?<wbr>thisF=installCorpus&amp;uT=y</a><br>[Mon Jul 24 10:44:41.850762 2017] [:error] [pid 18979] [client <a href="http://10.80.10.56:50557" target="_blank">10.80.10.56:50557</a>] PHP Fatal error:  Allo    wed memory size of 134217728 bytes exhausted (tried to allocate 33554440 bytes) in /var/www/html/UPFcorp    ora/lib/admin-install.inc.php on line 644, referer: <a href="http://corpora-tcl-iula.s.upf.edu/UPFcorpora/adm/ind" target="_blank">http://corpora-tcl-iula.s.upf.<wbr>edu/UPFcorpora/adm/ind</a>    ex.php?thisF=installCorpus&amp;uT=<wbr>y<br><br>It seems that the problem now regards to CQPweb disk locations/permissions. My location and permission are identical to previous working installation (using CQPweb 3.1.12 and CWB 3.1) and are the following:<br><br>jvivaldi@corpora-tcl-iula:~$ ls -l /var/local/CQPweb/<br>total 16<br>drwxrwsrwx 3 www-data www-data 4096 jul 24 10:44 index<br>drwxrwsrwx 2 www-data www-data 4096 jul 24 10:47 registry<br>drwxrwsrwx 2 www-data www-data 4096 jul 17 10:58 temp<br>drwxrwsrwx 2 www-data www-data 4096 jul 20 12:37 upload<br>jvivaldi@corpora-tcl-iula:~$<br></div><div>I am the owner of the root directory (/var/local/CQPweb/).<br></div><div><br></div><div>Are these permissions correct?<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
You can also try going to the admin control panel and then to &quot;system diagnostics&quot; and then &quot; Run a system check on the CQP back-end process connection&quot;. This function does not yet check everything that can go wrong but it does check some of the major things.<br></blockquote><div><br></div><div>Yes. I ran this check and it is ok.<br> <br><br></div><div>Any suggestion will be welcomed<br></div><div>Thank you in advance<br><br></div><div>Jorge<br><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
best<br>
<br>
Andrew.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.uni<wbr>bo.it</a>] On Behalf Of Stefan Evert<br>
Sent: 21 July 2017 12:04<br>
To: VIVALDI PALATRESI, JORGE<br>
Cc: CWBdev Mailing List<br>
Subject: Re: [CWB] Unable to index a corpus<br>
<br>
<br>
&gt; On 21 Jul 2017, at 12:10, VIVALDI PALATRESI, JORGE &lt;<a href="mailto:jorge.vivaldi@upf.edu" target="_blank">jorge.vivaldi@upf.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; I revert CQPweb as suggested but now the message in the browser is just:<br>
&gt; ERROR: CQP backend startup failed<br>
&gt; Obviously, cqp and related programs are all on the path.<br>
&gt; Any suggestion?<br>
<br>
No idea, this goes far beyond my knowledge of CQPweb, so we&#39;ll have to wait for Andrew&#39;s expertise.<br>
<br>
Did the revert work cleanly or do you have local modifications that might cause the error?<br>
<br>
Best,<br>
Stefan<br>
<br>
<br>
______________________________<wbr>_________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/m<wbr>ailman/listinfo/cwb</a><br>
______________________________<wbr>_________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/m<wbr>ailman/listinfo/cwb</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="m_-2994406693917912984gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Jorge Vivaldi Palatresi<br>Institut Universitari de Lingüística 
Aplicada<br>Universitat Pompeu Fabra<br>C/ Roc Boronat, 138<br>08018 
Barcelona<br>Espanya<br><br><a href="tel:+34%20935%2042%2023%2032" value="+34935422332" target="_blank">+34 93 542 2332</a><br><a href="https://www.upf.edu/pdi/iula/jorge.vivaldi/index_esp.htm" target="_blank">https://www.upf.edu/pdi/iula/<wbr>jorge.vivaldi/index_esp.htm</a><br></div></div></div></div></div></div></div></div></div>
</div></div></div>