title: tpm2 tools fail because /dev/tpm0 missing although the tpm server is running
body: <p>I'm following <a href="https://github.com/tpm2-software/tpm2-tools/wiki/Getting-Started" rel="nofollow noreferrer">this guide to use tpm2.0 simulator</a>.</p>
  
  <p>This is my situation:</p>
  
  <p>Firstly, I ran:</p>
  
  <pre><code>$ ./tpm_server 
  TPM command server listening on port 2321
  Platform server listening on port 2322
  </code></pre>
  
  <p>Then, I opened a new terminal and ran:</p>
  
  <pre><code>sudo tpm2-abrmd --allow-root --tcti=mssim
  </code></pre>
  
  <p>Nothing happened but in the previous terminal, there were:</p>
  
  <pre><code>$ ./tpm_server 
  TPM command server listening on port 2321
  Platform server listening on port 2322
  Command IPv6 client accepted
  Platform IPv6 client accepted
  </code></pre>
  
  <p>I opened a new terminal more and ran command as the guide showed and there was some errors:</p>
  
  <pre><code>$ tpm2_pcrlist 
  ERROR:tcti:src/tss2-tcti/tcti-device.c:319:Tss2_Tcti_Device_Init() Failed to open device file /dev/tpm0: No such file or directory 
  ERROR: tcti init allocation routine failed for library: "device" options: "(null)"
  ERROR: Could not load tcti, got: "device"
  </code></pre>
  
  <p>How should I do to fix it?</p>