java - jTSS "There seems no TCS running" -


i want use jtss on ubuntu 14.04 64bits, have hardware tpm in version 1.2. installed .deb said in section 4.3 http://trustedjava.sourceforge.net/index.php?item=jtss/readme started daemon : jtss (tcs running)

but if want run tests in packages (run_tests_simple.sh or run_test.sh) have error : "error! no tsp-tcs binding initialized. both jtss wrapper , jtss tried. check tsp configuration file."

and command 'jtt tpm_version', have same error :

--------------------- iaik java tpm tools ---------------------   16:34:56:631 [error] tctcsbindingsoap::connect (116):    there seems no tcs running 16:34:56:647 [error] tctcsbindingsoap::connect (116):    there seems no tcs running iaik.tc.tss.api.exceptions.tsp.tctspexception:  tss error: error layer:                0x3000 (tsp) error code (without layer): 0x0103 error code (full):          0x3103a error message: core service connection failed.  @ iaik.tc.tss.impl.java.tsp.tcsbinding.soapservice.tctcsbindingsoap.connect(tctcsbindingsoap.java:117) @ iaik.tc.tss.impl.java.tsp.internal.tctspinternal.tspcontextconnect_internal(tctspinternal.java:368) @ iaik.tc.tss.impl.java.tsp.tccontext.connect(tccontext.java:174) @ iaik.tc.apps.jtt.tpm.tpmversion.execute(tpmversion.java:68) @ iaik.tc.utils.cmdline.subcommand.run(subcommand.java:69) @ iaik.tc.utils.cmdline.subcommandparser.parse(subcommandparser.java:41) @ iaik.tc.apps.jtpmtools.main(jtpmtools.java:224) 

i removed trousers, keep in /etc/group : tss:x:126:root,jtss

maybe core service daemon not started , isn't running. have seen message on trustedjava-support mailinglist?

since using ubuntu 14.04, have jsvc version >= 1.0.11

try add line

-cwd "${root}/soap" \ 

to jsvc call in start() function in /etc/init.d/jtss.

the call should after editing:

${jsvc_executable} -pidfile "${pidfile}" \                    -cwd "${root}/soap" \                    -outfile "${logfile}" \                    -errfile '&1' \                    -djtss.tsp.ini.file="${libs}/ini/jtss_tsp.ini" \                    -djtss.tcs.ini.file="${libs}/ini/jtss_tcs.ini" \                     ${user:+-user "${user}"} \                    -wait ${timeout} \                    -cp ${classpath_soap} ${executable} 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -