Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Purpose of /var/cpanel/dnsrequests_db and failing backups

Discussion in 'Bind / DNS / Nameserver Issues' started by geo_grav, Mar 4, 2014.

  1. geo_grav

    geo_grav Member

    Mar 4, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    (First time poster)

    This probably has a simple solution but I'm after a hint.

    What's the purpose of the /var/cpanel/dnsrequests_db directory and can we prune the size? Our cpanel server has around 320000 emtpy files.

    I was looking into this when the backup script (/usr/local/cpanel/bin/backup) was failing.

    /bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
    /bin/gtar: Removing leading `/' from hard link targets
    Waiting for load to go down to continue
    (repeats three times)
    /bin/gtar: /var/cpanel: file changed as we read it
    [backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-03-05/system/dirs/_var_cpanel.tar.gz
    I am wondering what could be causing a file update in /var/cpanel to cause this error.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will typically notice the files in this directory if you have DNS clustering enabled. You will find temporary files used by the dnsadmin service in the "/var/cpanel/dnsrequests_db" directory. The files in this directory are purged upon expiration at which time the /var/cpanel/dnsrequests_db.last_clean_time file is updated with present date/time.

    Thank you.

Share This Page