[CWB] ERROR: CQP backend startup failed

egobrc at gmail.com egobrc at gmail.com
Mon Mar 16 17:52:59 CET 2015


Hi everybody,
I have installed CQPWeb on an Apache web server. Web interface works
normally: I can login and create users, but when I try to delete an user or
add a group, the follwing error appears:

ERROR: CQP backend startup failed

So I searched around php code pages, and found that message in
lib/cqp.inc.php : around that line I put some fwrites to print out variable
values, and here is what I got:

$command: cqp -c -r /var/cqpweb/registry
$version_string before rtrim: (empty)
$version_string after rtrim: (empty)
$path_to_cqp: (empty)
$cwb_registry: /var/cqpweb/registry

It looks like that $this->process = proc_open($command, $io_settings,
$this->handle); does not start cqp process? If i run cqp from command line,
it starts normally and prints out:

CQP version 3.0.0

Do you have any clue? On apache logs I found this line:
PHP Notice:  Undefined variable: helplink in
/srv/www/CQPweb/lib/userhome.inc.php on line 300, referer:
http://SERVER_IP/cqpweb/

Thank you in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150316/4b3bf088/attachment.html>


More information about the CWB mailing list