---
# System prepended metadata

title: WHMCS | How to fixed error to get a new license

---

# WHMCS | How to fixed error to get a new license


use command below for update lisence WHM:
```
/usr/local/cpanel/cpkeyclt
```

when you run command for update lisence and than you see error in below.

Output Error 1:
```
Updating cPanel license...warn [cpkeyclt] DNS query failure (auth.cpanel.net/A): Cpanel::Exception::Timeout/(XID ut9pj5) DNS query (auth.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth2.cpanel.net/A): Cpanel::Exception::Timeout/(XID xspw3z) DNS query (auth2.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth10.cpanel.net/A): Cpanel::Exception::Timeout/(XID qn6aex) DNS query (auth10.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth5.cpanel.net/A): Cpanel::Exception::Timeout/(XID 9qbvvc) DNS query (auth5.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth7.cpanel.net/A): Cpanel::Exception::Timeout/(XID zbnp6y) DNS query (auth7.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth9.cpanel.net/A): Cpanel::Exception::Timeout/(XID e87btr) DNS query (auth9.cpanel.net/A) timeout!
warn [cpkeyclt] DNS query failure (auth3.cpanel.net/A): Cpanel::Exception::Timeout/(XID 2tmxsf) DNS query (auth3.cpanel.net/A) timeout!
```

Output Error 2:
```
updating cpanel license...done. update failed! 
error message: a license check appears to already be running.
```

use command below for resolve failed update license.

1. stop service cpsrvd in your terminal

```
/usr/local/cpanel/etc/init/stopcpsrvd
```
2. then sync the files from cpanel server using command below
```
/usr/local/cpanel/scripts/upcp –sync
```
3. run again command for update lisence
```
/usr/local/cpanel/cpkeyclt
```

reference: [klik here for detail reference](https://www.elinux.co.in/unknown-license-file-version-in-cpanel-failed-to-get-a-new-license-or-part-of-the-update-process-failed/?__cf_chl_jschl_tk__=pmd_KIdO6BNN4IunnVUTXPuchuZilF0_cnWU0I4rFaYFwfE-1631093440-0-gqNtZGzNAuWjcnBszRd9)