[CWB] Help with installation of new corpora

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed May 22 00:31:22 CEST 2019


Apologies for delayed reply. You email went to my spam filter for some reason (odd when other list emails haven't, but oh well).

ANYWAY: the errors you've pasted indicated a bug arising from a link between files I'd forgotten about  ; now fixed.

However, these errors would NOT have been responsible for the issue you originally reported:

> ERROR: CQP backend startup failed; the reported CQP version [] could 
> not be parsed.

So that is still outstanding. 

Try going to "System diagnostics" and clicking on "Run a system check on the CQP back-end process connection". The output may shed some light.

best

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of D. Yuan
Sent: 16 May 2019 14:41
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] Help with installation of new corpora

Dear Andrew,

Thank you so much for your quick response. You are right! I got the following error message  from the apache2 error-log:

"""

[Thu May 16 20:32:40.065574 2019] [php7:warn] [pid 15489] [client 127.0.0.1:43230] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://compling.li-jiacheng.cn:8244/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:32:40.065629 2019] [php7:error] [pid 15489] [client 127.0.0.1:43230] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://compling.li-jiacheng.cn:8244/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:33:13.750408 2019] [php7:warn] [pid 14341] [client 127.0.0.1:43240] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:33:13.750483 2019] [php7:error] [pid 14341] [client 127.0.0.1:43240] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:33:18.940566 2019] [php7:warn] [pid 14340] [client 127.0.0.1:43248] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:33:18.940645 2019] [php7:error] [pid 14340] [client 127.0.0.1:43248] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:35:07.951915 2019] [php7:warn] [pid 15489] [client 127.0.0.1:43274] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://compling.li-jiacheng.cn:8244/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:35:07.952001 2019] [php7:error] [pid 15489] [client 127.0.0.1:43274] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://compling.li-jiacheng.cn:8244/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:35:21.094941 2019] [php7:warn] [pid 14341] [client 127.0.0.1:43276] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:35:21.094983 2019] [php7:error] [pid 14341] [client 127.0.0.1:43276] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:35:52.324721 2019] [php7:warn] [pid 14324] [client 127.0.0.1:43286] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://localhost/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:35:52.324808 2019] [php7:error] [pid 14324] [client 127.0.0.1:43286] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1, referer: 
http://localhost/cqpweb/adm/index.php?ui=userAdmin
[Thu May 16 20:36:36.325561 2019] [php7:warn] [pid 15526] [client 127.0.0.1:43294] PHP Warning:  require(../lib/user-admin.inc.php): 
failed to open stream: No such file or directory in /var/www/html/cqpweb/adm/useracct-act.php on line 1 [Thu May 16 20:36:36.325627 2019] [php7:error] [pid 15526] [client 127.0.0.1:43294] PHP Fatal error:  require(): Failed opening required '../lib/user-admin.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/adm/useracct-act.php on line 1

"""

It looks to me that the required file 'user-admin.inc.php' does not exist in the cqpweb installation (neither 'locate' nor 'find' yields anything).

Best,

D.

On 2019/5/16 下午6:00, cwb-request at sslmit.unibo.it wrote:
> Send CWB mailing list submissions to
> cwb at sslmit.unibo.it
>
> To subscribe or unsubscribe via the World Wide Web, visit 
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
> or, via email, send a message with subject or body 'help' to 
> cwb-request at sslmit.unibo.it
>
> You can reach the person managing the list at 
> cwb-owner at sslmit.unibo.it
>
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of CWB digest..."
>
>
> Today's Topics:
>
> 1. Help with installation of new corpora (D. Yuan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 16 May 2019 16:12:20 +0800
> From: "D. Yuan" <yuyuan97 at 163.com>
> To: cwb at sslmit.unibo.it
> Subject: [CWB] Help with installation of new corpora
> Message-ID: <eae6b75f-a145-76ff-6ac3-d2542f4d41af at 163.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Dear? All,
>
> I installed the CQPweb by following Peter Uhrig's tutorial here
> (http://peter-uhrig.de/cqpweb-on-windows-10-wsl/) on Ubuntu 19.04.
> Nothing fishy turns out and? I can access the administration page and 
> the web interface via both the localhost and the public ip address.?
> However, when I tried to install the pre-encoded Dickens corpus, at 
> the last step, I got:
>
> """
>
> ERROR: CQP backend startup failed; the reported CQP version [] could 
> not be parsed.
>
> """
>
> What I did:
>
> 1) copy the Dickens data directory to the specified cqpweb data/index 
> directory;
>
> 2) copy the Dickens registry file to the specified cqpweb registry 
> directory;
>
> 3)? Fill in? corpus NAME and full description and install with the 
> settings above
>
> AND I have checked that cqp is in the path.
>
> Do you guys have any idea of what I am missing?? Any pointers will be 
> appreciated.
>
> Best regards,
>
> David
>
>
>
>
> ------------------------------
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
>
> End of CWB Digest, Vol 148, Issue 30
> ************************************

_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list