Hi,
We are unable to backup our Directadmin Hosting Accounts to our Storage Server (Which is in different location). The backup job was working fine a month ago but suddenly it stopped backing up and gives an error. Another thing is I'm continously facing license verification error too. I have to verify every using command line. Any help will be appreciated.
Kindly check the below error and my log:
Error:
[03/Aug/2021 08:27:14 +0000] [PID 16168] [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: )
[03/Aug/2021 08:27:14 +0000] [PID 16168] Backup Failed
Complete Logs:
[03/Aug/2021 08:27:14 +0000] [PID 16168] Starting account backup for keylimea
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] Destination "MainBackUP" Disk Details: Total - 1.8 TB | Available - 1.6 TB | Used - 266.3 GB
[03/Aug/2021 08:27:14 +0000] [PID 16168] Destination "MainBackUP" Disk Space Usage is 14.16% (266.3 GB out of 1.8 TB)
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] Destination "MainBackUP" | Copy File To Remote: Source - /usr/local/jetapps/tmp/jetbackup5/TiLh48kmcZgVNJXaHQAEaKR4 | Destination - /backupdh11/jetbackup_1_4_605debd3d1ea36391174c112/keylimea_60f994ea598bae42f601cc77/snap.1/jetbackup.index
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] /usr/local/jetapps/usr/bin/rsync --delete -e 'ssh -p 5478 -o ControlPath="/usr/local/jetapps/etc/jetbackup5/.ssh/sockets/605deb0429cfd215cf4e2d42.sock" -x -o ServerAliveInterval=300 -o ServerAliveCountMax=5' -rltqH --safe-links --no-D --ignore-errors -4 --timeout=600 /usr/local/jetapps/tmp/jetbackup5/TiLh48kmcZgVNJXaHQAEaKR4 'root@[176.9.100.180]:/backupdh11/jetbackup_1_4_605debd3d1ea36391174c112/keylimea_60f994ea598bae42f601cc77/snap.1/jetbackup.index'
[03/Aug/2021 08:27:14 +0000] [PID 16168] Configurations Backup
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] -- START --
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] Action: ALL_USER_SHOW
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] Method: GET
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] URL: https://dh11.wehostwebserver.com:2222/C ... W?json=yes
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] Params: bytes=yes&comparison1=equals&value1=keylimea&ipp=1
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] Response Code:
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] Response Body: null
[03/Aug/2021 08:27:14 +0000] [PID 16168] [DEBUG] [PANEL] [API] -- END --
[03/Aug/2021 08:27:14 +0000] [PID 16168] [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: )
[03/Aug/2021 08:27:14 +0000] [PID 16168] Backup Failed
[03/Aug/2021 08:27:14 +0000] [PID 16168]
Failed making API call to directadmin - Jetbackup
-
- Staff Member
- Posts: 97
- Joined: January 1st, 2021, 12:51 am
Re: Failed making API call to directadmin - Jetbackup
Hello obhost,
Thank you for reaching out through our forums. The error you reported appears to be an error when JetBackup 5 is attempting to make a DirectAdmin API call ALL_USER_SHOW. Could you check to see if there are any connection issues being logged in /var/log/directadmin/error.log such as a TLS handshake error.
There are community resources regarding the "CKR_DEVICE_ERROR" error below, but we would highly recommend checking with your server administrator before using any community-sourced debugging steps or fixes.
https://www.programmersought.com/article/91051392357/
https://github.com/aws/aws-sdk-php/issu ... -256013790
Please ensure that there is no firewall or security plugin that could block this connection. If the issue persists, please open a support ticket at support@jetapps.com and our support team will investigate further.
Please let us know if we can provide any further assistance.
Thank you for reaching out through our forums. The error you reported appears to be an error when JetBackup 5 is attempting to make a DirectAdmin API call ALL_USER_SHOW. Could you check to see if there are any connection issues being logged in /var/log/directadmin/error.log such as a TLS handshake error.
There are community resources regarding the "CKR_DEVICE_ERROR" error below, but we would highly recommend checking with your server administrator before using any community-sourced debugging steps or fixes.
https://www.programmersought.com/article/91051392357/
https://github.com/aws/aws-sdk-php/issu ... -256013790
For the licensing issue, can you please verify that you are able to ping/curl our licensing server with no errors:Another thing is I'm continously facing license verification error too
Code: Select all
curl -v http://check.jetlicense.com/
ping http://check.jetlicense.com/
Please let us know if we can provide any further assistance.
Best Regards,
Richard, JetApps Team
Richard, JetApps Team