[CWB] CQi / cqpserver questions
Jörg Knappen
j.knappen at mx.uni-saarland.de
Tue Mar 12 17:59:19 CET 2013
Hallo,
I want to set up a CQI server for a corpus of ours. I have found that
cqpserver coming
with cwpweb can do this for me.
I have found the "CQPserver quick installation notes" telling me how
to write an init file
for cqpserver. This document tells me to run cqpserver in a terminal
window which is OK for
testing but not for production. I will need a CQI server started as a
linux service running all the
time in the background. How can I achieve this?
I went on testing by doing
telnet localhost 4877
to connect with the CQI server, but all tries failed with the rather
boring error message from the cqpserver:
"Connection refused". Is the CQi protocol documented somewhere? Are
there better testing methods that the CQi server is doing what is
should do?
--Jörg Knappen
P.S. Versions and diagnostics:
cqpserver -v
The IMS Open Corpus Workbench (CWB)
Copyright (C) 1993-2006 by IMS, University of Stuttgart
Original developer: Oliver Christ
with contributions by Bruno Maximilian Schulze
Version 3.0 developed by: Stefan Evert
with contributions by Arne Fitschen
Copyright (C) 2007-today by the CWB open-source community
individual contributors are listed in source file AUTHORS
Download and contact: http://cwb.sourceforge.net/
Compiled: Fr 9. Mär 10:50:12 CET 2012
Version: 3.0.0
Terminal Output from cqpserver:
Waiting for client on port #4877.
Connection established with 127.0.0.1 (fedora.clarin-d.uni-saarland.de)
Spawned CQPserver, pid = 16428.
Connected. Waiting for CONNECT request.
Connection refused.
CQPserver: command 0x7573 not allowed in this context.
Terminal Output from telnet:
telnet localhost 4877
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
user test
Connection closed by foreign host.
More information about the CWB
mailing list