<div>Thanks for the quick answer Rickard,</div><div><br></div>opendnssec processes run as user opendnssec which is a member of the pkcs11 group when I run ods-hsmutil I am doing so as root which is also a member of the pkcs11 group.<div>
<br></div><div>Brett</div><div><br><br><div class="gmail_quote">On Fri, Jan 8, 2010 at 9:04 PM, Rickard Bellgrim <span dir="ltr"><<a href="mailto:rickard.bellgrim@iis.se">rickard.bellgrim@iis.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor="#FFFFFF"><div>Are your running OpenDNSSEC with correct user and group? You have to belong to group "pkcs11" to get access to the shared memory of opencryptoki.<br>
<br>8 jan 2010 kl. 21.46 skrev "B C" <<a href="mailto:brettlists@gmail.com" target="_blank">brettlists@gmail.com</a>>:<br><br></div><div><div></div><div class="h5"><div></div><blockquote type="cite"><div><div>
We are currently seeing a problem on a Centos5 Linux box which has a Sun SCA6000 installed in it.</div><div><br></div><div>It has been functioning fine, opendnssec rc2 is running and could access the HSM and create/use keys etc, however all of a sudden ods-signerd is having issues accessing the HSM</div>
<div>I see this in the logs: </div><div><br></div><div> ods-signerd: err create_dnskey stderr: Error initializing libhsm</div><div><br></div><div>also ods-hsmutil list has started returning:</div><div><br></div>hsm_get_slot_id(): could not find token with the name Sun Metaslot<div>
<br></div><div>opencryptoki is also reporting errors in its logs:</div><div><br></div><div><div>Jan 8 20:10:46 <a href="http://beta-dnssec1.nominet.org.uk" target="_blank"></a><a href="http://beta-dnssec1.nominet.org.uk" target="_blank">beta-dnssec1.nominet.org.uk</a> openCryptokiModule[4241]: hsm_get_slot_id(): could not find token with the name Sun Metaslot</div>
<div>Jan 8 20:10:47 <a href="http://beta-dnssec1.nominet.org.uk" target="_blank"></a><a href="http://beta-dnssec1.nominet.org.uk" target="_blank">beta-dnssec1.nominet.org.uk</a> openCryptokiModule[4256]: api_interface.c:3771 Token Not Present</div>
<div><br></div><div>I can access the HSM from the Sun scamgr utility with no issues, and the diagnostics are not showing any issues.</div>
<div><br></div><div>I've uninstalled and re-installed all the Sun modules/drivers and the opencrypto package but the problem still exists.</div><div><br></div><div>I've also reset the HSM from within scamgr -D also to no avail</div>
<div><br></div><div>We have another server that is setup exactly the same and is working without any issues.</div><div><br></div><div>Is this pointing towards a hardware failure or have I missed something somewhere?</div>
<div><br></div><div>Any help greatly appreciated</div><div><br></div><div>Brett</div><div><br></div><div><br></div></div>
</div></blockquote></div></div><blockquote type="cite"><div><ATT00001..txt></div></blockquote></div></blockquote></div><br></div>