JetBackup 5 on DirectAdmin - "A PKCS #11 module returned CKR_DEVICE_ERROR"

The Error "A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot." is an NSS-related error that affects CURL HTTPS requests to the DirectAdmin API. Older versions of the "nss" package can cause this error during your backups in DirectAdmin.

If you see the following errors during your backups:

[01/Aug/2022 11:09:09 +0000] [PID 29175] [ERROR] Failed making API call to directadmin. Error: A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot. (Status Code: )
[01/Aug/2022 11:09:09 +0000] [PID 29175] Backup Failed

Please try checking that your nss package is updated to the latest version available for your OS distribution. You may also wish to ensure all other packages are updated as well. 

# Update the nss package
yum clean all
yum update nss

# Update your server 
yum clean all
yum update
  • pkcs #11, ckr_device_error
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

JetBackup 5 process stops every 10 minutes

On Cloudlinux servers, it has been reported that the jetbackup5d process is constantly being...

Rsync Backing Up Account Fails - Error: overflow

There have been some reports of accounts failing to back up with errors similar to this:[ERROR]...

Database Backup Errors: only_full_group_by

While performing a Database Backup, you may encounter the following error: Expression #1 of...

Exclude List for FTP/SFTP Destinations does not work

FTP/SFTP destinations are known to have limitations with their commands and file pathing...

Extra Backups Appearing On JetBackup

There are many reasons extra backups can appear on JetBackup. JetBackup 4 has Manual Backups and...