On Tue, 2010-07-20 at 11:11 -0500, Kent Yoder wrote:
> Hmm, there are really only 2 reasons why that should fail...  Does
> `id` show your user in the pkcs11 group?  Sometimes that requires a
> logout/login to take effect?

Other things to try:

 -re-run pkcs11_startup, check
%{localstatedir}/lib/opencryptoki/pk_config_data, make sure the TPM
token is in there.
 -kill pkcsslotd, remove possible shared memory leftovers with ipcrm,
restart pkcsslotd
 -check if libopencryptoki.so, libpkcs11_tpm.so.0 and all of the
trousers shared libraries are present in the loader cache (ldconfig -p)

Also, are you able to run pkcsconf? What is your 'pkcsconf -t' output?

Are you running a released version or from git? If everything else
fails, give me 10 minutes and try pulling from the 'opencryptoki-next'
branch. I'm committing a couple of fixes right now.

Thanks,

 -Klaus

> 2010/7/20 Alexander Loukissas (aloukiss) <alouk...@cisco.com>:
> > Yup, there's a message saying:
> >
> > openCryptokiModule[2051]: api_interface.c:3397 Cannot Attach to Shared 
> > Memory
> >
> > This appears each time I run the tpmtoken_init command.
> >
> > Alex
> >

-- 
Klaus Heinrich Kiwi             | kla...@br.ibm.com 
IBM LTC Security Development    | http://blog.klauskiwi.com
http://www.ibm.com/linux/ltc    | http://www.ratliff.net/blog




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
opencryptoki-users mailing list
opencryptoki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opencryptoki-users

Reply via email to