Timeout

Rainer Hoeckmann <[email protected]>
Newsgroups gmane.comp.lib.libchipcard.devel
Message-ID <[email protected]>
Folgende Situation:

Gwen 1.8.0.0stable, ChipCard 1.9.10.0beta, ctapi-cyberjack-2.0.5mp2


Der Server läuft mit root-Berechtigungen und sagt unter anderem:

5:2005/02/21 14-28-28:chipcardd(19364):cs_usb.c:  154: AUTOCONFIG: Created new 
reader "auto1-cyberjack2" (USB: 0c4b/0300)
6:2005/02/21 14-28-28:chipcardd(19364):cs_usb.c:  220: Assigning port value 1 
to reader "auto1-cyberjack2"

Der Aufruf von chipcard-tool list ist erfolgreich:

Server: 4219e1b9
  Readers:
  - auto1-cyberjack2 (Cyberjack pinpad, port 1, keypad)

Der Server sagt dazu:

6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c:  934: Command 
"ClientReady"
5:2005/02/21 14-31-30:chipcardd(19364):cardserver.c:  871: Client 4219e1fe: 
ClientReady [(null)/nobody]
5:2005/02/21 14-31-30:chipcardd(19364):cardserver.c:  878: Client "4219e1fe" 
started (chipcard-tool, Gwen 1.8.0.0stable, ChipCard 1.9.10.0beta)
6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c:  934: Command "SetNotify"
5:2005/02/21 14-31-30:chipcardd(19364):cs_request.c: 1565: Client 4219e1fe: 
SetNotify [chipcard-tool/nobody]
5:2005/02/21 14-31-30:chipcardd(19364):cs_request.c: 1649: Setting notify 
flags 000000ff
6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c: 1264: Sending 
notification driver:down to all clients
6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e1fe"
6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c: 1264: Sending 
notification reader:down to all clients
6:2005/02/21 14-31-30:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e1fe"
5:2005/02/21 14-31-30:chipcardd(19364):cs_request.c: 1827: Response sent.
5:2005/02/21 14-31-32:chipcardd(19364):cardserver.c:  195: Client "4219e1fe" 
down

Aber ein Aufruf von chipcard-tool check liefert:

ERROR: Timeout.

Der Server sagt:

6:2005/02/21 14-32-37:chipcardd(19364):cardserver.c:  934: Command 
"ClientReady"
5:2005/02/21 14-32-37:chipcardd(19364):cardserver.c:  871: Client 4219e203: 
ClientReady [(null)/nobody]
5:2005/02/21 14-32-37:chipcardd(19364):cardserver.c:  878: Client "4219e203" 
started (chipcard-tool, Gwen 1.8.0.0stable, ChipCard 1.9.10.0beta)
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c:  934: Command "SetNotify"
5:2005/02/21 14-32-38:chipcardd(19364):cs_request.c: 1565: Client 4219e203: 
SetNotify [chipcard-tool/nobody]
5:2005/02/21 14-32-38:chipcardd(19364):cs_request.c: 1649: Setting notify 
flags 000000ff
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1264: Sending 
notification driver:down to all clients
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e203"
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1264: Sending 
notification reader:down to all clients
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e203"
5:2005/02/21 14-32-38:chipcardd(19364):cs_request.c: 1827: Response sent.
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c:  934: Command "StartWait"
5:2005/02/21 14-32-38:chipcardd(19364):cs_request.c:  789: Client 4219e203: 
StartWait [chipcard-tool/nobody]
6:2005/02/21 14-32-38:chipcardd(19364):cs_request.c:  811: Adding reader 
"auto1-cyberjack2" for client 4219e203
5:2005/02/21 14-32-38:chipcardd(19364):cs_request.c:  818: Starting reader 
"auto1-cyberjack2" on account of client 4219e203
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c:  207: Starting reader 
"auto1-cyberjack2"
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c:  753: Starting driver 
"cyberjack_ctapi"
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c:  832: Starting driver 
process for driver 
"cyberjack_ctapi" (/usr/local/lib/chipcard2-server/drivers/ctapi)
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c:  833: Arguments are: " 
-l /usr/local/lib/libctapi-cyberjack.so --logtype file 
--logfile /usr/local/var/log/chipcard2/drivers/cyberjack_ctapi/@[email protected] 
-t local -a /tmp/chipcardd2/chipcardd2.sock -p 7392 -i 4219e1fd"
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c:  847: Process started
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1264: Sending 
notification driver:start to all clients
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e203"
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1264: Sending 
notification reader:start to all clients
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e203"
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c:  934: Command 
"DriverReady"
6:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c: 1183: Driver 4219e20b: 
DriverReady
5:2005/02/21 14-32-38:chipcardd(19364):cs_driver.c: 1353: Driver "4219e1fd" is 
up (Library loaded)
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1264: Sending 
notification driver:up to all clients
6:2005/02/21 14-32-38:chipcardd(19364):cardserver.c: 1212: Sending 
notification to client "4219e203"
5:2005/02/21 14-32-54:chipcardd(19364):cardserver.c:  195: Client "4219e203" 
down
5:2005/02/21 14-32-54:chipcardd(19364):cardserver.c:  277: Reader 
"auto1-cyberjack2" in use by client "4219e203"
4:2005/02/21 14-33-09:chipcardd(19364):cs_driver.c:  571: Reader 
"auto1-cyberjack2" timed out
6:2005/02/21 14-33-09:chipcardd(19364):cardserver.c: 1264: Sending 
notification reader:error to all clients
5:2005/02/21 14-33-31:chipcardd(19364):cs_driver.c:  349: Reenabling reader 
"auto1-cyberjack2"
5:2005/02/21 14-33-41:chipcardd(19364):cs_driver.c: 1136: Driver 
"cyberjack_ctapi" is too long idle, stopping it
4:2005/02/21 14-33-51:chipcardd(19364):cs_driver.c:  939: Driver is still 
running, killing it
3:2005/02/21 14-33-51:gwen(19364):process.c:  323: Process 19383 terminated by 
signal 9
6:2005/02/21 14-33-51:chipcardd(19364):cardserver.c: 1264: Sending 
notification driver:down to all clients
5:2005/02/21 14-34-01:chipcardd(19364):cs_driver.c:  922: Reenabling driver 
"cyberjack_ctapi"

Woran kann das liegen / Was mache ich falsch?

Gruß,
Rainer

-- 
GnuPG-Key: F7B7 7C52
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCGeOP07XFkfe3fFIRAkr1AKCvZ31Lmy64TF3jtMyYMTVGag+W/wCdGWIn
x3TWfk/O8wFiDNOphLxlvVc=
=Vjgo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.